Tagged: child theme, filter, functions.php, hook, megamenu
-
AuthorPosts
-
August 31, 2018 at 2:13 pm #1004093
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
-
This topic was modified 7 years, 2 months ago by
Octopus4444. Reason: Complete the explain, add topic tags
September 2, 2018 at 8:17 pm #1004695Hey 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,
BasilisSeptember 3, 2018 at 11:54 am #1004896Hi 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-418985Can you help me for this solution?
Thanks again for your help and time!
Marc
September 3, 2018 at 5:09 pm #1005056Hi 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 -
This topic was modified 7 years, 2 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
