Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Home - Last Articles
- */
- ?>
- <?php get_header(); ?>
- <?php include 'feature.php' ; ?>
- <!-- MAIN CONTENT -->
- <section id="main-container">
- <div class="row">
- <h1 class="hidden"><?php echo get_bloginfo('name'); ?></h1>
- <!-- Last Tweet -->
- <?php if( (get_option('bd_display_big_tweet')!='') && (get_option('bd_twitter_url')!='')): ?>
- <div class="block">
- <div class="inner">
- <div class="bigtweet">
- <div class="clear"></div>
- </div>
- </div>
- </div>
- <?php endif; ?>
- <div class="block">
- <div class="inner">
- <div id="chainsaw-digest-top">
- <p>
- <img src="/wp-content/themes/zine/images/sharpthought.png" />
- </p>
- <h1>If this is the sort of thing you enjoy, you should subscribe to our free, weekly, pulp-style eNewsletter called Chainsaw Digest.</h1>
- <p>
- <script type="text/javascript" src="http://forms.aweber.com/form/78/255012978.js"></script>
- </p>
- </div>
- </div>
- </div>
- <?php if (have_posts()) : while (have_posts()) : the_post();?>
- <?php if (get_the_content()!=''): ?>
- <div class="block">
- <div class="inner">
- <?php the_content(); ?>
- </div>
- </div>
- <?php endif ; ?>
- <?php endwhile; endif; ?>
- <div class="content">
- <?php if(get_option('bd_home_type')=='blog'): ?>
- <?php get_template_part('last', 'posts'); ?>
- <?php elseif(get_option('bd_home_type')=='movie-reviews'): ?>
- <?php get_template_part('last', 'movie-reviews'); ?>
- <?php elseif(get_option('bd_home_type')=='music-reviews'): ?>
- <?php get_template_part('last', 'music-reviews'); ?>
- <?php elseif(get_option('bd_home_type')=='game-reviews'): ?>
- <?php get_template_part('last', 'game-reviews'); ?>
- <?php elseif(get_option('bd_home_type')=='book-reviews'): ?>
- <?php get_template_part('last', 'book-reviews'); ?>
- <?php else: ?>
- <?php get_template_part('last', 'all'); ?>
- <?php endif ; ?>
- </div>
- <?php get_sidebar(); ?>
- </div>
- </section>
- <!-- END MAIN CONTENT -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement