acheiving page heirarchy using post categories
-
Okay, so I cannot wrap my head around this one… yet:
In my site’s ( https://bit.ly/28Wwtpc ) main navigation menu I have a link called News that directs to the
news
posts category, however I also have ablog
posts section on the site that only displays blog posts ( excludingnews
posts category ). These are the only 2 categories of posts being utilized for this project. I setup the News link to main menu to go to thenews
post category However when I want to go the Blog category posts i lose the active state for the News link in the main navigation.What i am trying to achieve here, without redirects if possible, is the ability for the user to click the News link in the main nav and go to a page that shows only
news
posts. When a user is on this page there is a sidebar nav which includes links tonews
andblog
post category pages. I want the News link in the main nav to keep it’s active state even when the user navigates to the blog posts category page.Things I have tried:
1. make blog post category a child to the news category – this is a no-go because then on the news page ( where the user goes when the News link is clicked on the main nav ) will also show blog posts.2. place both
news
andblog
post categories under anews and press
category – also a no-go because when the user clicks the News link in the main navigation they will be redirected to a page that is like home.php that displays both news and blog posts, perhaps this could work with a redirect on the page the places the user a newspress/category/news/ but I am trying to work this out without using redirectsextra info: So far I have not actually made either a News or Blog pages, instead I used Post Category menu items for the main nav.
– trying to avoid using a redirect
– also trying to see if this can be achieved without additional or modified theme template files
- The topic ‘acheiving page heirarchy using post categories’ is closed to new replies.