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: Missing menu
This reply has been marked as private.April 6, 2023 at 9:50 am #283204In forum: Kadence ThemeTopic: Reduce excessive DOM size.
March 31, 2023 at 1:37 am #283064Hi,
I am working on optimizing my core web vital scores using Kadence and Nitropack. I have some descent results so far with changes made mainly through nitropack.
However, reducing the DOM size is an issue. I have attached screenshots.
I had a Developper look at it and this is what he had to say:”
1-A LOT of stylesheet links
2-Kadence hides things for mobile (like .mobile-header and .mobile-drawer) when on desktop (And presumably vice versa) rather than removing them…built in unfortunately – would have to create a child theme and doctor it…probably not worth it.
3-A decent amount of elements related to the menus
4-Several of those blocks on the home page take up a lot of dom elements – the carousel, the personal Bible study section, the block at the bottom mentioning ‘go beyond etc’, (This is also where the deepest elements are)
“.Is there a solution you have found for such problems with the Kadence theme? There are some issues with my configuration, which I can address like the home page design.
Thanks,
PatrickIn forum: Kadence ThemeHi,
Currently, there is no built-in option for that.
But you can do this using code snippets.
You code would be like this:
add_filter('kadence_element_display', function( $display, $element, $meta ){ $exclude_ids = array( PAGE_ID ); $my_wp_query = new WP_Query(); $all_wp_pages = $my_wp_query->query(array('post_type' => 'page')); $child_pages = get_page_children( PAGE_ID, $all_wp_pages ); $child_ids = wp_list_pluck( $child_pages, 'ID' ); $ids = array_merge( $exclude_ids, $child_ids ); if ( in_array( get_the_ID(), $ids ) && $element->ID === 'ELEMENT_ID' ) { return false; } return $display; }, 20, 3);Just change the PAGE_ID to the correct page ID that you want to exclude.
You can add this code using the Code Snippets plugin: https://www.kadencewp.com/kadence-theme/knowledge-base/advanced/how-to-add-a-custom-filter-or-function-with-code-snippets/
I hope this helps.
-
This reply was modified 3 years, 1 month ago by
Bonn.
In forum: Kadence BlocksHello,
I am using Kadence blocks with kadence theme (with a simple child theme).
I putted an advanced gallery block but in slider or carousel mode the autoplay function doesn’t display any image sliding or change.
I tried it on another page but I have the same problem…
You can see it here :
*Login to see link
at the “Notre vision” point / chapter
May someone help me ?
Thank you !In forum: Kadence ThemeIn reply to: Adsense without Kadence Pro
Hi, Matt!
Just like what David said, you can use a plugin to add the scripts.
Here are some of our documentation posts too:
- https://www.kadencewp.com/kadence-theme/knowledge-base/general/adding-google-analytics/
- https://www.kadencewp.com/kadence-theme/knowledge-base/advanced/adding-google-tag-manager-with-a-child-theme-no-extra-plugin/
Let us know if we can help you further.
Kind regards,
KarlaIn forum: Ascend ThemeHi, Nic!
I’m sorry for the delay.
Amy’s correct, there is no built-in way to do that. If you override theme templates using a child theme, that can be a solution. However, for that level of customization, you might want to seek help from developers so they can help implement the customization for you.
Please let us know if we can assist you further with this.
Kind regards,
KarlaIn forum: Kadence ThemeIn reply to: How to disable sidebar on mobile in Kadence Theme
Yes, if you use code to hide the sidebar on your website, it will still be parsed by the browser and affect the DOM size. This is because even though the sidebar is not visible on the page, it is still part of the HTML code and needs to be processed by the browser.
If you want to reduce the impact of the sidebar on your DOM size, you can remove it from the code altogether. One way to do this is by editing the WordPress template files directly.
We highly recommend that you use a child theme for overriding templates. This will ensure that any customization done will not get overwritten when you update the main/parent theme.
Learn more about child theme and how to install the Kadence Child Theme here: https://www.kadencewp.com/help-center/docs/kadence-theme/what-is-a-child-theme-should-i-install-one-if-so-how/
After installing and activating the Child theme, here are the steps to remove the sidebar:
1. Log in to your WordPress dashboard and navigate to Appearance > Theme File Editor.
2. Select the template file where the sidebar code is located (usually sidebar.php or similar).
3. Remove the code that generates the sidebar from the template file.
4. Update File.I hope this helps! If you have any further questions or need additional assistance, please don’t hesitate to send them in.
Cheers,
EzeIn forum: Ascend ThemeIn forum: Kadence ThemeIn reply to: Child theme styles do not work
Hi Judo,
We are sorry to hear that you are experiencing an issue with the child theme on your website.
I realize that your website is in maintenance mode, so I am unable to properly inspect and investigate the issue.
To better understand the problem, could you please provide us with more details about the issue you’re experiencing? This will help us determine the root cause of the problem and provide you with the appropriate solution.
Meanwhile, would you kindly confirm if you have removed the comment on your functions.php file for enqueuing the style.css file? Learn how to use a child theme here: https://www.kadencewp.com/kadence-theme/knowledge-base/advanced/what-is-a-child-theme-should-i-install-one-if-so-how/
If you have already removed the comment to enqueue your child theme’s style.css file, try to remove the version number from it and see if the styles will be properly applied. The function should be like this:
function child_enqueue_styles() { wp_enqueue_style( 'child-theme', get_stylesheet_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'child_enqueue_styles' );I hope this helps! Please let me know if you have any further questions or concerns.
Cheers,
EzeIn forum: Virtue ThemeMarch 8, 2023 at 3:56 am #282608He used the wonderful Kadense theme several times. And for the first time I meet such a problem.
When you activate a child theme, you do not work with any styles added to it.
Site: *Login to see link
What could be the problem?In forum: Kadence ThemeMarch 8, 2023 at 3:27 am #282606He used the wonderful Kadense theme several times. And for the first time I meet such a problem.
When you activate a child theme, you do not work with any styles added to it.
Site: *Login to see link
What could be the problem?In forum: Kadence ThemeHello,
I’ve defined additional custom image sizes for my website via the function add_image_size() in my child theme. The additional sizes show in the admin interface because I’ve added them using the filter image_size_names_choose (*Login to see link
The additional custom image sizes also are available when using Kadence Blocks (e.g. Image Overlay, Post Grid/Carousel, Portfolio Grid/Carousel, Advanced Gallery, Advanced Image) but not when using a Row-block and selecting “Enable Dynamic Background Image” > Advanced > Image Size. Also, the Customizer doesn’t seem to support custom image sizes (not needed at this moment).
Is there a filter (or other solution) available so I can use custom image sizes for background images in a row block? Will this option be supported in the future?
Best, Joris
-
This topic was modified 3 years, 2 months ago by
Joris.
In forum: Kadence ThemeIn reply to: Documentation for Kadence HTML & CSS markup?
March 6, 2023 at 3:49 am #282571Hi Hannah,
I think you may not understand my question.When I used to use GeneratePress they used to use unsemantic framework under the hood.
This meant I could create custom child theme pages and html layouts.I’m wanting to know if the is any documentation on best practices to create HTML/CSS rows, columns in pages.
I’m not talking about blocks or block templates, as I want to create custom loops and ACF content wrapped in HTML.So, does Kandence use a framework, or just flex box and grid?
If so are there any cheatsheets or code snippets to help with this.
Maybe I have outgrown Kadence and need to use a Bootstrap or Tailwind theme for custom development?
Thanks
In forum: Kadence ThemeIn reply to: Kadence Theme breakpoints
March 5, 2023 at 9:55 am #282563Hi,
I added following code in kadence-child theme’s functions.php and it helped to changed existing Kadence Theme Breakpoints. I didn’t have to modify any css files.
1. mobile changed from 767px -> 600px
2. tablet changed from 1024px -> 1279px
3. desktop changed from min 1025px -> min 1280px// The mobile filter callback function. function mobile_media_query_callback( $media_query ) { $media_query = '(max-width: 600px)'; return $media_query; } add_filter( 'kadence_mobile_media_query', 'mobile_media_query_callback', 10, 3 ); // The tablet filter callback function. function tablet_media_query_callback( $media_query ) { $media_query = '(max-width: 1279px)'; return $media_query; } add_filter( 'kadence_tablet_media_query', 'tablet_media_query_callback', 10, 3 ); // The desktop filter callback function. function desktop_media_query_callback( $media_query ) { $media_query = '(min-width: 1280px)'; return $media_query; } add_filter( 'kadence_desktop_media_query', 'desktop_media_query_callback', 10, 3 );-
This reply was modified 3 years, 2 months ago by
Rafah Mehfooz.
In forum: Kadence ThemeMarch 2, 2023 at 2:50 pm #282523Can anyone help?
I’m wanting to create some child theme custom templates, is there any documentation or help regarding markup and classes to build the layouts.
I’m used to using Foundation & Tailwind, I don’t want to add extra bloat.
Is there a guide or cheat sheet of best practice the Kadence way?Maybe I could build a page with blocks then export the HTML?
Any advice would be helpful.
Thanks
In forum: Kadence ThemeFebruary 13, 2023 at 10:46 am #282165Hello Ben
Can you please help me to get an Author Box Feature on Pages (not the homepage) for this child theme *Login to see link
In Posts seen there is an option to show Author Box, but this feature is not available on pages
We want author box same as postsOur site is *Login to see link
Thanks
SachinIn forum: Pinnacle ThemeIn reply to: Author Box on Pages
February 13, 2023 at 10:43 am #282164Hello Ben
Can you please help me to get an Author Box Feature on Pages (not the homepage) for this child theme https://www.kadencewp.com/kadence-theme/starters/affiliate-blog/
In Posts seen there is an option to show Author Box, but this feature is not available on pages
Our site is https://www.appcraver.comThanks
SachinIn forum: Kadence ThemeIn reply to: How to move Related Posts to another hook location
February 10, 2023 at 8:56 am #282123ok, looking at the single-entry.php file, lines 61-68, I see:
if ( 'post' === get_post_type() && kadence()->option( 'post_related' ) ) { get_template_part( 'template-parts/content/entry_related', get_post_type() ); } // Show comments only when the post type supports it and when comments are open or at least one comment exists. if ( kadence()->show_comments() ) { comments_template(); }Is it as simple as switching these if statements? I already have a child theme, but I just want to make sure I’m making the right code edit. Thanks.
In forum: Kadence ThemeIn reply to: How to move Related Posts to another hook location
Hi, Joanna!
The position of the related post carousel and comments on the single posts pages do not have hook locations.
If you want to switch them, you will need to override the template and use a child theme. The file that you would like to look at is the
single-entry.phpfile inside the\kadence\template-parts\contentfolder.You may read this post regarding a child theme – https://www.kadencewp.com/kadence-theme/knowledge-base/advanced/what-is-a-child-theme-should-i-install-one-if-so-how/.
I hope this gave you an idea to achieve the layout you want. Please let us know if we can assist you further.
Kind regards,
KarlaIn forum: Pinnacle ThemeIn reply to: Adding code to header.php
February 2, 2023 at 6:44 am #282004Hi there,
If you are using Pinnacle Premium theme, go to Theme Options > Theme Extensions and enable the “Header and Footer Script output” option. After enabling it, go to Theme Options > Header and Footer Scripts and put your code in the Header Output field. Here’s a video: https://share.getcloudapp.com/z8ulggOj
If you use only the free Pinnacle theme, you’d need to use a child theme, copy the header.php file into your child theme, and put your code there.
I hope this helps, and let us know how we can help further.
Kind regards,
Chito -
This reply was modified 3 years, 1 month ago by
-
AuthorSearch Results


