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: Ascend Theme
In reply to: Archive Page Header Image for a Custom Post Type
June 22, 2020 at 5:43 pm #251811Just out of a desire to learn, I stumbled across the
archive-header.phpfile. I copied it to my child theme and added the below code. It did exactly what I needed it to do.if (is_post_type_archive('event')) { $src = wp_get_attachment_image_src( '1896', 'full'); $bg_position = "center 40%"; $bg_image = $src[0]; $bg_cover = "cover"; }In forum: Ascend ThemeIn reply to: Archive Page Header Image for a Custom Post Type
June 22, 2020 at 5:07 pm #251806I want to clarify that I have a file in my child theme,
archive-event.php, which is generating the events archive page. Since it is not a page that is accessible from the dashboard, I can’t assign a background image in the way you described. Can I add anything to my archive template file or functions file that can trigger overriding the default page background? Is there another way to get at it? I only want to change it for the Event CPT Archive page.In forum: Virtue ThemeHi There,
I have had ongoing issues with portfolio pages showing as 404 errors.
My developer has suggested I get in touch as he had to ammend a parent theme file to fix: themes/virtue_premium/lib/post-types.php
he added:
39 //'rewrite' => false,
40 'rewrite' => array( 'slug' => 'portfolio' ),We are using a child theme and never edit the parent theme, so hoping you can advise on this.
The site has been up for many years and we have only just started having this issue. It’s working with the fix for now.
Thanks for your help.
In forum: Virtue Themealso get this error:
“[21-Jun-2020 05:14:55 UTC] PHP Fatal error: Uncaught Error: Call to undefined function kadence_category_layout_css() in /home/XXX/public_html/wp-content/themes/virtue_premium_child/woocommerce/archive-product.php:110
Stack trace:
#0 /home/XXX/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(251): include()
#1 /home/XXX/public_html/wp-content/themes/virtue_premium/woocommerce/taxonomy-product_cat.php(20): wc_get_template(‘archive-product…’)
#2 /home/XXX/public_html/wp-content/themes/virtue_premium/base.php(17): include(‘/home/trkgdatte…’)
#3 /home/XXX/public_html/wp-includes/template-loader.php(106): include(‘/home/trkgdatte…’)
#4 /home/XXX/public_html/wp-blog-header.php(19): require_once(‘/home/trkgdatte…’)
#5 /home/XXX/public_html/index.php(17): require(‘/home/trkgdatte…’)
#6 {main}
thrown in /home/XXX/public_html/wp-content/themes/virtue_premium_child/woocommerce/archive-product.php on line 110does this have anything to do with this?
thx
In forum: Virtue ThemeHI, several of my sites crash since I moved to 7.4 (perhaps 7.3), fpm seems to play a huge role
[21-Jun-2020 12:06:30 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/XXX/public_html/wp-content/themes/virtue_premium/themeoptions/options/extensions/kad_icons/kad_icons/field_kad_icons.php on line 1
had same issue with another theme file (and yoast)
Is that only a memory limit (256MB is not enough) issue? Or something with theme also?
Thx
Dan
also: get this warning: [21-Jun-2020 12:06:30 UTC] PHP Deprecated: Function create_function() is deprecated in /home/XXXX/public_html/wp-content/themes/virtue_child/functions.php on line 16
In forum: Ascend ThemeJune 19, 2020 at 3:39 pm #251709I created a custom post type for Events. I also ended up creating a new Archive template for it (archive-event.php). Is there any way for me to be able to change the default background image in the page title area? I found an “archive-header.php” file. Is the best way for me to create a file in my child theme to override it and enter my own custom code, or is there a hook (I would prefer this method)?
In forum: Virtue ThemeIn reply to: Related products showing other gender shirts
June 17, 2020 at 10:18 pm #251603Hey,
In the case where you make templates you would have to make custom templates for men’s shirts and custom template for woman, then assign them on a product by product bases for at least all the men’s or all the womans so that if your default is the men’s template then the womans is the ones you assign.Using the code Hannah posted seems like it might be your easiest option, even without a child theme you can use a snippets plugin to add it:
https://wordpress.org/plugins/code-snippets/Another option is to hide related products and instead use the linked products where you manually assign products to show as linked, this is much more labor-intensive though.
Ben
In forum: Virtue ThemeIn reply to: Banner is no longer sticky on tablet/mobile sizes
June 17, 2020 at 9:40 am #251543Either a child theme or a codesnippet plugin: https://wordpress.org/plugins/code-snippets/
Ben
In forum: Virtue ThemeIn reply to: Banner is no longer sticky on tablet/mobile sizes
June 17, 2020 at 9:14 am #251532Yes that makes sense, thank you for the clarification! Where do you add that code? Do I need to make a child theme in order to do that?
In forum: Virtue ThemeIn reply to: Hiding categories from a tag cloud
In forum: Virtue ThemeIn reply to: Related products showing other gender shirts
In forum: Virtue ThemeIn reply to: Related products showing other gender shirts
Hey,
The related products carousel pulls from both related categories and related tags. You would need to make your tags specific for men and women if you’re wanting to keep the carousel specific. Or, if you’re using a child theme you can add a filter that would keep the carousel from reading the tags. Like this:add_filter( 'woocommerce_product_related_posts_relate_by_tag', '__return_false' );
Hope that helps!Hannah
In forum: Pinnacle ThemeTopic: custom demo image
In forum: Virtue ThemeTopic: Back to Top Button
June 13, 2020 at 6:07 pm #251233I have virtue Premium (Bold) and a child theme installed. My client asked for a back tot he top button. I have been through the settings 3 times but there are so many. Is there a back to top option? If so where is it located. If not, how can I add an option.
Website in Question: Sunshine Therapeutics
-
This topic was modified 5 years, 11 months ago by
Patrick Emmerick.
In forum: Membership ForumsIn reply to: Theme icons and css
June 11, 2020 at 10:34 am #251129Hey – good morning – and thanks for the feedback!
This answers my questions… I did see the inline svg method for your icon block. As we get used to our new workflow and learn the ins and outs of Kadence Theme + Blocks, we may find we don’t need to resort to css for font icons. (I was just setting up our default child theme and deciding what we need to include from our old custom theme.) If we run into a use case where we do, I’ll reach out with specifics. Worst case scenario, I can still use fa.
Thanks again!
In forum: Membership ForumsJune 11, 2020 at 7:29 am #251113Hi there
I’m very confused on how to work with you plugin using elementor and as a matter of face the explanations in your site is not enough.I bought the membership package and I want to use your woo extra plugin on a child theme of woocommerce storefront theme…. I’m not working with one of your themes.
Anyway, I’m building a single product page using elementor template and when I try to use the product gallery, the images are stacked instead of showing like the configuration I gave it on woo extra settingsIn forum: Virtue ThemeHey John,
The only two workarounds I can think of for this would be to either create a child theme and add the function above to your functions.php. Or else to create your tours and such as posts, rather than pages. Would either of these routes work for you?Hannah
In forum: Ascend ThemeIn reply to: staff excerpt lenght
In forum: Ascend ThemeIn reply to: Support Forum and Theme
In forum: Ascend ThemeIn reply to: Support Forum and Theme
June 4, 2020 at 4:53 pm #250777Hey sorry I meant an admin login. Can you send me admin access so I can see your settings. I may push in a little child theme for you if necessary,
Ben
-
This topic was modified 5 years, 11 months ago by
-
AuthorSearch Results


