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 'child theme'
-
AuthorSearch Results
-
In forum: Kadence Theme
Topic: Bug
FYI:
Viewport was breaking (getting bigger) on iPhones in Chrome/Safari when toggling options or filling fields on Woocommerce product and cart pages (probably checkout too). Product variations, city, zip, etc.
We added <meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no” /> to header.php but it was getting overwritten by theme. So copied the file to child and added it there. This fixed the issue, but would be good for you to fix it.In forum: Membership ForumsIn reply to: Woo Extra Global Tabs
Hello,
Thanks for reaching back to us.
The Woo Extras plugin does not have any option to disable the default WooCommerce product tabs. It can only add additional tabs for the products. If you want to remove the default product tabs, you’ll have to use a child theme and add the hook from this page on your child theme’s functions.php file.
Are you using a plugin to use product brands? I think the Brand tab is not a default WooCommerce tab, it is being added by a plugin. I would suggest getting in touch with that plugin’s support to see if there is an option to remove that on the single product pages.
Hope this helps and let us know if we can assist you further.
Best Regards,
KarlaIn forum: Kadence ThemeOctober 26, 2020 at 3:49 pm #259548Hi,
In the child theme you can download by clicking on the Example Kadence Child Theme button there is a function already written for you in the child theme functions file:/** * Enqueue child styles. */ function child_enqueue_styles() { wp_enqueue_style( 'child-theme', get_stylesheet_directory_uri() . '/style.css', array(), 100 ); } // add_action( 'wp_enqueue_scripts', 'child_enqueue_styles' ); // Remove the // from the beginning of this line if you want the child theme style.css file to load on the front end of your site.Can you tell me are you not seeing this line in the example child theme? Or are you asking for something different?
And follow up why are you using a child theme? We don’t recommend most people do as it just adds a layer of confusion.
Ben
In forum: Membership ForumsTopic: Post summary boxes same size
How do I get the post page summary boxes to be the same size? I am using Virtue Premium Child theme.
In forum: Kadence ThemeOctober 24, 2020 at 2:55 am #259428Hi Kadence Support Team,
in the meantime there are so many positive reviews about your KADENCE theme. And yet I almost threw it out of my evaluation selection, why?
After activating the child theme you offered, the style.css file was not displayed in my external CSS style editor “Stylizer”.
Only after a long search here in the support forum I did – I come across the following missing component for a child theme integration:The following entry must be made in the function.php of the child theme:
function child_theme_styles_integration() {
// enqueue child-theme styles
wp_enqueue_style( ‘kadence-child-theme[=child theme folder-name]’, get_stylesheet_directory_uri() .’/style.css’ );
}
add_action( ‘wp_enqueue_scripts’, ‘child_theme_styles_integration’, 100 );The ASTRA Theme team does the child theme job lot better here:
With their ASTRA “Child Theme Generator”, the required php function is already part of the fresh builded child theme folder with the function.php including the generated php function …Please enhance your Child-Theme documention to this very important extention!
*Login to see linkThanks & Best Regards
In forum: Virtue ThemeIn reply to: Auto generated H1 in Woo storefront
October 23, 2020 at 1:48 pm #259392Hey,
So you can use the functions file of your child theme or you can use a snippet plugin like this: https://wordpress.org/plugins/code-snippets/Add this function:
add_action('init', 'init_custom_product_loop_title_tag'); function init_custom_product_loop_title_tag() { remove_action( 'woocommerce_shop_loop_item_title', 'virtue_woocommerce_template_loop_product_title', 10 ); add_action( 'woocommerce_shop_loop_item_title', 'custom_product_loop_title_tag', 10 ); function custom_product_loop_title_tag() { echo '<h2>' . get_the_title() . '</h2>'; } }Ben
In forum: Ascend ThemeIn reply to: Weird issues when site viewed on iPhones
In forum: Virtue ThemeIn forum: Ascend ThemeIn reply to: Weird issues when site viewed on iPhones
In forum: Kadence ThemeIn reply to: Hide price and add to cart unless logged in?
Hello Darren,
Thanks for reaching out to us.
There is no built-in option to do that on Kadence theme, but the PHP snippet on this page works. Here’s a screen recording of my test – https://share.getcloudapp.com/yAulK5d1. Please make sure you add this code on a child theme and also double check if your My Account page is set on WooCommerce > Advance settings – https://share.getcloudapp.com/JrugO2jA.
Hope this helps.
Regards,
KarlaIn forum: Virtue ThemeI’ve found my problem, not sure if you can help me. Apparently this plugin DOES add their options into the order and emails, but I added some code to functions.php via a child theme to force the Category field into the order form and all the emails being generated. If I remove my child theme all is well, so clearly it’s my code that’s breaking this. Here’s what I’ve added…
function modfuel_woocommerce_before_order_add_cat($name, $item){ $product_id = $item['product_id']; $_product = wc_get_product( $product_id ); $htmlStr = ""; $cats = ""; $terms = get_the_terms( $product_id, 'product_cat' ); $count = 0; foreach ( $terms as $term) { $count++; if($count > 1){ $cats .= $term->name; } else{ $cats .= $term->name . ','; } } $cats = rtrim($cats,','); $htmlStr .= $_product->get_title(); $htmlStr .= "<p>Category: " . $cats . "</p>"; return $htmlStr; } add_filter('woocommerce_order_item_name','modfuel_woocommerce_before_order_add_cat', 10, 2); // Display order items product categories (Orders on front end and emails) add_action( 'woocommerce_order_item_meta_end', 'display_custom_data_in_emails', 10, 4 ); function display_custom_data_in_emails( $item_id, $item, $order, $bool ) { // Get the product categories for this item $terms = wp_get_post_terms( $item->get_product_id(), 'product_cat', array( 'fields' => 'names' ) ); // Output a coma separated string of product category names echo "<br><small>" . implode(', ', $terms) . "</small>"; } // Display order items product categories in admin order edit pages add_action( 'woocommerce_after_order_itemmeta', 'custom_admin_order_itemmeta', 15, 3 ); function custom_admin_order_itemmeta( $item_id, $item, $product ){ //if( ! is_admin() ) return; // only backend // Target order "line items" only to avoid errors if( $item->is_type( 'line_item' ) ){ // Get the product categories for this item $terms = wp_get_post_terms( $item->get_product_id(), 'product_cat', array( 'fields' => 'names' ) ); // Output a coma separated string of product category names echo "<br><small>" . implode(', ', $terms) . "</small>"; } }Any thoughts for allowing the 2 things to coexist?
In forum: Virtue ThemeIn reply to: Header scrolls, main menu sticky
Because Virtue Bold is a child theme of Virtue Premium most of your settings will stay the same. Just note that virtue bold does change some styling across the site (again, see the demo). If you don’t like it you can revert back and you shouldn’t have any issues. And we will certainly be here to help if you get stuck at all.
Best,
HannahIn forum: Kadence ThemeOctober 21, 2020 at 11:34 am #259225I use the Kadence Pro Theme with a child theme and Kadence Custom Fonts. Font-ttf files cannot be uploaded to WordPress without changes to wp-config.php and functions.php. Kadence Custom Fonts saves the custom font files in the local server directory uploads / month of the parent theme.
As far as I know,it is also possible to upload the font files to a font directory of the child theme on the server and to include it in the style.css of the child theme with @font-face.
My question: Does the use of Kadence Custom Fonts have any advantages over the second approach?
In forum: Kadence ThemeHello Andrew,
Thanks for reaching out to us.
There is currently no option within the Kadence theme to change this text. You’ll need to use a child theme and add a filter function to change it. Here’s the code to change the text:
function change_related_products_text( $translated ) { $translated = str_replace( 'Related products', 'You may also like...', $translated ); return $translated; } add_filter( 'gettext', 'change_related_products_text' );You can refer to this page regarding the child theme.
Hope this helps.
Best Regards,
KarlaIn forum: Virtue ThemeIn reply to: Auto generated H1 in Woo storefront
In forum: Virtue ThemeIn reply to: Header scrolls, main menu sticky
Hi Hannah
I like the way the Virtue Bold header works – but here’s a question. I’ve never actually changed themes once I started a site. I worry that if I don’t like the result after I change, reverting will still require changes and take up a load of time! I may be wrong there, but I suspect that code would be rewritten that would not revert.
However, if Virtue Bold is a child theme of Virtue Pro, and I retun to Virtue Pro, there should be no damage done – am I correct?
I notmally do use a child theme, although I’ve not bothered for this site so far so perhaps I should try that?In forum: Virtue ThemeIn reply to: Header scrolls, main menu sticky
Hey Colin,
It would require quite a bit of work for you to switch to Kadence Theme. Of course we would be happy to help you with this process if that’s the route you would like to go. Another option, and maybe a good fit for you, is to use our Virtue Bold child theme. See here: http://themes.kadencethemes.com/virtue-bold/ Do you like that look? If so I suggest installing Virtue bold! Let me know if you would like help with that.Best,
HannahIn forum: Kadence ThemeIn reply to: Some texts not translated to Polish language
October 20, 2020 at 1:04 pm #259125Hey,
I hope I can clarify.Using loco translate is the best solution. This is because it won’t slow down your site (it doesn’t run on the front end customer side) and is update proof (you won’t lose your translation after you update) and uses the built-in translation functions that run WordPress already.
You can manually edit files in the theme or other plugins but that would be a very bad decision as those would revert back with the next update.
You can manually create .po files and compile them to .mo files and then manually register the files through a child theme but that is much more complicated and will not be in any way a better solution than using loco translate.
I hope that helps,
BenIn forum: Ascend ThemeHi Support
I’ve built half a dozen sites now with Ascend. Usually when I start a new build, I’ll take a copy of the last site we built and use that as a basis for the new site. The way I do this is upload the site files and database to the new site host, change the admin login details, site and home URL’s and bingo, we’re good to go.
I’ve encountered what seems to be a javascript conflict issue with the site I’m about to build in this way. The database is quite big at this point and we’re using a dozen or so plugins as standard, so I’ve stripped everything down to a basic fresh WP install with nothing additional other than the Ascend theme (we use a child theme normally, but I’ve not even installed this). I’m still experiencing the issue. In the admin area, if I go to the ‘pages’ or ‘posts’ section, I can click the checkbox at the top of the list of pages/posts and it automatically selects all articles listed. As soon as I activate Ascend theme, this functionality no longer works. On the front end, I’ve created a simple primary nav menu. If you reduce the page size down until the mobile hamburger menu appears, the menu no longer opens on click whilst Ascend is activated.
Wordpress and Ascend are updated to the latest versions as far as I know.
Login details to follow below:
In forum: Virtue ThemeIn reply to: Related product carousel
-
AuthorSearch Results


