Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php global $woo_options,$portfolio_exclude; ?>
- <?php if ( isset($woo_options['woo_slider']) && $woo_options['woo_slider'] == 'true' ) { ?>
- <?php if ( is_home() && isset($woo_options['woo_featured_tags']) && $woo_options['woo_featured_tags'] != '' ) { get_template_part( 'includes/featured' ); } else { get_template_part( 'includes/featured-error' ); } ?>
- <?php } ?>
- <div id="content" class="col-full">
- <?php if ( $woo_options['woo_portfolio'] == 'true' ) { ?>
- <?php get_template_part( 'loop', 'portfolio' ); ?>
- <?php } ?>
- <?php if ( $woo_options['woo_blog_panel'] == 'true' ) { ?>
- <div id="blog">
- <!-- #main Starts -->
- <div id="main" class="col-left">
- <?php if ( $woo_options['woo_blog_panel_headers'] == 'true' ) { ?><h1 class="tumblog-title"><?php _e($woo_options['woo_blog_panel_header'], 'woothemes') ?><span class="tumblog-tagline"><?php _e($woo_options['woo_blog_panel_description'], 'woothemes') ?></span></h1><?php } ?>
- <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("post_type=post&posts_per_page=".$woo_options['woo_blog_number_of_posts']); ?>
- <?php if (get_option('woo_woo_tumblog_switch') == 'true') { ?>
- <?php get_template_part( 'loop', 'tumblog' ); ?>
- <?php } else { ?>
- <?php get_template_part( 'loop', 'default' ); ?>
- <?php } ?>
- <?php if ( ( isset($woo_options['woo_blog_page_template']) ) && ( $woo_options['woo_blog_page_template'] > 0 ) ) { ?><a class="fr" href="<?php echo get_permalink($woo_options['woo_blog_page_template']); ?>" title="<?php _e( 'Blog Archive', 'woothemes' ); ?>"><?php _e( 'Blog Archive', 'woothemes' ); ?> →</a><div class="fix"></div><?php } ?>
- </div><!-- /#main -->
- <?php get_sidebar(); ?>
- </div>
- <?php } ?>
- </div><!-- /#content -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement