custom sidebar per page (3 posts)

  1. iluvwrdpress
    Posted 5 years ago #


    I was reading the previous post: http://wordpress.org/support/topic/custom-sidebar-per-page?replies=15
    about creating a custom sidebar per page but still a little confused.

    I'm trying to figure out where to put that if statement in my theme. There is a page called page.php in my list of pages with this code at the top:

    <?php include (TEMPLATEPATH . '/sidebarLeft.php'); ?>

    would i be adding the if statement to that code?

    Also, do I make new php files of the custom sidebars that I will be creating? Is there a template to use for this? Can widgets still be added through the WP interface?

    I'm using the Eximius theme.


    new and learning...

  2. Brian Layman
    Posted 5 years ago #

    You can do this without any theme editing with my plugin:


  3. liatmgat
    Posted 5 years ago #

    OH MY GOD YOU ARE A LIFESAVER!! In all my searching for how to do this, and in all my stressing about php and template editing, I had no idea there was a plugin for this. THANK YOU, THANK YOU, THANK YOU, from the bottom of my heart!!

Topic Closed

This topic has been closed to new replies.

About this Topic