ThemeShaper Forums » Thematic


Add left sidebar on certain pages

(5 posts)
  • Started 11 years ago by fedude
  • Latest reply from sfrangos
  • This topic is not resolved
  1. fedude

    I have created a child theme with no sidebars. I used the code below to remove the standard sidebar.

    // Do not display Sidebar
    function kill_sidebar() {
    	return FALSE;
    add_action('thematic_sidebar', 'kill_sidebar');

    But on certain pages I would like to have a left sidebar that contains a mini page menu. It's probably easy in Thematic, but I'm still coming up-to-speed. Can anyone help?

    Posted 11 years ago #
  2. fedude


    Posted 11 years ago #
  3. I not a pro but I would
    do something like
    to leave it on single and category pages

    if (is_single ()|| is_category () )
    return true
    return false

    Posted 11 years ago #
  4. fedude

    Thanks for the reply. I was thinking about somkething like that. Maybe using specific page ID's. Hacky, but still should work.

    I'm still so new to thematic that I don't know how to get a left sidebar instead of a right sidebar?

    Posted 11 years ago #
  5. Hi -

    Not sure anyone took a stab at the answer to what was asked here, so I will ask again:

    How do you use either a template or the functions file to only display a right (or left) sidebar on a certain page?

    Thanks -

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.