Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle
Search Results for 'site'
-
AuthorSearch Results
-
In forum: Virtue Theme
In reply to: Problem with Revolution Slider Update
In forum: Virtue ThemeIn reply to: shop has gone from mobile
Hi Guys,
My current permalink setting is post name (http://sandusa.net/sample-post/).
Im am concerned about changing the permalink setting destroying my SEO – won’t this impact all incoming links to the site?
cheers,
Baz
In forum: Virtue ThemeWP-Super cache does not come with the theme. We actually don’t even recommend it. When it comes to caching sites I would suggest W3 Total Cache or WP-Rocket.
So you need to actually turn the caching off. Go into the plugin settings and turn off caching, then deactivate.
Hope that helps!Hannah
In forum: Virtue ThemeIn reply to: Horizontal display for Topbar navigation
That’s what I figured, so I’m also figuring I’m doing something wrong! Other than working on a project while I’m on vacation that is.
The site is HERE.
This is the only custom CSS I’m using:
.page-header {
display:none;
}
.footercredits {
height: 25px;
padding-top: 0;
padding-bottom: 15;
}
[class*=wp-image] {
padding: 0px;
}
.contentclass {
padding-bottom: 5px;
}In forum: Virtue ThemeIn forum: Virtue ThemeI deactivated the plugins and that fixed the issue of the logo not displaying. I then reactivated the plugins one by one and all seemed to be fine. But when I started making other theme option changes, none of them were flowing through again (for example, I tried centering the logo and changing to a boxed layout). So I’ve deactivated the plugins again, and changes are still not flowing through to the site.
Thanks in advance for your help!
-RebeccaIn forum: Virtue ThemeHi there,
I just installed Virtue Premium on a brand new website. The changes I’m making on the Theme Options pages act as if they are saving (I can see them on the options pages), but they don’t flow through to the actual website. For example, I added a logo and it doesn’t display on the site. However, when I click on the “customize” option, it does. Strange…?
(I’m running 4.3.1 version of WordPress and just upgraded to the latest version of Virtue Premium.)
Thanks in advance for your help,
-RebeccaIn forum: Virtue ThemeIn reply to: Blog layout on Kadencethemes.com
September 21, 2015 at 11:41 am #59396“downsizing does not matter”
It does matter. It’s just about how much your doing and why. The large mobile (iphone 6 type) is something that comes into account when setting a size for a responsive site.Ben
In forum: Virtue ThemeIn reply to: Color visited link option?
September 21, 2015 at 11:05 am #59385There isn’t under the theme options but you can add this css in your theme options > advanced settings:
a:visited { color: blue; }Ben
In forum: Virtue ThemeSeptember 21, 2015 at 10:42 am #59377Hey,
1. The banner is part of the header. You can’t really separate. You can add an image into the top of your pages. Or I supposed if you turned off the sticky header in your options you can use this css:@media (min-width: 992px){ #kad-banner > .container { position:fixed; top:0; z-index:1000; padding: 0; background-color: #000; } #kad-banner > .container.virtue_sitewide_banner { position: static; background-color: transparent; padding: 0; } }2. Your image is only 1500px wide? You would need to upload a wider image if you want it to be full width on screens larger then 1500px.
BenIn forum: Virtue ThemeWeb site
IllustrationI manufacture 5 different but closely related product lines. In the illustration linked above, 2 fields of my product page are represented: SKU and Stock. The last character of SKU is a letter that represents one of those 5 product lines. When I add a new product page, I duplicate an existing product from the same product line of the new one, change the few details including images that differentiate one from another, and publish. Each product has 4 variations, but I only maintain an inventory count for one of those variations which ought to be reflected in the Stock field. With the exception of only a very few discontinued products, product variations are designated “in stock” with notification sent when something ordered is back ordered.
One product line, “n”, always behaves as expected in regard to how inventory count is reported on the product page. The other 4 never do. That suggests to me that I got something correct when I made the first n product page that I didn’t get right with the other 4 product lines, but despite weeks of intermittent trying, even with someone else comparing detail for detail with me, I haven’t found what whatever it is. Here are the differences:
Only n products display a red “Sold” on the portfolio images that are out of stock. (I currently have this option disabled, but included this symptom since I noticed it, and it may help pinpoint whatever I’ve done incorrectly)
Only n products display “Out of stock” in red followed by inventory count “x 0”. (desirable)
Only n products display “In stock in green followed by inventory count “x __”. (desirable)
All non-n products only display “In stock” in green with no accompanying inventory count. (undesirable)In forum: Virtue ThemeIn reply to: Validation and CSS errors and warnings
September 21, 2015 at 9:28 am #59361Hey Mark,
Thanks for the post. Let me start with SEO… “validator.w3.org” has no bearing on your SEO. It is a tool and only a tool. Google, Yahoo whatever don’t validate sites because there are many many reasons to have code that is not considered “valid” by a validator but is needed for cross browser and old browser support. So for example here is a “validator” score for amazon.https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.amazon.com%2F
You will notice plenty of errors. As a developer the “errors” showing on your site do not effect speed, SEO or site performance in any way and in most cases they are “errors” to validator but not actual errors. They are there for a reason.
So just to be helpful we’ll go through a couple errors if you have a particular one you are wanting to understand let me know. First one is about “A charset attribute on a meta element found after the first 512 bytes.”
That “error” is saying that the charset attribute is coming later then the validator wants the reason it is coming later is due to total cache minifying the css and outputting it on the top of your head tag. If you care (I wouldn’t) you can go into the total cache plugin settings and change how the minify works and where it outputs.
The second error with your = sign. That is coming from the revolution slider output for the google font, validator is suggesting it’s incorrect but in fact it’s fine and not an issue because it is surrounded by quotes the scanner is just not picking it up. But since we are talking about the revslider you should update that plugin. Appearance > theme recommended plugins.
Ben
In forum: Virtue ThemeIn reply to: Custom Font throughout website
September 21, 2015 at 9:04 am #59356h1,h2,h3,h4,h5,h6,p, body, header #logo a.brand, .logofont{ font-family: 'customfontfamily', sans-serif !important; }There is the css once you load the font on your site.
Ben
In forum: Virtue ThemeTopic: Color visited link option?
In forum: Virtue ThemeTopic: Virtue premium update
Hi,
I did the last update of the Virtue Premium theme.
I have a problem with the custom tabs in the page products.
In the old version I modified the tabs and added custom tabs with the follow code in the custom-woocommerce.php file, but with the last this code doesn’t work.
How I can reintegrate it and restore the old custom tabs?
Thank you
Francesco// Change the tab title
add_filter( 'woocommerce_product_tabs', 'kad_woo_rename_tabs', 98 );
function kad_woo_rename_tabs( $tabs ) {
global $virtue_premium;
if(!empty($virtue_premium['description_tab_text']) && !empty($tabs['description']['title'])) {$tabs['description']['title'] = $virtue_premium['description_tab_text'];}
if(!empty($virtue_premium['additional_information_tab_text']) && !empty($tabs['additional_information']['title'])) {$tabs['additional_information']['title'] = $virtue_premium['additional_information_tab_text'];}
if(!empty($virtue_premium['reviews_tab_text']) && !empty($tabs['reviews']['title'])) {$tabs['reviews']['title'] = $virtue_premium['reviews_tab_text'];}return $tabs;
}
// Change the tab description heading
add_filter( 'woocommerce_product_description_heading', 'kad_description_tab_heading', 10, 1 );
function kad_description_tab_heading( $title ) {
global $virtue_premium;
if(!empty($virtue_premium['description_header_text'])) {$title = $virtue_premium['description_header_text'];}
return $title;
}
// Change the tab aditional info heading
add_filter( 'woocommerce_product_additional_information_heading', 'kad_additional_information_tab_heading', 10, 1 );
function kad_additional_information_tab_heading( $title ) {
global $virtue_premium;
if(!empty($virtue_premium['additional_information_header_text'])) {$title = $virtue_premium['additional_information_header_text'];}
return $title;
}add_filter( 'woocommerce_product_tabs', 'kad_woo_reorder_tabs', 98 );
function kad_woo_reorder_tabs( $tabs ) {
global $virtue_premium;
if(isset($virtue_premium['ptab_description'])) {$dpriority = $virtue_premium['ptab_description'];} else {$dpriority = 10;}
if(isset($virtue_premium['ptab_additional'])) {$apriority = $virtue_premium['ptab_additional'];} else {$apriority = 20;}
if(isset($virtue_premium['ptab_reviews'])) {$rpriority = $virtue_premium['ptab_reviews'];} else {$rpriority = 30;}
if(isset($virtue_premium['ptab_video'])) {$vpriority = $virtue_premium['ptab_video'];} else {$vpriority = 40;}if(!empty($tabs['description'])) $tabs['description']['priority'] = $dpriority; // Description
if(!empty($tabs['additional_information'])) $tabs['additional_information']['priority'] = $apriority; // Additional information
if(!empty($tabs['reviews'])) $tabs['reviews']['priority'] = $rpriority; // Reviews
if(!empty($tabs['video_tab'])) $tabs['video_tab']['priority'] = $vpriority; // Video secondreturn $tabs;
}/**
* Custom Tabs for Product Display. Compatible with WooCommerce 2.0+ only!
*
* Outputs an extra tab to the default set of info tabs on the single product page.
* This file needs to be called via your functions.php file.
*/function custom_tab_options_tab() {
?>
<li class="custom_tab"><a href="#custom_tab_data"><?php _e('Warning Tab', 'woothemes'); ?></a></li>
<?php
}
add_action('woocommerce_product_write_panel_tabs', 'custom_tab_options_tab');/**
* Custom Tab Options
*
* Provides the input fields and add/remove buttons for custom tabs on the single product page.
*/
function custom_tab_options() {
global $post;$custom_tab_options = array(
'title' => get_post_meta($post->ID, 'custom_tab_title', true),
'content' => get_post_meta($post->ID, 'custom_tab_content', true),
);?>
<div id="custom_tab_data" class="panel woocommerce_options_panel">
<div class="options_group">
<p class="form-field">
<?php woocommerce_wp_checkbox( array( 'id' => 'custom_tab_enabled', 'label' => __('Enable Custom Tab?', 'woothemes'), 'description' => __('Enable this option to enable the custom tab on the frontend.', 'woothemes') ) ); ?>
</p>
</div><div class="options_group custom_tab_options">
<p class="form-field">
<label><?php _e('Custom Tab Title:', 'woothemes'); ?></label>
<input type="text" size="5" name="custom_tab_title" value="<?php echo @$custom_tab_options['title']; ?>" placeholder="<?php _e('Enter your custom tab title', 'woothemes'); ?>" />
</p><p class="form-field">
<?php _e('Custom Tab Content:', 'woothemes'); ?>
</p><table class="form-table">
<tr>
<td>
<textarea class="theEditor" rows="10" cols="40" name="custom_tab_content" placeholder="<?php _e('Enter your custom tab content', 'woothemes'); ?>"><?php echo @$custom_tab_options['content']; ?></textarea>
</td>
</tr>
</table>
</div>
</div>
<?php
}
add_action('woocommerce_product_write_panels', 'custom_tab_options');/**
* Process meta
*
* Processes the custom tab options when a post is saved
*/
function process_product_meta_custom_tab( $post_id ) {
update_post_meta( $post_id, 'custom_tab_enabled', ( isset($_POST['custom_tab_enabled']) && $_POST['custom_tab_enabled'] ) ? 'yes' : 'no' );
update_post_meta( $post_id, 'custom_tab_title', $_POST['custom_tab_title']);
update_post_meta( $post_id, 'custom_tab_content', $_POST['custom_tab_content']);
}
add_action('woocommerce_process_product_meta', 'process_product_meta_custom_tab', 10, 2);/**
* Display Tab
*
* Display Custom Tab on Frontend of Website for WooCommerce 2.0
*/add_filter( 'woocommerce_product_tabs', 'woocommerce_product_custom_tab' );
function woocommerce_product_custom_tab( $tabs ) {
global $post, $product;$custom_tab_options = array(
'enabled' => get_post_meta($post->ID, 'custom_tab_enabled', true),
'title' => get_post_meta($post->ID, 'custom_tab_title', true),
'content' => get_post_meta($post->ID, 'custom_tab_content', true),
);if ( $custom_tab_options['enabled'] != 'no' ){
$tabs['custom-tab-first'] = array(
'title' => $custom_tab_options['title'],
'priority' => 15,
'callback' => 'custom_product_tabs_panel_content',
'content' => $custom_tab_options['content']
);
}return $tabs;
}/**
* Render the custom product tab panel content for the callback 'custom_product_tabs_panel_content'
*/
function custom_product_tabs_panel_content( $key, $custom_tab_options ) {
echo '<h3>' . $custom_tab_options['title'] . '</h3>';
echo $custom_tab_options['content'];}
/**
* Custom Tabs for Custom Specifications Display. Compatible with WooCommerce 2.0+ only!
* This version uses the code editor.
*
* Outputs an extra tab to the default set of info tabs on the single product page.
* This file needs to be called via your functions.php file.
*/
function custom_tab_options_tab_spec() {
?>
<li class="custom_tab3"><a href="#custom_tab_data3"><?php _e('FAQ Tab', 'woothemes'); ?></a></li>
<?php
}
add_action('woocommerce_product_write_panel_tabs', 'custom_tab_options_tab_spec');/**
* Custom Tab Options
*
* Provides the input fields and add/remove buttons for custom tabs on the single product page.
*/
function custom_tab_options_spec() {
global $post;$custom_tab_options_spec = array(
'titlec' => get_post_meta($post->ID, 'custom_tab_title_spec', true),
'contentc' => get_post_meta($post->ID, 'custom_tab_content_spec', true),
);?>
<div id="custom_tab_data3" class="panel woocommerce_options_panel">
<div class="options_group">
<p class="form-field">
<?php woocommerce_wp_checkbox( array( 'id' => 'custom_tab_enabled_spec', 'label' => __('Enable Custom Tab?', 'woothemes'), 'description' => __('Enable this option to enable the custom tab on the frontend.', 'woothemes') ) ); ?>
</p>
</div><div class="options_group custom_tab_options">
<p class="form-field">
<label><?php _e('Custom Tab Title:', 'woothemes'); ?></label>
<input type="text" size="5" name="custom_tab_title_spec" value="<?php echo @$custom_tab_options_spec['titlec']; ?>" placeholder="<?php _e('Enter your custom tab title', 'woothemes'); ?>" />
</p><p class="form-field">
<?php _e('Custom Tab Content:', 'woothemes'); ?>
</p><table class="form-table">
<tr>
<td>
<?php
$settings = array(
'text_area_name'=> 'custom_tab_content_spec',
'quicktags' => true,
'tinymce' => true,
'media_butons' => false,
'textarea_rows' => 98,
'editor_class' => 'contra',
'editor_css' => '<style>#wp-custom_tab_content_spec-editor-container .wp-editor-area{height:250px; width:100%;} #custom_tab_data3 .quicktags-toolbar input {width:auto;}</style>'
);$id = 'custom_tab_content_spec';
wp_editor($custom_tab_options_spec['contentc'],$id,$settings);
?>
</td>
</tr>
</table>
</div>
</div>
<?php
}
add_action('woocommerce_product_write_panels', 'custom_tab_options_spec');/**
* Process meta
*
* Processes the custom tab options when a post is saved
*/
function process_product_meta_custom_tab_spec( $post_id ) {
update_post_meta( $post_id, 'custom_tab_enabled_spec', ( isset($_POST['custom_tab_enabled_spec']) && $_POST['custom_tab_enabled_spec'] ) ? 'yes' : 'no' );
update_post_meta( $post_id, 'custom_tab_title_spec', $_POST['custom_tab_title_spec']);
update_post_meta( $post_id, 'custom_tab_content_spec', $_POST['custom_tab_content_spec']);
}
add_action('woocommerce_process_product_meta', 'process_product_meta_custom_tab_spec', 10, 2);/**
* Display Tab
*
* Display Custom Tab on Frontend of Website for WooCommerce 2.0
*/add_filter( 'woocommerce_product_tabs', 'woocommerce_product_custom_tab_spec' );
function woocommerce_product_custom_tab_spec( $tabs ) {
global $post, $product;$custom_tab_options_spec = array(
'enabled' => get_post_meta($post->ID, 'custom_tab_enabled_spec', true),
'titlec' => get_post_meta($post->ID, 'custom_tab_title_spec', true),
'contentc' => get_post_meta($post->ID, 'custom_tab_content_spec', true),
);if ( $custom_tab_options_spec['enabled'] != 'no' ){
$tabs['custom-tab-second'] = array(
'title' => $custom_tab_options_spec['titlec'],
'priority' => 5,
'callback' => 'custom_product_tabs_panel_content_spec',
'content' => $custom_tab_options_spec['contentc']
);
}
return $tabs;
}/**
* Render the custom product tab panel content for the callback 'custom_product_tabs_panel_content_spec'
*/function custom_product_tabs_panel_content_spec( $key, $custom_tab_options_spec ) {
global $post, $product;
$custom_tab_options_spec = array(
'enabled' => get_post_meta($post->ID, 'custom_tab_enabled_spec', true),
'titlec' => get_post_meta($post->ID, 'custom_tab_title_spec', true),
'contentc' => get_post_meta($post->ID, 'custom_tab_content_spec', true),
);echo '<h3>' . $custom_tab_options_spec['titlec'] . '</h3>';
echo $custom_tab_options_spec['contentc'];}
/**
* Custom Tabs for Downloads Display from Download Monitor Plugin by Mike Jolley. Compatible with WooCommerce 2.0+ only!
*
* Outputs an extra tab to the default set of info tabs on the single product page.
* This file needs to be called via your functions.php file.*/
function custom_tab_options_tab_down() {
?>
<li class="custom_tab2"><a href="#custom_tab_data2"><?php _e('Download Tab', 'woothemes'); ?></a></li>
<?php
}
add_action('woocommerce_product_write_panel_tabs', 'custom_tab_options_tab_down');/**
* Custom Tab Options
*
* Provides the input fields and add/remove buttons for custom tabs on the single product page.
*/
function custom_tab_options_down() {
global $post;$custom_tab_options_down = array(
'titleb' => get_post_meta($post->ID, 'custom_tab_title_down', true),
'contentb' => get_post_meta($post->ID, 'custom_tab_content_down', true),
);?>
<div id="custom_tab_data2" class="panel woocommerce_options_panel">
<div class="options_group">
<p class="form-field">
<?php woocommerce_wp_checkbox( array( 'id' => 'custom_tab_enabled_down', 'label' => __('Enable Custom Tab?', 'woothemes'), 'description' => __('Enable this option to enable the custom tab on the frontend.', 'woothemes') ) ); ?>
</p>
</div><div class="options_group custom_tab_options">
<p class="form-field">
<label><?php _e('Custom Tab Title:', 'woothemes'); ?></label>
<input type="text" size="5" name="custom_tab_title_down" value="<?php echo @$custom_tab_options_down['titleb']; ?>" placeholder="<?php _e('Enter your custom tab title', 'woothemes'); ?>" />
</p><p class="form-field">
<?php _e('Custom Tab Content:', 'woothemes'); ?>
</p><table class="form-table">
<tr>
<td>
<textarea class="theEditor" rows="10" cols="40" name="custom_tab_content_down" placeholder="<?php _e('Enter your custom tab content', 'woothemes'); ?>"><?php echo @$custom_tab_options_down['contentb']; ?></textarea>
</td>
</tr>
</table>
</div>
</div>
<?php
}
add_action('woocommerce_product_write_panels', 'custom_tab_options_down');/**
* Process meta
*
* Processes the custom tab options when a post is saved
*/
function process_product_meta_custom_tab_down( $post_id ) {
update_post_meta( $post_id, 'custom_tab_enabled_down', ( isset($_POST['custom_tab_enabled_down']) && $_POST['custom_tab_enabled_down'] ) ? 'yes' : 'no' );
update_post_meta( $post_id, 'custom_tab_title_down', $_POST['custom_tab_title_down']);
update_post_meta( $post_id, 'custom_tab_content_down', $_POST['custom_tab_content_down']);
}
add_action('woocommerce_process_product_meta', 'process_product_meta_custom_tab_down', 10, 2);/**
* Display Tab
*
* Display Custom Tab on Frontend of Website for WooCommerce 2.0
*/add_filter( 'woocommerce_product_tabs', 'woocommerce_product_custom_tab_down' );
function woocommerce_product_custom_tab_down( $tabs ) {
global $post, $product;$custom_tab_options_down = array(
'enabled' => get_post_meta($post->ID, 'custom_tab_enabled_down', true),
'titleb' => get_post_meta($post->ID, 'custom_tab_title_down', true),
'contentb' => get_post_meta($post->ID, 'custom_tab_content_down', true),
);if ( $custom_tab_options_down['enabled'] != 'no' ){
$tabs['custom-tab-third'] = array(
'title' => $custom_tab_options_down['titleb'],
'id' => 'test_multicheckbox',
'priority' => 20,
'callback' => 'custom_product_tabs_panel_content_down',
'content' => $custom_tab_options_down['contentb']
);
}return $tabs;
}/**
* Render the custom product tab panel content for the callback 'custom_product_tabs_panel_content_down'
*/
function custom_product_tabs_panel_content_down( $key, $custom_tab_options_down ) {
global $post, $product;$custom_tab_options_down = array(
'enabled' => get_post_meta($post->ID, 'custom_tab_enabled_down', true),
'titleb' => get_post_meta($post->ID, 'custom_tab_title_down', true),
'contentb' => get_post_meta($post->ID, 'custom_tab_content_down', true),
);$downloads = get_post_meta($post->ID, 'custom_tab_content_down', true);
$nsoutput = do_shortcode( $downloads ) ;echo '<h3>' . $custom_tab_options_down['titleb'] . '</h3>';
print $nsoutput;
}/**
* Renaming the tabs
*/add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );
function woo_rename_tabs( $tabs ) {$tabs['description']['title'] = __( 'Other Information' ); // Rename the description tab
$tabs['reviews']['title'] = __( 'Reviews' ); // Rename the reviews tab
$tabs['additional_information']['title'] = __( 'Specifications' ); // Rename the additional information tab
return $tabs;}
/**
* Reordering the tabs
*/add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 );
function woo_reorder_tabs( $tabs ) {$tabs['reviews']['priority'] = 30; // Reviews
$tabs['description']['priority'] = 25; // FAQ
$tabs['additional_information']['priority'] = 10; // Specifications
return $tabs;
}add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs['reviews'] ); // Remove the reviews tab
return $tabs;
}
In forum: Virtue ThemeTopic: shop has gone from mobile
Hi Guys,
on my website – http://www.sandusa.net i can no longer access the shop page on mobile or iPad? I get a error 404 message.
Im not sure why this has happened but recently i have been trying to get price based by country to work.
Any Ideas?
cheers,
Baz
In forum: Virtue ThemeI’m going to add another related question here if that’s okay Ben:
I’ve got a search box on my site to be able to find specific products or posts. Now, when the search results pop up, the entire short description on the products shows up and the shortcode for the embedded videos also shows. How can I make those search results show the exact same snippets that are shown on the archive results that we added?
Thanks,
DavidIn forum: Virtue ThemeTopic: NOT FOUND & 404 ERRORS
Hi Ben – Hannah,
When I tried to update the Calendar in http://www.vcc-wellswark.org.nz I got a “Not Found” and 404 error message, though I had done it before without problem.
Now only the home page of the site displays and all other five pages display the same message.I tried Settings > Permalinks but that did not work.I got two identical messages from WordPress like this below, both timed 6.27 and each with its own zipped backup attachment. They had different reference numbers but I can’t open them and don’t know how to apply them: can you help please?
“Attached is the backup file for the database powering *Login to see link taken Friday, September 18th, 2015 at 6:27 pm”
Regards,
ChrisIn forum: Virtue ThemeIn forum: Virtue ThemeHello,
1. How can I remove the sticky function for my site wide banner? I want to keep only my header sticky, not the banner.
2. How do I increase the size of the banner to fit the width of the screen? At present its taking on the width of the page . I tried using the codes given to other members, but its not helping me.Thanking you in anticipation.
-
AuthorSearch Results


