• searchzombie

    (@searchzombie)


    I want to have a custom set of sidebar links per Page of my site so that these links can act as my second-tier navigation. For example, I am building a running site and have top level pages for Training, Nutrition, Races etc. When a user clicks on one of those top level pages, I then want to have a sub navigation via the sidebar links. For example, if a user clicks on the page for Training, I want that sidebar to have custom links for Training for Beginners, Speed Training etc. And if someone clicks on a different top level page such as Nutrition, I then want the sidebar to have custom links such as Race Day Diet, etc.

    Can anyone recommend a simple yet effective plugin for this? In short, I want a plugin that lets me customize the sidebar links for every page of my site.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • miloandrew

    (@miloandrew)

    You actually don’t need a plugin.

    You need to use custom page templates.

    Basically, you take the basic single.php page and create training.php, nutrition.php, etc. and in that page, you list the custom links that you want to show up on the page.

    Then, when you actually create the WordPress page (admin -> write -> Page) you select the appropriate php file that you created as the page template as an option on that wordpress page. The page template is the third option from the bottom on the edit screen.

    Hope that helps!

    -A

    Thread Starter searchzombie

    (@searchzombie)

    When you say create those other pages, you mean actually take the single.php file from my file servers and essentially duplicate it (however changing the links) and then upload it to my servers?

    Also, I’m not sure which edit option you are talking about. I went into my dashboard and clicked to edit a page and I don’t see any option about choosing a page template.

    Thanks!

    Are you confusing pages with posts?
    You won’t see a page template option when writing a post, only when writing a page.
    Also, the procedure for having separate sidebars on custom pages is… well… not a simple thing to do.
    Let me know if I can help you in any way.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom sidebar links per Page’ is closed to new replies.