Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #247633

    Hello guys,

    I’ve been trying to add
    add_theme_support('avia_conditionals_for_mega_menu');

    To my child theme but unfortunately it’s not loading it at all. The only way has been to activate the conditionals for the mega menu through the normal functions.php file. Is there a way around this? I need to make sure when my client updates that they don’t lose that functionality at all.

    Thanks!

    #247767

    Hi Gil413!

    You must place the code into the child theme functions.php file. i.e. the code must look like:

    
    <?php
    global $avia_config;
    add_theme_support('avia_conditionals_for_mega_menu');
    

    You can also try the child theme I uploaded here: http://www.mediafire.com/?05ho02ecut516hu – I use it on my website and I know it works :)

    Regards,
    Peter

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