Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Tests to see if page/post is a blog post and displays blog-sidebar.php
- if (is_single() && in_category('40')) {
- include(TEMPLATEPATH . '/blog-sidebar.php');
- } elseif (is_page()) {
- echo 'testing';
- }
- } else {
- // catch-all for everything else (archives, searches, 404s, etc)
- get_sidebar();
- } // That's all, folks!
- ?>
Add Comment
Please, Sign In to add comment