Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <div class="stitle">
- <div class="newsport" style="background-image:url(<?php echo get_the_post_thumbnail_url($post->ID, 'medium'); ?>)"></div>
- <h1><?php the_title(); ?></h1>
- </div>
- <div class="thecontent wrap">
- <?php echo get_the_date(); ?>
- <p><?php the_content(); ?></p>
- </div>
- <div class="wrap">
- <?php if ( comments_open() || get_comments_number() ) :
- comments_template();
- endif;?>
- </div>
- <?php endwhile; ?>
- <?php endif; ?>
Add Comment
Please, Sign In to add comment