Tagged Questions
0
votes
1answer
166 views
Preset Widgets ONLY after site is initially created
I want to preset some widgets using functions included in my theme ONLY after a site is initially created (my theme is the default for all new sites in my instance of WordPress).
I DO NOT want my ...
0
votes
1answer
212 views
How to add or delete default value theme options while activate and deactivate theme
I want to add & reset default value for my theme options while activate and deactivate a theme
More clearly something like this
if(theme active)
add_option();
// add new option to the theme ...