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 - 401 through 420 (of 6,404 total)
  • Author
    Search Results
  • #266576

    Hi Team,

    I want to Loop the portfolio navigation. The first element hasn’t the “previous” link and the last element has no “next” link.
    The first item should link to the last item as well. I want to loop ALL portfolio elements, not just the categories. I use the menu_order for the portfolio elements.

    I set up a child theme and may need some code.

    Thanks a lot!
    Thomas

    #266520

    Thanks BEn.

    I have another question. Am I right that the Child Theme Builder doesn’t include the custom Icons into the Child Theme/ Dmeo Import? Could you add that? Otherwise I must include it manually and explain how to install custom icons.

    Best,
    Tobias

    #266501

    Hi,

    I installed the Kadence Theme and it was working fine. However when I activated the Child Theme, the category is not showing in the Breadcrumb.

    Anonymous
    #266480

    Hello,

    Trouble with functios.php again. Whenever I write code in child theme functions.php it goes through but then If I go and delete what I wrote, it won’t change the previous actions. Like it accepts adding code but not removing it. I disabled caching plugins and purged all cache but still the edits remain even after deleting them fron the .php file.

    This time its the post format function that got stuck. I wanted to check it out on kadence as this theme doesn’t support it natively , therefore I added a function for post format to appear and it did in Posts so I could now choose and experiment with post formats. Now I wanted to remove it and I went ahead and just removed what I previously wrote and refresh the page and the post format box is still there and won’t delete. I changed to regular parent theme and there , also, the post format is in place. I check to erase with new code in functions.php [parent] and It did.

    I typed this into my regular parent kadence theme [ not the child theme ] ”add_action( ‘init’, ‘remove_post_format’);

    function remove_post_format() {
    remove_theme_support( ‘post-formats’ );
    }”

    And it removed the post format, I went ahead and deleted it again and it brings it back. So natively kadence theme doesn’t support post format, how come it now only removes it by adding code. I don’t want to use this code in order to have it removed, because before I added the functions in child theme to have post formats there weren’t any by default. I want the default setting back without using code.
    I want to continue using child themes but everytime I make a change to functions.php it is like permanent.
    Last time I went ahead and removed the // to accept style.css from child theme , It worked for one edit and then the communication stopped. And its not the cache as I told you I removed the caching plugin.

    So there must be something above functions.php that locks in the edits I make and wont erase them just by deleting code in functions.php.

    Anonymous
    #266479

    I typed this into my regular kadence theme [ not the child theme ] ”add_action( ‘init’, ‘remove_post_format’);

    function remove_post_format() {
    remove_theme_support( ‘post-formats’ );
    }”

    And it removed the post format, I went ahead and deleted it again and it brings it back. So natively kadence theme doesn’t support post format, how come it now only removes it by adding code. I don’t want to use this code in order to have it removed, because before I added the functions in child theme to have post formats there weren’t any by default. I want the default setting back without using code.

    Anonymous
    #266478

    So , I went ahead and changed from child theme to regular kadence theme. Went to Posts and the posts format option box is also there…

    Anonymous
    #266477

    Hi Karla,

    I am using litespeed cache but that has probably nothing to do with it because I Purge All and also deactivated the plugin and whenever I changed something in functions.php of my child theme the change would take place but would no be possible to revert. For example I did the huge mistake to mess with functions.php again about post formats ,I added the theme support action to call post formats , the post formats show on the post now but I wanted them to be gone , so I just went back to functions.php , deleted the previous function I called and guess , the post formats options box is still there. I am not willing to let anyone in my website, I have found all solutions to problems by searching. What are the possible solutions to that because I cannot waste days for this little things. It should be straight forward , you add, you remove. Why does it only listen to add and not remove/ There must be something happening in the backend. It gets written somewhere else that has more authority than child themes functions.php.
    Maybe in the php databse but I cannot find it. The sure thing is that I am not going to touch functions.php of childtheme again as this is extremely buggy.

    Anonymous
    #266438

    Hello guys,

    I am working on the kadence child theme which I imported from the kadence website. I have gone and removed the // from the child theme functions php

    What happened is that the first time I went ahead and tried to make an edit in my child-theme style.css it worked great [ for an button contact form color and width of the text-area edit]. Then I went ahead and removed those edits , saved, reloaded but the site stuck with the edits. I went ahead and cleared cache , closed the window etc but nothing happened. I then closed the browser , reponed and the edits were gone. Then I though Ok just a coincidence but went ahead to make an edit in style.css again this time not delete but add code and the action is not going through, somehow the style.css of my child-theme and my website have stopped communicating . Function.php in child-theme is as before with removed // .

    Please help

    Thanks

    John

    #266415

    Hello,

    Thank you for reaching out to us.

    The child theme will by default use the styles and scripts from the parent theme. To load the child theme’s style.css file, you’ll have to add a code snippet in your child theme’s functions.php file. Here’s an article you can refer to regarding this – https://kadence-theme.com/knowledge-base/advanced/what-is-a-child-theme-should-i-install-one-if-so-how/.

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

    Best Regards,
    Karla

    #266388

    Hey there, I’m putting some CSS into my child theme style.css, but it’s not being included. If I View Source I don’t see my style.css file being included at all. I see a global.min.css file being included by the parent, is there some sort of mechanism I need to use to re-build that?

    I’m looking at and I expect to see /wp-content/themes/heropress-kadence-child/style.css in the source.

    #266365

    Hi Tobias,

    Thanks for using Kadence Cloud.

    So the reason why all your elements in your Kadence Cloud Library gets the same colour palette and we don’t really have this option is that when the user uses the elements from your Kadence Cloud Library it automatically inherits the current colour palette that the user’s child site is already using which actually makes it easier for them so they don’t have to set it again themselves in accordance to their current theme colour palette.

    Furthermore, we actually have a video where this concern is covered by Adam from WPCrafter here. And in addition to that, we also have the documentation for Kadence Cloud here.

    I hope this helps and have a nice day ahead!

    Best regards,
    Josh

    In forum: Kadence Theme
    #266346

    Hello,
    Is there a list of available filters and hooks? I’m moving from Genesis to the Kadence Theme (with a child theme) and I have a few filters that I need to rewrite for Kadence. Simply replacing Genesis with Kadence isn’t working. 🙂

    Right now I’m needing a hook for post_info to customize the author meta from By ‘author’ to Hosted by ‘author’ on posts in a podcast category.

    Thank you!

    • This topic was modified 4 years, 11 months ago by Thauna Smith.
    In forum: Kadence Theme
    #266144

    Hello,

    Thank you for reaching out to us.

    You may follow the steps on this article to use a child theme – https://kadence-theme.com/knowledge-base/advanced/what-is-a-child-theme-should-i-install-one-if-so-how/.

    Hope this helps.

    Regards,
    Karla

    #266130

    I want to make some changes on main theme so i want to use child theme method.
    Are there any walkthrough about this?
    How can i make this?
    I dont want to use any plugin.
    Thanks

    In forum: Kadence Blocks

    In reply to: Modal Pop Up Blocked

    #265827

    Hi Ben,

    I apologize. I didn’t see your reply. Here are the steps to work around the issue. In my case, I’m using WPMU and Virtue. So I:

    • Activated Kadence Blocks
    • Activated Kadence Blocks Pro
    • Entered the keys
    • Activated Virtue
    • Entered the keys again

    When I activated them all at once, I only had the spot for the Virtue keys. The spot for Kadence Blocks Pro is missing (Settings > Kadence License Activation). And only adding the keys under Virtue doesn’t work for Kadence Blocks Pro so every time I tried to use it, it said it wasn’t active. If you do it piece by piece, you can activate Kadence Blocks Pro, but as soon as you activate Virtue, the Settings > Kadence License Activation disappears again.

    edit to add: I’m using Virtue Premium, no child theme at this time.

    • This reply was modified 4 years, 12 months ago by Brandy.
    #265822

    Hi Team,

    I’m realizing now, I was assuming the ‘Starter Templates’ were some kind of ‘child theme’, which they’re not. They’re truly just page templates with pre-created content.

    So, it sounds like, if I want to “start from scratch”, I need only delete all the template pages that were created, and create a new page myself. 🙂

    Sounds good? Please let me know if I’m missing anything. Cheers!

    -M

    #265789

    I’ve added a couple of custom fields using the Advanced Custom Fields plugin, now I want to display the values of these fields on the post/single page. For example, when I click on a post an navigate to it, I want to see the full post content, then add a new section with these custom fields.

    Post structure:
    – Categories
    – Title
    – Metadata (author, dates, etc)
    – Post Content
    – Tags
    this is where I want the values from my custom fields to appear.

    Important, I’m not trying to make or display data entry fields, I just want to display the values that I entered in the custom fields when editing the posts. I know how to write all the PHP and markup to do this, but I don’t know how to integrate that with the Kadence Theme or WordPress in general.

    I’m using a child theme to customize a few things so my first idea was to duplicate the single.php from the Kadence them and make a version with the extra content that I want. That is proving difficult, because it appears that the Kadence Theme is built in such a way that the code is abstracted and all over the place…

    The second I idea I had was to use filters to append the custom field values to the content. I’m having trouble with this too. For example, when I use the code snippet below, the result is broken. The text inside the <a> tag is in the correct place, but the result of the_field('acf_library_url') gets prepended to the start of the content instead of where it should be (in the href attribute of the <a> tag. I’ve tried this with other values as well, such as the_title(), just to confirm that this is not caused by the ACF plugin.

    My filter attempt:

    function add_fields_to_content($content)
    {
    $URL = the_field('acf_library_url');
    $link = '<a href="' . $URL . '">Link</a>';
    return $link . $content;
    }
    add_filter('the_content', 'add_fields_to_content');

    So my main question is this: Can you suggest a way to add the values from custom fields to posts on my site?

    #265776

    I have used Kadence themes on my site for years. So first off thank you for the great themes!

    I recently decided to try the new theme as I noticed it had a few features that would be useful. Nothing urgent but a few questions.

    First on the Woocommerce Single product page, is there no option to display navigational arrows? I mean baked in. I am trying to get away from adding in page builders for one or two features.

    Second item, is there a way to disable “Zoom” on Woocommerce product page images. I want the lightbox functionality but not zoom? I could not find a way to accomplish this within the customizer options.

    Third items is a bit more involved and it actually took me awhile to figure out what (sort of) was happening. It may well be outside of support but I’ll ask anyway. For years I’ve had a sort of “secret” category in my blog. It’s only purpose is for the RSS feed that goes to my newsletter. I didn’t want all of my posts to go to the newsletter, so I created this category that has no other purpose in site organization. The following piece of code in my child functions hid that category and while I was at in any uncategorized posts that might slip through.

    function the_category_filter($thelist,$separator=' ') {
    if( is_admin() )
    return $thelist;

    // list the IDs of the categories to exclude
    $exclude = array(1,235);
    // create an empty array
    $exclude2 = array();

    // loop through the excluded IDs and get their actual names
    foreach($exclude as $c) {
    // store the names in the second array
    $exclude2[] = get_cat_name($c);
    }

    // get the list of categories for the current post
    $cats = explode($separator,$thelist);
    // create another empty array
    $newlist = array();

    foreach($cats as $cat) {
    // remove the tags from each category
    $catname = trim(strip_tags($cat));

    // check against the excluded categories
    if(!in_array($catname,$exclude2))

    // if not in that list, add to the new array
    $newlist[] = $cat;
    }
    // return the new, shortened list
    return implode($separator,$newlist);
    }

    // add the filter to 'the_category' tag
    add_filter('the_category','the_category_filter', 10, 2);

    Fair warning this is code that came from a user forum but it worked. The categories are identified by post ID, so the numbers are relevant on my site. The category is visible for admin when creating posts but not to readers. When I first tested the new Kadence theme on a test site with this code in my child functions the other day, it worked. So I was surprised when I activated it on my actual site and it was not. After hours of deactivating plugins, verifying the functions code was the same on both sites, I finally realized the difference. On my live site, I decided to use the “pill” shaped categories in post meta and on the archive pages. Sure enough when I changed from “pill” design back to “normal” the hidden category returned to hidden. If it’s a simple fix to change this, I’d love to be able to use the pill shaped categories as I think they look better visually but if it’s super complicated and thus outside of support, then no problem! It might be the catalyst to re-think hiding that category – maybe I could make it organizationally useful…

    And a fourth item that is actually not specific to Kadence Theme. I had this same question from Ascend which I was using previously. When using the Advanced Custom Button block in posts, I always change the colors of the button – fairly consistently to the same colors. Is there a way I’ve missed that one can set default styling for that button? The only thing I saw was making reusable content but all elements including the button text/link needed to be static as far as I could tell for that. If not and it’s possible that would be an awesome feature, IMO.

    Thanks!

    • This topic was modified 4 years, 12 months ago by Mark.
    In forum: Kadence Theme
    #265650

    Hey Hannah,

    Thanks for reaching out.

    Unfortunately as it is only on my virtual machine (I am using Local).

    Just to be more precise I am using the basic Kadence theme and added the CSS in the customizer, not in the theme child.

    Thanks,
    Dominik

    • This reply was modified 5 years ago by Dominik.
    #265617

    Hey,
    This isn’t an option within the theme.

    You can use a custom code if you like with for code snippet plugin or child theme:

    function custom_pinnacle_woo_related_products_limit( $args ) {
    $args['posts_per_page'] = 4;
    return $args;
    }
    add_filter( 'woocommerce_output_related_products_args', 'custom_pinnacle_woo_related_products_limit', 20 );

    I hope that helps!

    Ben

Viewing 20 results - 401 through 420 (of 6,404 total)