Archived topic
Category Menu
9 replies · Started by Vincent on December 3, 2021
Hi there,
I'm using Dispatch theme. I have created a category menu for my blog which has disappeared. It still exists but it no longer appears on my pages.
Could you please give me some advices ?
Many thanks,
Sofia :)
Hi there,
Go to Customizer > Layout > Secondary Navigation and change the Location. By default the Display Theme has this set to No Location. And then it uses a Hook Element ( in Appearance > Elements ) to display it below the page hero.
Thanks for the reply, I tried but nothing change...
As you can see on the screenshots, I tried to add it on the secondary menu but nothing happens... Do you know what can be the reason ? Also it was working before and I don't know when it stopped working I just notice it now, so I don't know what I did to make it disappear and what to do to make it better as well.
Thanks in advance,
Sofia :)
I can't see any screenshots ?
Go to Appearance > Elements - do you see a Hook Element titled: Secondary Navigation?
If you edit that are there any warnings or errors displayed?
As you can see on this screenshot : this appears: Run PHP --> Cannot run PHP when DISALLOW_FILE_EDIT is set.
Can you add this PHP Snippet to your site:
add_filter( 'generate_hooks_execute_php', '__return_true' );
This doc explains how to add PHP:
It works !!!!!! Thanks a lot, have a great day
Sofia :)
Glad to hear that!!!