Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( have_posts() ) { the_post(); rewind_posts(); } ?>
- <?php if ('books' == get_post_type()) { ?>
- <?php include(TEMPLATEPATH . '/single-books.php') ?>
- <?php } elseif ('slug' == get_post_type()) { ?>
- <?php include(TEMPLATEPATH . '/single-slug.php') ?>
- <?php } else { ?>
- <?php include(TEMPLATEPATH . '/single-blog.php') ?>
- <?php } ?>
Add Comment
Please, Sign In to add comment