Settings options not showing up on Sub Menu page in WordPress plugin?

How to maintain sub navigation on a Wordpress page when on a post detail page

  • I have a wordpress website that is using a custom page template that queries posts from a particular category.This page template has a sub nav(s) in its left column thats generated based on what top level page has been selected. All this works fine and the page template displays all the correct posts.The problem is the post items displayed in this page template link through to the post detail page (single.php) as this is the post detail page im not sure how to keep the relevant left column sub nav in place that relates to the section they where in? suggestions appreciated

  • Answer:

    Can you provide a link to your site?

toocan at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Other answers

If I'm understanding, you have multiple subnav configurations, and you want Wordpress to figure out which one is appropriate to display on a given single post page. If all the posts that currently would share a subnav menu have a category or tag in common, this would be pretty easy to code (just query the tag and have that generate the subnav). If the subnav is dependent on which page the user CAME from rather than a static thing tied to each post, then it's a bit trickier . . . you could possibly pass a variable in the link (it would look something like "www.example.com?id=5" with the id # corresponding to the subnav option), then query that variable to generate the subnav.

Fifi Firefox

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.