Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- global $post;
- $page_for_posts_id = get_option( 'page_for_posts' );
- if ( $page_for_posts_id ) :
- $post = get_page( $page_for_posts_id );
- setup_postdata( $post );
- ?>
- <div id="post-<?php the_ID(); ?>">
- <header>
- <h1><?php the_title(); ?></h1>
- </header>
- <div class="entry-content">
- <?php the_content(); ?>
- </div>
- </div>
- <?php
- rewind_posts();
- endif;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement