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'

Home / Forums / Search / Search Results for 'child theme'

Viewing 20 results - 441 through 460 (of 6,404 total)
  • Author
    Search Results
  • #264065

    I am developing this site: http://www.brucarlocksmith.com and would like to change the logo in the header to be “click-to-call” (i.e. <a href=”tel: ….”), instead of the default link back to the home page. The site is a child of the Kadence theme. Can I do this, and if so, how?

    #264042

    Hello Chris,

    Thank you for giving us credentials.

    I went ahead and logged in to your website to check WooCommerce > Status > Templates if you have any email template override within your theme and I saw this – https://share.getcloudapp.com/yAu6BJEY. The Virtue Premium theme does not override email templates, did you by any chance added this? Please note that if you have to add custom templates, you have to use a child theme as any changes you do directly to the theme will be lost once an update is done.

    Kindly delete or rename the email template override and see if that will fix your Email Customizer preview.

    Hope this helps.

    Regards,
    Karla

    #264040

    Hello,

    You’ve asked, “do i have to do something with the child theme also or only update the parent?”.
    If you don’t have any custom PHP code that will affect this, you just have to update the parent theme.

    Kind Regards,
    Karla

    In forum: Kadence Blocks
    #264036

    Hi All,

    I had a situation where I needed to remove the links from the titles of the post grid.

    I was wondering if there is a better way to achieve this? Perhaps using a filter?

    What I did was remove the original action and create my own action. I put this in the functions.php of the child theme.

    add_action( 'wp_head', 'remove_my_action' );
    function remove_my_action() {
    	remove_action( 'kadence_blocks_post_loop_header', 'kt_blocks_pro_get_post_title', 20 );
    }
    
    add_action( 'kadence_blocks_post_loop_header', 'oc_blocks_pro_get_post_title' );
    function oc_blocks_pro_get_post_title( $attributes ) {
    	if ( isset( $attributes['displayTitle'] ) && true === $attributes['displayTitle'] ) {
    		echo ( isset( $attributes['titleFont'] ) && isset( $attributes['titleFont'][0] ) && isset( $attributes['titleFont'][0]['level'] ) && ! empty( $attributes['titleFont'][0]['level'] ) ? '<h' . esc_attr( $attributes['titleFont'][0]['level'] ) . ' class="entry-title">' : '<h2 class="entry-title">' );
    			the_title();
    		echo ( isset( $attributes['titleFont'] ) && isset( $attributes['titleFont'][0] ) && isset( $attributes['titleFont'][0]['level'] ) && ! empty( $attributes['titleFont'][0]['level'] ) ? '</h' . esc_attr( $attributes['titleFont'][0]['level'] ) . '>' : '</h2>' );
    	}
    }
    #264005

    Hi guys, i want to change the accordion pane title from a H5 to a H2 tag, which file is this stored in so i can copy it to my child theme

    #263978

    Hello Ben

    Thank you for your fonctions, but in case i remove only the swap rule, how can i add another font-display rule? By css thrue the style.css of the child theme? Is there a filter to add font display rule as i want?

    Thks

    #263977

    Hello Ben

    Thank you for your fonctions, but in case i remove only the swap rule, how can i add another font-display rule? By css thrue the style.css of the child theme?

    Thks

    #263911

    i have updated the parent theme yesterday
    Tried validating the fix in search console but seems it will take to them some days to check

    its wired the Date first detected: 1/2/21 Status: Error

    So the problem has been detected only in february this year
    do i have to do something with the child theme also or only update the parent?

    • This reply was modified 5 years, 2 months ago by ponponikids.
    • This reply was modified 5 years, 2 months ago by ponponikids.
    • This reply was modified 5 years, 2 months ago by ponponikids.
    #263910

    hi!thank you if i hve a child theme only updating the parent theme will fix the problem?
    after updating how can i check if it has been fixed?
    tank you

    #263883

    Hello Ben,
    Thanks for your answer!
    I would like to add my custom file called date-du-concert with the texte “Concert du” before.
    here is my line 529

    this code works, but when it’s in the child theme (child>….>lib>widget.php) this php page isn’t used by wp…
    Thanks!

    Capture-d-cran-2021-02-25-14-14-36

    #263880

    i see the email is from 21/1 but just now i have seen the problem and started to affect me i am usinf child theme so how do i update that?

    #263843

    Hello Ben,

    I come back because i have still CLS issue using a google font due to the swap between system font and google font.

    Is it possible to add (in child css theme) the property “font-display: optional” when calling the font?

    Have a look here section 2 : https://simonhearne.com/2021/layout-shifts-webfonts/#why-fonts-cause-layout-shifts

    This situation create lots of CLS

    Cheers

    • This reply was modified 5 years, 2 months ago by rgueron.
    #263804

    Hello Hannah,
    Thanks for your answer! no problem.
    I want to add in lib/widgets.php a text before the php element.
    It works in the correction of the parent theme, but not in the child…

    Thanks for your help
    Regards
    Fab

    • This reply was modified 5 years, 2 months ago by HB-Fab.
    #263718

    Hello Everybody,

    I’m using Virtue as a child theme. I changed a couple of pages within the child theme process, everything is perfect!
    But I can’t modify the file widgets.php. it’s located in /lib/widgets.php.
    It appears that the child subfolder “lib” doesn’t override the parent subfolder.
    Is there any idea to make a correction in this php?
    Any add_action to add to the function file?

    Thanks for your help!

    #263592

    Hi,
    the built in selectors just aloud me to choose a single voice of the selected taxonomy but that’s not what I need.

    I want to show all the taxonomies but, in the filter selectors, displaying only the “parent” voices in the tree, and not the “child” categories titles.

    I’ve found on another tread, talking about virtue theme, somebody suggesting a third party plugin to display posts with a filter (probably a “pre blocks” post).
    That plugin works with shortcodes and has an option to exclude child categories, this way:
    <strong>include_cat_child :</strong> [pgaf_post_grid include_cat_child=”false”] (Include cat child or not. Values are “true” or “false”).

    Is it possible to obtain that kind of customization with some code snippet?

    Thank you

    Mone

    #263549

    Ok, It’s important to note this for other readers and hopefully we can prevent this confusion in the future. You are posting in the Kadence Theme forums. That is for our Theme called Kadence.

    But it sounds like you are instead using the Virtue Premium Theme.

    This is a really important distinction when asking for support, if in the future you could make sure you are posting in the correct forum that would be very very helpful 🙂

    The blog_grid shortcode in Virtue Premium won’t output through the post-class filter and so there isn’t an option to add a class to the containing element that way.

    You would need to use a child theme to override the templates/content-fourgrid.php

    Where you see

    class="blog_item kt_item_fade_in kad_blog_fade_in grid_item<?php echo ( 'text' === $postsummery ? ' kt-no-post-summary' : '' ); ?>"

    replace with

    <?php post_class( 'blog_item kt_item_fade_in kad_blog_fade_in grid_item' . ( 'text' === $postsummery ? ' kt-no-post-summary' : '' ) . ); ?>

    Ben

    #263492

    Hello Thomas,

    Thank you for reaching out to us.

    WooCommerce’s default function is to show upsells on single product pages and cross-sells on the cart page. To achieve the customization you want, you’ll need to either:

    Hope this helps and let us know if we can assist you further.

    Regards,
    Karla

    #263478

    Hey,
    You don’t need a child theme, see here: https://kadence-theme.com/knowledge-base/advanced/what-is-a-child-theme-should-i-install-one-if-so-how/

    It’s safe to update.

    However, as a general rule you should always have good backups 🙂

    Ben

    #263475

    Sorry for the noob ?
    Is it safe to update my theme without a staging environment?
    I exclusively use the appearance-customize section if I want to change anything and use some additional css and I also use code snippets…
    What risk is there is updating?
    I’ve read the whole parent/child theme thing and am a bit confused..
    Thank you!

    #263363

    Hi, I really like the Kadence Blocks drag controls to increase padding and change column widths.

    But how do I disable this for my clients? I want to protect the slightly more ‘hands-on’ clients from making a complete mess of their websites.

    Am I missing a setting somewhere, or can I add a script in a child theme to accomplish this?

    Ideally I would want to remove the drag functionality for editor roles and down.

    Any help would be much appreciated.

    • This topic was modified 5 years, 3 months ago by Ray Dale.
Viewing 20 results - 441 through 460 (of 6,404 total)