Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div class="l-inside">
- <article class="l-constrained">
- <?php
- $count = count($posts);
- ?>
- <h2>
- Results for <a href="<?php echo get_category_link(); ?>">"<?php $category = get_the_category(); echo $category[0]->cat_name; ?>"</a> <?php echo $count ?> Results Found
- </h2>
- <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <section class="over-fix sub-header">
- <div class="postdate">
- <div class="date">
- <?php echo get_the_date('d M'); ?>
- </div>
- </div>
- <div class="title switch-links">
- <h1><a href="<?php the_permalink(); ?>" alt="<?php the_title_attribute(); ?>"><?php the_title();?></a></h1>
- </div>
- <div>
- <a class="button" href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>">Read Moreβ¦</a>
- </div>
- </section>
- <?php endwhile; ?>
- <?php wp_pagenavi(); ?>
- </article>
- <?php get_sidebar(); ?>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement