Archived topic
Site Library Template Dispatch - Secondary Navigation
10 replies · Started by Butch Pornebo on February 22, 2021
On the demo site of Dispatch, there is a secondary navigation menu (Category Menu) just under the magazine grid of the home page.
However, when I imported the site and WITHOUT any mods on my end but just a straight import, the secondary navigation is not showing up.
Why is that?
My url in private info.
I also checked that secondary navigations is enabled in the customizer. and it is.
Hi Butch,
Just to make sure have you assigned a menu to secondary navigation?
https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#setting-a-theme-location
Let me know :)
this was a straight import of the template Dispatch & have NOT made any mods.
so I'm expecting that it will be exactly like the demo version of dispatch.
https://drive.google.com/file/d/112ilmZ332E7ycdVBMXrXnfOgytFzfUR_/view?usp=sharing
As you have suggested, "Just to make sure have you assigned a menu to secondary navigation?" but did not make a difference.
https://drive.google.com/file/d/1a4mJP9Ef7rP4hGmePA_0f_ESoCRISsgz/view?usp=sharing
And this is what I see in the customizer. Did not make any modifications to the customizer at all. as I have mentioned it is a straight import of the demo.
https://drive.google.com/file/d/1NofdLT6kj69y3bwhek2aaBa9Snd9rEmb/view?usp=sharing
try it out for yourself. create a temp Wordpress site and import dispatch to see if you are getting the same results that I got.
thanks in advance
I'm guessing that your site is not allowing PHP execution.
Go to Appearance > Elements > Secondary Navigation and check to see if Execute PHP is checked:
https://www.screencast.com/t/uCKiiJyI
If you are seeing Disallow PHP Execution then this should help:
https://docs.generatepress.com/article/disallow-php-execution/
looks like that's it.
will look into it and update the thread
sorry but kind of confused in the explanation on that article. it's not quite clear if it is possible for what I wanted to happen.
I would like to still have the intended use of "define( 'DISALLOW_FILE_EDIT', true );"
but allow GP Hooks to execute.
Would this be possible and how would I implement this scenario?
thanks. solved
No problem :)