-
AuthorPosts
-
March 22, 2014 at 11:35 am #241575
I use few php sniplets:
add_theme_support('avia_template_builder_custom_tab_toogle_id'); add_theme_support('avia_disable_dummy_import'); add_theme_support('avia_template_builder_custom_css'); remove_action('wp_head','avia_debugging_info',1000);and after each update – they disappear.
Could you please add some custom field to store them?-
This topic was modified 11 years, 7 months ago by
NosovK.
March 23, 2014 at 6:21 am #241750Hey Konstantin!
You can use a child theme if you want to preserve the modifications. Refer to this link: http://kriesi.at/documentation/enfold/using-a-child-theme/
Cheers!
IsmaelMarch 28, 2014 at 11:50 am #244302Hi,
am I doing wrong? This works fine in parent theme but inserted in child functions.php has no effect.
Sincerely,
caipMarch 29, 2014 at 7:47 am #244702Hi!
If set in your child themes functions.php file then they should work. I created the child theme that comes in the big download you can get from themeforest which has some of the functions commented out in it and at least at that time when testing/creating it there was no issue.
What does your child theme functions file look like? Can you add it to a pastebin and link us to it?
Best regards,
DevinApril 4, 2014 at 9:12 am #247347Hi!
the functions.php in my child theme is empty exept
<?php ?>Sincerely,
caipApril 4, 2014 at 11:19 am #247376April 4, 2014 at 7:29 pm #247601Hey!
I removed it but it has no effect. Do you have any other ideas?
Regards,
caipApril 4, 2014 at 7:36 pm #247603What I meant above is that whatever you add to your child themes functions.php stays there. So you use your child theme as your active theme and the functions then work there.
You can read more about child themes here: https://codex.wordpress.org/Child_Themes
-
This topic was modified 11 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
