• I want to have a different sidebar for each category (there will be 50+) so I went through the documentation and found that I could create a category-xxx.php for each cat and create a new look for each.

    Also – how can I create something unique for each page? Do I create something like page-xxx.php like the syntax taht I use with categories?

Viewing 1 replies (of 1 total)
  • Thread Starter soleman

    (@soleman)

    I figured out the page part:

    <?php if (is_page(8)) {include (‘sidebar2.php’); }
    else if (is_page(2)) {include (‘sidebar2.php’); }
    else {include (‘sidebar.php’); }
    ?>

    put it in page.php.

Viewing 1 replies (of 1 total)
  • The topic ‘Am I Doing This The Right Way? Sidebars in Cats – category-xxx’ is closed to new replies.