Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ob_start();
- ?>
- <?php get_header(); ?>
- <div id="content">
- <?php the_post(); $nocomment_class=''; if ('open' != $post->comment_status) $nocomment_class=' post-page-nocomment'; ?>
- <div <?php post_class('post post-page'.$nocomment_class); ?> id="post-<?php the_ID(); ?>"><!-- post div -->
- <h2 class="title"><?php the_title(); ?></h2>
- <?php if ('open' == $post->comment_status) { ?>
- <div class="post-info-top">
- <span id="addcomment"><a href="#respond" rel="nofollow" title="<?php _e('Leave a comment ?', 'zbench'); ?>"><?php _e('Leave a comment', 'zbench'); ?></a><?php comments_number(' (0)', ' (1)', ' (%)'); ?></span>
- <span id="gotocomments"><a href="#comments" rel="nofollow" title="<?php _e('Go to comments ?', 'zbench'); ?>"><?php _e('Go to comments', 'zbench'); ?></a></span>
- </div>
- <?php } else { ?>
- <div class="post-info-top post-info-top-nocomment"></div>
- <?php } ?>
- <div class="clear"></div>
- <div class="entry">
- <?php the_content(); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page_link"><strong>' . __( 'Pages:', 'zbench' ) . '</strong>' , 'after' => '</div>' ) ); ?>
- </div><!-- END entry -->
- </div><!-- END post -->
- <?php comments_template( '', true ); ?>
- </div><!--content-->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
- <?php
- $markup = ob_get_contents();
- ob_end_clean();
- $atts = array( "throbber" => "true" );
- echo IX_LL_lazyload( $markup, $atts );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement