Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @package WordPress
- * @subpackage BigAssMonsters
- */
- get_header(); ?>
- <div id="page">
- <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <h1 class="entry-title"><?php the_title(); ?></h1>
- <?php if(has_post_thumbnail()) { ?>
- <?php $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ?>
- <img src="<?php echo $url ?>" title="<?php the_title(); ?>" />
- <?php } else {} ?>
- </header><!-- .entry-header -->
- <div class="left-col">
- <div class="page-content">
- <?php the_content(); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'themename' ), 'after' => '</div>' ) ); ?>
- <?php edit_post_link( __( 'Edit', 'themename' ), '<span class="edit-link">', '</span>' ); ?>
- </div>
- </div>
- <?php get_sidebar(); ?>
- </article><!-- #post-<?php the_ID(); ?> -->
- </div>
- <?php endwhile; // end of the loop. ?>
- </div> <!--/content-->
- </div> <!--/container-->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement