This works for me:
- Create a Page called “Blog” and in Settings > Reading, set the Blog
Page to be the Posts page. - Create a WordPress menu and add to it my Blog Page, Category 1 and Category 2
- Navigate to one of the posts in Category 1
- Category 1 is set as “current-post-parent” in the menu
You can remove “category” from the URL using one of the various methods out there (plugin, permalink structure, .htaccess). I just tried using the permalink structure method and that worked fine.
Hope this works – keeping my fingers crossed & knocking on wood & all that good stuff! 🙂
Related Posts:
- My post repeats itself on the second page [closed]
- How to reverse post navigation at bottom of post
- Pagination doesn’t work in query post in tag template
- Is there an easy way to replace a custom menu link with a page or post?
- Is there a way to exclude the content from the post variable to save on RAM usage?
- Add Javascript to WordPress Menu
- Display/query post formats
- How to query post by user role?
- query_posts() in function makes global $wp_query out of sync?
- How to get a different mobile menu than desktop menu in the twentytwelve child theme
- HTML Bootstrap navigation menu to WordPress menu using wp_nav_menu
- Return only top-level navigation items from a menu using wp_get_nav_menu_items
- WordPress Export Import Site Navigation Menu
- WordPress Custom Query
- Bar separated navigation by extending Walker_Nav_Menu
- Help altering a query to exclude all but standard post format
- How to limit search to first letter of title?
- Post Title displaying but not in the wrapped HTML I need
- Replace menu tag with tag
- How to style current page menu item when using a walker
- How to ensure that is_search() return false after query_posts
- Inserting Post Using wp_insert_post. How to Fill Yoast Plugin SEO Fields
- Query 1 taxonomy term, exclude another
- BuddyPress – How to add logout in nav menu
- Pagination on custom query
- Ordering terms before displaying posts
- Nav Walker current menu item not displaying
- Sort Posts by Multiple Meta Values [duplicate]
- Querying posts with meta value that begins with a certain pattern
- Unable To Get Published posts using query_posts
- Navigation (wp_nav_menu) refuses to nest within parent element
- Read More is not working in query posts
- How to reverse the order of WordPress blog posts?
- Add custom menu item metabox in Navigation Settings
- Get admin menu link
- Open subcategories in submenu on click in primary menu
- Trouble with get_next_post() get_previous_post() returning null
- Hide Menu Unless Logged In
- How to change theme header to support multiple nav menus?
- Possible to display posts containing a short code ?
- How to run a SQL Query for character in Post Titles
- Authors List page : how to exclude posts from certain category
- Add clickable arrows to parent menu items with children elements e.g. with
- How to have the Header show different content on different pages?
- walker – 0 level on submenu formatting
- wp_nav_menu() doesn’t work
- Remove nav menu item by script
- Query a WordPress page by its title (which has a parent page)
- Get menus created with menu editor?
- post_parent array doesn’t work
- How to create a menu with pages and post categories?
- remove specific classes from menu items
- How can i automatically add CPT single pages as sub menu items
- Missunderstanding of WordPress menus
- How to add schema.org SiteNavigationElement and property URL to navbar?
- Related Posts: Notice: Undefined offset: 0
- Give Children Unique ID’s
- When to use WordPress loop or Foreach loop?
- how to remove description from menu buttons?
- Can’t get pagination to work for sticky posts only
- show x number of posts from y category on homepage
- How to Show Comment Count on Related Posts?
- How can I show only 5 posts from the relationship?
- Remove a class from a using Walker
- Make two bootstrap menus collapse into one dropdown
- wp_bootstrap_navwalker Fatal Error
- Custom navigation menu with awsAccordion
- Make query_post category name dynamic
- How can I list posts with different formats depending on order?
- query_posts orderby postmeta [closed]
- WordPress Query based on random taxonomy
- Displaying and Querying Posts with Featured image
- Costum walker with sub menu item count
- View Achive with Category Filter, but Page per post not working
- grab neighboring content in a query
- How to put posts in pages using query posts
- Query add html after set amount of posts?
- Custom loop off by one post
- Global navigation in multisite: problem with categories
- How to setup blog page to render blog posts minus afew categories
- WP Menu Rollover Nav Item and Effect DIV Elsewhere
- Add/remove image from navigation bar
- WordPress nav_menu items from another menu appearing
- How to create a Child & Siblings menu for a custom post type?
- Ordering of posts, 2020 Year showing as next event when should be last
- How can I order these pages in this navigation bar on this old wordpress theme?
- Add href to tag in nav menu for mobile
- Unable to remove page from primary menu
- Show navigation header menu by post and categery
- wp-nav menu with custom walker , how to remove a tag if it has any submenu
- Custom nav menu current item custom link problem
- Custom location for menu
- How to display most popular post by views count in WordPress?
- query multiple posts by id using a string parameter, not array()
- current_page_item and custom post type?
- wordpress superfish dropdown menu
- Query posts in a category and include only one post per author?
- Unable to edit Navigation bar
- Navigation menu, remove item from desktop
- Wrapping my ‘s with