> <?php echo $status ? 'Completed' : 'Live Project'; ?> </small> <button class="pull-right btn btn-sm">→</button> </div> </a> </li> <?php } ?> </ul> <?php } ?> </div> <div class="projects-navigator"> <?php $my_search->pagination(); wp_reset_query(); ?> </div> </div> <?php } get_footer();
the_title(); ?> </a></h2> <p><strong>Author:</strong> <?php the_author(); ?> <strong>Date:</strong> <?php the_date(); ?> </p> <?php the_excerpt(); ?> <p><a href="<?php the_permalink(); ?> ">Read more...</a></p> <?php } $my_search_object->pagination(); } else { echo 'Sorry, no posts matched your criteria.'; } $wp_query = $temp_query; wp_reset_query(); ?> </div><!-- /. page-body --> <?php get_footer();
$wp_query = $my_search->query(); ?> <?php if (have_posts()) { while (have_posts()) { the_post(); ?> <?php get_template_part('partials/loop', 'findings-search'); ?> <?php } $my_search->pagination(array('prev_text' => '«', 'next_text' => '»')); } wp_reset_query(); $wp_query = $temp_query; ?> </div> <div class="large-4 columns"> <div id="search" class="archive-findings columns"> <h5>Filter</h5> <?php $my_search->the_form(); ?> <p>You can filter the findings by year, type, project or author. Alternatively, you can search for a keyword (which must appear in the title of the finding).</p> </div>