Archived topic
Can I put the menu list somewhere within the page with a shortcode?
7 replies · Started by Mark on June 8, 2020
I currently have a site that I will have the menu as a hamburger menu but I would like the menu to be listed within the page.
It's basically:
[Space]
[LOGO]
[Text]
[Menu]
It would go underneath the text on the link I sent. How can I display the menu on the page?
Hi there,
What about an option like this?
https://docs.generatepress.com/article/footer-bar-widget-area/#adding-a-footer-menu
No, I would like to add it to the page itself. I could add it as a html code and just do links but I want to be able to use Wordpress's menu functionality. I will update the site I sent with words in red where I would like the menu to be.
Have you done this?
I'm not seeing words in red indicating where the menu should be.
Yes. It's the words "Report Misconduct – Find a News Station"
Hmm I don't see a way to insert the menu in the middle of the page unfortunately.
What if we make this section the header?
https://www.screencast.com/t/4o3ZhpkJbDS
I'll look into doing that. It's a bit of a bandaid. But, I imagine I have to make a wordpress shortcode that inserts wp_nav_menu( array $args = array() ) into the post.
You could try this solution:
https://generatepress.com/forums/topic/can-i-call-a-menu-from-shortcode/#post-881776