WordPress.org

Ready to get started?Download WordPress

Forums

Posts for Page
Posts are Inside one another (1 post)

  1. ernaparalla
    Member
    Posted 1 year ago #

    Instead of displaying each post's image and then each post's content it displays all of the posts' images and then all of the posts' content. Here is the page template code:

    <?php
    /*
    Template Name: People
    */
    ?>
    
    <?php get_header(); ?>
    		<?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
    
    		<!-- Post -->
    		<div class="post">
    
    			<div class="images"></div>
    			<div class="content">
    				<?php the_content(''); ?>
    			</div>
    
    			<div class="title">
    				<b><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></b><br />
    				Posted by <?php the_author(); ?> on <?php the_time('j F Y'); ?>
    			</div>
    		</div>
    
    		<?php endwhile; ?>
    
    		<div id="end">
    			<div class="column">
    				<?php previous_posts_link('Newer<br />') ?>
    				<?php next_posts_link('Older') ?>&nbsp;
    			</div>
    		</div>
    
    	<?php else : ?>
    
    		<!-- 404 -->
    		<div class="column">
    			<h1 id="fourOhfour">404</h1>
    			<h3>This page either never existed or doesn't exist anymore :/</h3>
    		</div>
    
    	<?php endif; ?>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>

    I can't seem to find the problem here, would it be coming from somewhere else? Thanks!

    http://wordpress.org/extend/plugins/posts-for-page/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by ernaparalla
  • This topic is not a support question
  • WordPress version: 3.4.2