Skip to content

Instantly share code, notes, and snippets.

Created January 23, 2018 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/57639cc59f796a1099bc4080ce80cb7f to your computer and use it in GitHub Desktop.
Save anonymous/57639cc59f796a1099bc4080ce80cb7f to your computer and use it in GitHub Desktop.
<?php get_header(); ?>
<!-- BEGIN PAGE -->
<div id="page">
<?php if (of_get_option('promax_latest' ) =='1' ) {get_template_part('/includes/ltposts');} ?>
<div id="page-inner" class="clearfix">
<div id="content">
<div class="posthd"><?php promax_tiltechange(); ?></div>
<div class="three-columns group">
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<div class="imag"><?php get_template_part('/includes/post'); ?></div>
<?php endwhile; ?>
<?php else : ?>
<div class="post">
<div class="posttitle">
<h2><?php _e('404 Error&#58; Not Found', 'promax' ); ?></h2>
<span class="posttime"></span>
</div>
</div>
<?php endif; ?>
</div>
<?php get_template_part('/includes/pagenav'); ?>
</div> <!-- end div #content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment