Leo
(@leohsiang)
Hi Chris,
May I ask why you are trying to remove generate_before_header?
It’s simply a hook and shouldn’t interfere with anything.
Ah, okay, that helps already 🙂
I’ve been playing around with a couple of different ideas.
Right now, with a new install of Generator Press and a site I imported in, it’s displaying menu links – every link from every menu I had on the old site.
I wanted to remove those and when I commented out that line in header.php I got what I want 🙂
But based on your post, I figured maybe something was going awry. Further investigation found that my menus either didn’t import over to the new site, or I didn’t export/import them, so I guess Generate Press was just displaying every page I had.
I’ve set up a menu now and that issue is mostly fixed – though I would like to find out how to display the mobile style menu on desktop, rather than links across the top,
Chris
And found that info here:
https://docs.generatepress.com/article/generate_mobile_menu_media_query/
Very cool, I’m really enjoying GP so far. Tried to find the simplest, fastest, theme that didn’t add a bunch of stuff I didn’t want 🙂 This fits the bill and has excellent documentation and support to boot 🙂
Chris