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 ThemeMay 19, 2022 at 8:00 am #273190
Yes, all is up to date.
I’m using a child theme though, that might be a ‘problem’
In forum: Kadence ThemeIn reply to: How to unset theme palette, button colors?
Hello, i know that it would break and affect some things on the website, some things would probably just be invisible cause there would be no set color, yes but that is what i want, none of the color interference of theme css files, just my child theme css, for example if i have a template which i deploy to various clients, i dont want to go to customizer each time and change styles, i write code and change it through code, i think it would be a developer friendly option, well thanks for the effort anyway!!
In forum: Kadence ThemeMay 16, 2022 at 6:25 am #273127Hello,
I’m trying to allow some Theme Customizer settings for the Editor user role.
I would like them to change site logo and edit the colors palette and hide the rest of the settings in customizer.In Kadence Child theme functions.php I first gave Editor a permission that did reveal customizer for Editor:
This works:
function add_theme_caps() {
$role_object = get_role( 'editor' );
$role_object->add_cap( 'edit_theme_options' );
//apply_filters( 'kadence_theme_customizer_capability', 'manage_options' );
}
add_action( 'admin_init', 'add_theme_caps');Then I have tried using customize_register -hook. I tried to set high number so it would run after the parent theme:
Does not work. Nothing seems to happen:
add_action('customize_register','my_customize_register', 9000);
function my_customize_register( $wp_customize ) {
//$wp_customize->get_setting( 'title_tagline' )->capability = 'edit_users';
$wp_customize->remove_section( 'general-layout' );
$wp_customize->remove_setting( 'general-layout' );
$wp_customize->remove_control( 'general-layout' );
$wp_customize->remove_panel( 'kadence_customizer_general' );
}I even tried to use after_setup_theme -hook
function remove_custom() {
add_action(‘customize_register’,’my_customize_register’, 9000);
function my_customize_register( $wp_customize ) {
//$wp_customize->get_setting( ‘title_tagline’ )->capability = ‘edit_users’;
$wp_customize->remove_section( ‘general-layout’ );
$wp_customize->remove_setting( ‘general-layout’ );
$wp_customize->remove_control( ‘general-layout’ );
$wp_customize->remove_panel( ‘kadence_customizer_general’ );
}
}
add_action(‘after_setup_theme’, ‘remove_custom’);Can you give me some pointer or example how to continue and hook into parent Kadence Theme Customizer?
In forum: Kadence ThemeIn reply to: functions.php GONE!
Hi Michael,
Sorry to hear to hear this. I suggest reaching out to your host as they should have a backup for you.
In the future make sure you’re using a child theme if you’re editing the theme files. You can download one from here: https://www.kadencewp.com/child-themes/Kindly,
HannahIn forum: Kadence ThemeIn reply to: Related posts problem
In forum: Ascend ThemeIn reply to: Loop Portfolio Navigation
In forum: Kadence ThemeIn reply to: Activating a child theme changes a lot of settings
Hello!
Thank you for reaching out to us.
The child theme is a separate theme. When you activate it, the theme customizer settings will not be retained. What you could do is install and activate the Kadence Starter Template plugin. Then, activate the main Kadence Theme and go to Customizer > Import/Export. Lastly, click export.
Once the steps above are done, activate the Kadence Child Theme and go to Customizer > Import/Export again. Upload the exported file and click Import.
After all the steps, the child theme should have the same theme customizations as before.
Hope this helps and let us know if we can assist you further.
Best Regards,
KarlaIn forum: Kadence ThemeHello,
First i would like to thank you for the quality of the theme !
I would also like to know how to properly install a child theme on an existing site.
When i activate it using the file here:It changes a lot of settings and the website doesn’t look like what it was. For instance the footer is completely changed.
Is it possible to install it and keep my old settings ?
In forum: Kadence ThemeIn reply to: Child Theme Not Working For Some Pages
The .zip of the Kadence site’s child theme just doesn’t work! Compare screenshots layout (header, button, etc). It looks like the child theme should pull .css styles from the parent theme, but it doesn’t. Well, Kadence himself says he doesn’t need it, but it looks like he does!
In forum: Kadence ThemeI’m attempting to hook into the search modal (header search icon) and add an H2. I’ve tried adding the following to my child theme Functions.php:
//* Add title inside search modal
function custom_search_title() {
echo '<h2>My title</h2>';
}
add_action( 'Kadence\search_modal', 'custom_search_title', 15 );But this hasn’t worked. Any advice? Am I hooking the incorrect action?
Thanks so much!
In forum: Kadence ThemeHey,
I believe that would need to go in your style.css in a child theme. Are you currently using a child theme?
https://www.kadencewp.com/child-themes/Kindly,
HannahIn forum: Kadence ThemeIn reply to: Weird buttons in navigation
In forum: Kadence ThemeIn reply to: Featured image is not centered
April 7, 2022 at 9:46 am #271954I have been spending hours trying to figure out an issue and I am not sure if this is a WP issue or a Kadence issue so bear with me.
I have a SaaS App I am building for a client in the WP framework with the Kadence (Child) Theme. I am using shortcodes to write the code using jQuery/PHP.
In some parts of my Application I will code in links to different pages using window.location.href or window.location.replace. When I use the Application from the Customer Facing side the application works great with no issues. I can click those links and they do what they are supposed to do.
The problem
I have a front-end dev doing the CSS from the “Additional CSS” in “Customizing”. If you click on one of those links in the Application first that are coded in using href or replace as soon as you click in the box and you hit any key on the keyboard to edit the CSS it causes the App to go back 1 step in history…yeah I know, weird.
BUT… If I change those links to use an anchor tag instead <a> this behavior does not happen. The page does not redirect back in history as intended.
Any ideas?
In forum: Kadence ThemeIn reply to: Featured image is not centered
Hello,
Thanks for reaching out.
It looks like you are using a child theme and it is overriding the default header.php
There was a small change on the Kadence header.php file on version 1.1.16.You need to update your header.php file to add in the missing class “wp-site-blocks” on the div with id wrapper: https://share.getcloudapp.com/bLuK0Pg8
However, we 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.
Let us know if we can assists you further.
Regards,
BonnIn forum: Kadence ThemeIn reply to: Weird buttons in navigation
April 5, 2022 at 12:49 pm #271902Hi Hannah, thanx, you’re right, I do use a child theme, and the header.php is in there but I don’t know why. I’ll delete it.
In forum: Kadence ThemeIn reply to: Weird buttons in navigation
Hey guys,
Here is a response from the developer regarding a similar query: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. BenLet us know if this does not apply to you.
Kindly,
HannahIn forum: Kadence ThemeIn reply to: Archive pagination
Unfortunately there isn’t a built-in way to do this using the theme archive. Sorry! You could create a css hack when adding posts via the post grid/carousel block, but it’s not really advised. Adding a custom function into a child theme I believe would be the best way to create this.
Kindly,
HannahIn forum: Kadence ThemeThis reply has been marked as private.April 4, 2022 at 3:50 pm #271870In forum: Kadence Theme -
AuthorSearch Results




