php - Issue with code used to pull data from posts in wordpress -
a developer of ours wrote template code wordpress , when particular template applied wordpress page takes wording , presents on end-user page in tidy fashion. at minute, script can display 1 'press release' per month, display multiple per month cannot so. a clear screenshot of issue can found here http://i.stack.imgur.com/tqtld.png <?php /* template name: press releases (beta) */ ?> <?php get_header(); $press_releases = getpressreleases($post->post_content); ?> <div class="container rayures"> <?php require('search_bar.php'); ?> <ol class="breadcrumb"> <li><a href="<?php echo get_site_url(); ?>">home</a></li> <li><!--[if lt ie 8]> / <![endif]--><a href="#">news</a></li> <li><!--[if lt ie 8]> / <![endif]--><a href="#">press releases<...