Tagged: child theme, filter, functions.php, hook, megamenu
Hi team,
I would make the same thing of this topic :
https://kriesi.at/support/topic/show-description-along-with-link-on-mega-menu/#post-416868.
It’s works great when i edit directly the file in Enfold main-theme, but I use an Enfold child theme. I’ve copy and edit un my child-theme > includes > helper-conditional-megamenu.php, but the original Enfold > includes > helper-conditional-megamenu.php file is called.
I need a “hook” or a “filter” in functions.php child-theme to declare the new Mega-Menu function?
Edit: I don’t understand the Josue’s solution –> https://kriesi.at/support/topic/show-description-along-with-link-on-mega-menu/#post-418985. I need a exemple please if this solution work :)
Thanks for your help!
Marc – Winsiders
Hey Octopus4444,
Yea, that is not working as those files are not intened to load from a child theme that way.
We only support to load short-codes from the child theme.
Best regards,
Basilis
Hi Basilis,
Thanks for your answer, but if a hook or filter are not the solution (I understand that), Josue say “rewrite all Mega menu function in function.php child theme with conditional” se this answer topic : https://kriesi.at/support/topic/show-description-along-with-link-on-mega-menu/#post-418985
Can you help me for this solution?
Thanks again for your help and time!
Marc
Hi Octopus4444,
Did you copy the whole class to the funcitons.php or you copied the file?
This one talks about the class not the file from includes.
Best regards,
Victoria