Hiding Pages in Navigation
-
I want to hide my recipe pages under each category. I have a drop down under recipes for breakfast, lunch, and dinner, but I don’t want all of my recipes to show up in that dropdown menu as well. Rather than hover over breakfast and have it say the waffle recipe I want them to just click on the Breakfast page. How do I hide the page from navigation in my menu?
The blog I need help with is: (visible only to logged in users)
-
Hi there,
You’re using a custom menu on your site, so nothing is added to your menu unless you manually add it yourself, and if you don’t want an item to show in the menu you can also remove it. Go to My Site ->Customize ->Menus ->Primary to edit your existing menu.
That said, you’re not using categories on your site. You’re using pages with child pages, and doing it this way has two very important drawbacks:
1) There is no way for people to subscribe to be notified when you post new recipes. Notifications only go out when you publish blog posts, not when you publish pages, so the only traffic you’ll get to your site with the current setup would be from content you share on social media and whatever search engines send you.
2) It’s all manual. New recipes you publish won’t show up automatically on, for example, the breakfast page, but you’ll need to add a link manually every time. And you can’t use the gallery you currently have on that page to link to the pages, as gallery images cannot link to other pages on a site.
I strongly recommend you use actual category pages instead:
Publish your recipes as new blog posts, and assign them the category of Breakfast, Lunch or Dinner as the case may be. Then add the Category itself, rather than a page, to your site’s menu.
When you do this any post you publish with a particular category will automatically appear under the appropriate menu heading, and let’s say a recipe could work for either lunch or dinner, you just add both categories and the recipe would automatically appear on both pages.
https://en.support.wordpress.com/category-pages/
Please let me know if you have any more questions about this.
- The topic ‘Hiding Pages in Navigation’ is closed to new replies.