-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adopt the parent themes function to manage on childtheme footer widget #101
Comments
Hi Mark,
Will be the right way to go. Problem here is footer_widgets_number was not set in library/core.php yet. I will add this in the next
All the setting above can be overwritten in your child theme by (re)define them in function.php in your child theme's folder:
As you see not all of customizer's settings are add in this structure. I expect they should be in future. Hope the above (adding the NB Don't forget to remove old theme mods from the database before setting the default value. ( |
Question from @mjteves1986: My goal is to make childtheme default layout. Changes the default on parent and make a default on childthemes layout.
This is the changes make a default footer widget display, also on the admin widget like adding on function.php
if(!defined('footer_widgets_number'))define('footer_widgets_number', 2);
But that changing is not working on frontend.
The text was updated successfully, but these errors were encountered: