Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div class="hrlineB"></div>
- <div id="singlecontent">
- <?php get_template_part('/includes/mag-ticker-random');?>
- <?php if (have_posts()) : ?>
- <?php $post = $posts[0]; ?>
- <?php if (is_category()) { ?>
- <h2 class="leading"><?php _e('Archive for the','themnific');?> ‘<?php single_cat_title(); ?>’ <?php _e('Category','themnific');?></h2>
- <?php } elseif( is_tag() ) { ?>
- <h2 class="leadingB"><?php _e('Tutorials Tagged','themnific');?> ‘<?php single_tag_title(); ?>’</h2>
- <div id="category-tags"><ul><li><a href="/category/tutorials/"><< All Tutorials</a></li></ul></div>
- <?php } ?>
- <div class="hrline"><span></span></div>
- <ul id="tutorials" class="tutorialspost">
- <?php while (have_posts()) : the_post(); ?>
- <?php get_template_part('/includes/post-types/tutorialspost');?>
- <?php endwhile; ?> <!-- end post -->
- </ul><!-- end latest posts section-->
- <div style="clear: both;"></div>
- <div class="pagination"><?php pagination('«', '»'); ?></div>
- <?php else : ?>
- <h1>Sorry, no posts matched your criteria.</h1>
- <?php get_search_form(); ?><br/>
- <?php endif; ?>
- </div><!-- end #homesingle-->
- <div id="sidebar" class="body2 boxshadow">
- <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Sidebar") ) : ?>
- <?php endif; ?>
- </div><!-- #homeright -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement