sidebar for 1 page (3 posts)

  1. rjfalcons
    Posted 10 years ago #


    is it possible to make a sidebar for 1 page only.. so when you open the page you see different subjects then when you open it op your index page..
    something with if_page is ...
    I don't have much knoledge of php so maybe someone can help me?


  2. Kafkaesqui

    Posted 10 years ago #

    By page do you mean Page (as in Write > Page), or just a general WordPress page?

    You could use the is_page() conditional tag with a parameter of the Page's ID (is_page(10)) to test for it. is_single() works the same way, if you need this for a post. In an if/else statement you could then either alternate what is to be displayed on your sidebar, or include a different file for your sidebar.

  3. rjfalcons
    Posted 10 years ago #

    A page you make (Write > page) I haven't got the pages in my sidebar but in a nav on top of the page. So I make pages and add them manually to the navigation. So I make pages and decide wheter I'm going to add them as a menu link or else.

    this is the site: http://rjfalcon.com/wowclan

    I want to make in the section "members" different links to pages of the members in the sidebar.
    Or if that isn't possible I want to make several posts in a page. so the post doesn't shows on the index page but on the members page.

    Hope you can help me...

Topic Closed

This topic has been closed to new replies.

About this Topic