Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- get_header();
- if (have_posts()) :
- while (have_posts()) : the_post();
- if(is_page()){
- the_content();
- }else{
- echo "<h1>";
- single_post_title ( $prefix = '', $display = true );
- echo "</h1>";
- echo "<h2>";
- the_time('F jS, Y');
- echo "</h2>";
- the_content();
- }
- endwhile;
- endif;
- get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement