Adding different sidebar to pages added via admin panel. Is this even possible?

  • Author
    Posts
  • #437891

    johnnybmn
    Member

    Hi there,

    I have 4 pages, 1 is a home page which I hard coded into index.php. The other 3 pages I have created by going to ‘Edit Pages’ in the admin panel and adding a new page for each. Each 3 of these pages uses page.php to display their content. However, I would like each one to display a different dynamic sidebar, but as they all use page.php is this even possible? I can create multiple sidebars but then how would I then link each page that is created to a different one?

    I know that pages like archives.php and search.php can display different ones by changing get_sidebar, but what about if all the pages are using the same php file – page.php?!! HELP!!!

    #438055

    supportbot
    Member

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

    #438056

    timethief
    Member

    We cannot help you here ate wordpress.COM. The correct forum for those self hosting wordpress.ORG software is here http://wordpress.org/support

The topic ‘Adding different sidebar to pages added via admin panel. Is this even possible?’ is closed to new replies.