Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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 10 years, 8 months ago by NosovK.
    #241750

    Hey 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!
    Ismael

    #244302

    Hi,

    am I doing wrong? This works fine in parent theme but inserted in child functions.php has no effect.

    Sincerely,
    caip

    #244702

    Hi!

    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,
    Devin

    #247347

    Hi!

    the functions.php in my child theme is empty exept

    <?php
    ?>

    Sincerely,
    caip

    #247376

    Hi!

    Please remove closing php tag (second line)

    Cheers!
    Yigit

    #247601

    Hey!

    I removed it but it has no effect. Do you have any other ideas?

    Regards,
    caip

    #247603

    What 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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.