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
In reply to: Header Issue when using Child Theme
Hi again,
Below is a response from the developer regarding a similar enquiry:Hey,
Looks like you are using a child theme. And you’ve overridden the header.php file.You need to update your header.php file to add in the missing class “wp-site-blocks”
However, I would strongly encourage you to never override the header.php file in a child theme. There is usually a much better way to do something if you need to do something in the header of your site. If you need help doing something in the header of your site just ask and we can help you without you needing to override the header.php file.
Ben
Let us know if we can help further!
Best,
HannahIn forum: Kadence ThemeApril 1, 2022 at 12:13 pm #271302I’m wondering if someone may have some guidance as to why the settings are correct, but the Single Event Title nor the Featured Image is not showing up within the Single Event Layout page. See below.
In forum: Kadence ThemeHello,
After the most recent Kadence Theme update, all of my dropdown menus now have a blue box under them and I cannot figure out how to remove them.
I have used the Health Check Plugin’s Troubleshooting Mode to see if any plugins cause this issue, but even with no plugins enabled it persists exclusively on the Child Theme.
I have also tried emptying / purging the cache to see if it would help, but nothing changed.
Any help would be appreciated, thank you!In forum: Kadence ThemeIn reply to: Theme Marketplace?
Hi Brian,
I am not too sure if there is already a marketplace like that. However, if you’ve watched the Kadence Child Theme Builder overview video, Restored316 was mentioned. You can see the themes they’re selling here.
On the other hand, you can join and ask the same question in our Facebook Community group. I’m sure members there will be happy to share any marketplace recommendations.
Hope this helps and let us know if we can assist you further.
Best Regards,
KarlaIn forum: Kadence BlocksI am using Kandance Blocks in a Kadence Child Theme in conjunction with WCK – Custom Fields and Custom Post Types Creator. I’ve tested PODS and a few other custom post-type tools and this is what I got to work with the latest versions of plugins and WordPress.
I can pull in the Meta keys fine on the single product pages (think brochure, not e-commerce) and there are various fields I want to display. I’m adding them one by one to the target page just fine, but I realize now it’s more elegant to conditionally display a meta key only if the authors have filled in the piece of data in the first place, rather than “No Content” showing up for the empty fields.
Is there a way for the Kadence blocks to do a conditional check before displaying data? How would you approach this? Is this an entire custom template I need to build? How do I integrate a custom page template into Kadence? My one attempt broke my theme and I had to revert.
In forum: Kadence ThemeMarch 15, 2022 at 11:42 am #271010Hello
I am using Kadence element template to design our blog section ( it is much more flexible to reproduce what I want). Unfortunatly, native pagination is like 1,2,3 (please see capt 1)
I want to override the native pagination with the help of a function (child theme) to create a previous / next navigation with bullets in between (see capt 2).
Many thanks!
Cheers
-
This topic was modified 4 years, 1 month ago by
Emilie Venesson. Reason: capture correction
In forum: Virtue ThemeIn reply to: Double image on product page
In forum: Kadence ThemeIn reply to: captions on the images not showing
Hi freelancerguru11,
You can create a feature request for this here: https://www.kadencewp.com/kadence-theme/feature-requests/
Unfortunately the only way around this as of now is to add a custom function into a child theme.Best,
HannahIn forum: Kadence ThemeIn reply to: Custom Post Type Navigation Previous Next
March 5, 2022 at 9:43 am #270816For anybody else who ends up here, I ended up using this workaround, by creating a Kadence child theme and adding this to the functions.php file. Note that this assumes you have multiple portfolio categories and that you only want to navigate within the current category. (You may need to change “portfolio_category” to something else; check your term_taxonomy table.)
/* Add next/previous links for portfolio items within same portfolio category. Solution on StackExchange: https://wordpress.stackexchange.com/questions/309827/next-previous-links-in-same-category next/previous_post_link functions: https://developer.wordpress.org/reference/functions/next_post_link/ Kadence hooks: https://www.kadencewp.com/kadence-theme/knowledge-base/advanced/theme-hooks/ */ add_action( 'kadence_single_after_entry_content', 'portfolio_post_nav' ); function portfolio_post_nav() { if ( is_singular( 'portfolio' ) ) { echo'<div class="alignleft">'; next_post_link('« %link', '%title', true, '', 'portfolio_category'); echo'</div>'; echo'<div class="alignright">'; previous_post_link('%link »', '%title', true, '', 'portfolio_category'); echo'</div>'; } }-
This reply was modified 4 years, 2 months ago by
cameron-9796.
In forum: Ascend ThemeIn reply to: Change text Cart Summary
March 3, 2022 at 4:22 am #270769Don’t waste your time with Loco plugin, it does not work on Kadence.
Create a child theme and add this to your functions.php file:
https://hoolite.be/coding/replace-or-translate-text-in-wordpress-via-functions-php
In forum: Kadence ThemeFebruary 24, 2022 at 11:43 pm #270683Hi.
I’ve just set up a new fresh website with a child theme based on Kadence.
The website has no content so far. Only a completely blank home page and a logo in the header.But I’ve checked the code generated and i’m already seeing 8 elements with the tag
<svg><defs><filter>…</svg>, all of them containing filters with hidden visibility and positioned out of the screen.
Honestly don’t know what’s their purpose and why there are so many of them.
Is it really necessary? I’m quite new in the job but seems like a lot of ‘i don’t know what’s it for’ code for a blank website.Also there’s a huge number of ‘Kadence Base CSS’ styles showing up in the header. Looking at what they’re styling I understand they’re needed for setting up the basics of the theme layout but, is it really necessary they show up in the header? Why are them not linked like other stylesheets? I confess I really have a thing about styles in the header.
Anyway I have to say you’re doing a great job with the theme.
Thanks alot.
Albert
In forum: Kadence ThemeIn reply to: remove article excerpt
Hey,
Apologies for the delay! Your screenshots are not showing up. Did you download your child theme from here: https://www.kadencewp.com/child-themes/ ?
You can also learn more about setting up your child theme in that post.
If you want to send a temp login so we can take a look I would be happy to do so. You can set as a private reply.Kindly,
HannahIn forum: Virtue ThemeIn reply to: Hide “Related posts” for certain categories.
February 22, 2022 at 8:17 pm #270636Hey,
So just a note if you need to post a lot of code use a code sharing site, the form input won’t accept a lot of code. A decent option: https://gist.github.com/However with a login that shouldn’t be needed.
The issue is once got in the child theme doesn’t seem to have any changes regarding the related posts?
If you do as karla suggested and change this:
if ( 'post' === get_post_type() && kadence()->option( 'post_related' ) ) {For this:
if ( 'post' === get_post_type() && kadence()->option( 'post_related' ) && !(has_category(array('board', 'slt', 'staff'), get_the_ID())) ) {What happens?
Ben
In forum: Kadence ThemeIn reply to: remove article excerpt
In forum: Kadence ThemeIn reply to: remove article excerpt
In forum: Virtue ThemeIn reply to: Hide “Related posts” for certain categories.
February 17, 2022 at 9:32 am #270528Hi,
Can you send a temp login to your site so I can see the child theme and what you are doing? Pasting code back and forth isn’t going to work for this because what karla posted is find so I need to see how you are implementing it.Ben
In forum: Kadence ThemeIn reply to: Remove link from tags?
February 16, 2022 at 4:56 pm #270504Hi,
There isn’t a simple way to do that, you can override the template-parts/content/entry_tags.php file through a child theme. Or turn off the theme tag and add your own using a custom function and hook.Something like:
add_action( 'kadence_single_after_inner_content', 'custom_single_post_tag_output' ); function custom_single_post_tag_output() { $tags = get_the_tags(); if ( ! is_array( $tags ) ) { return; } ?> <div class="entry-tags"> <span class="tags-links"> <span class="tags-label screen-reader-text"> <?php echo esc_html__( 'Post Tags:', 'kadence' ); ?> </span> <?php foreach ( $tags as $tag_item ) { $tag_link = get_tag_link( $tag_item->term_id ); echo '<span class="tag-link tag-item-' . esc_attr( $tag_item->slug ) . '"><span class="tag-hash">#</span>' . esc_html( $tag_item->name ) . '</span>'; } ?> </span> </div><!-- .entry-tags --> <?php }Ben
In forum: Kadence ThemeIn reply to: Child Theme Not Working For Some Pages
February 16, 2022 at 4:50 pm #270503Hey,
Overriding templates is something a child theme is for. However, You don’t override functions files this way. A function (component) file should never be overridden and it’s not a bug it’s a feature that prevents you from overriding a functions file by using the same file hierarchy in your child theme.If you could override functions files you would break your site with every theme update because functions files are always loaded and template files are loaded only when called.
If you want to change strings that are part of functions files I suggest using the satwhat plugin: https://www.kadencewp.com/kadence-theme/knowledge-base/advanced/change-any-text-on-your-site/
If you want to do this without a plugin for some reason then you would use a PHP filter in your child theme functions to change those strings. https://www.kadencewp.com/kadence-theme/knowledge-base/advanced/how-to-add-a-custom-filter-or-function-with-code-snippets/
Ben
In forum: Virtue ThemeIn reply to: Main logo linking
Hi Keith,
There isn’t a way to achieve this with CSS. You would need to add the following code to your header.php in your child theme:<div id="logo" class="logocase"> <a class="brand logofont" href="https://nicotraracing.com/main/">Hope that’s helpful!
Best,
HannahIn forum: Kadence ThemeI used this Kadence Child theme
It works excellent
*Login to see link
*Login to see linkIt works for template-parts/content/
comments-list.php
entry_related.php
single-entry.php
I created two folder template-parts/content/ and edited that files works well
I paid attention that in the main /template-parts/ folder there are no files, there are only fother folders!It does not work at /inc/components/comments/
component.php
I changed some words at esc_html section to tanslate some word!
I paid attention that in the main /inc/ folder, there are some files like back-compat.php class-kadence-css.php class-local-gfonts.php class-theme.php functions.php template-hooks.php wordpress-shims.php idon’t know is it related with these files?
So when i edit component.php file at /inc/components/comments/ this does not work fot the Child theme!Could you please help me that how can i fix this! At template-parts/content/ folders, the cahnges works for child theme but!
in /inc/components/comments/ location there is a component.php file and when i edit it, it does not work! I edited for example esc_attr__( ‘Email’, ‘kadence’ ) part to esc_attr__( ‘Mail Adress’, ‘kadence’ ) but it does not work at child theme but when i edit this file at KAdence MAIN theme it works. I don’t know why the changes does not affect at this location!Please help me!
-
This topic was modified 4 years, 1 month ago by
-
AuthorSearch Results


