Title: Posts repeating
Last modified: August 20, 2016

---

# Posts repeating

 *  [yuedesign](https://wordpress.org/support/users/yuedesign/)
 * (@yuedesign)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/posts-repeating/)
 * A cycle of the five most recent posts seem to repeat on every page (previous/
   newer): [http://owenyue.com/timeline/](http://owenyue.com/timeline/)
 * Any suggestions are appreciated

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/posts-repeating/#post-3612185)
 * please post the full code of that template;
 * if you are using a custom query, make sure to integrate the ‘paged’ parameter–
   [http://codex.wordpress.org/Class_Reference/WP_Query#Pagination_Parameters](http://codex.wordpress.org/Class_Reference/WP_Query#Pagination_Parameters)
 *  Thread Starter [yuedesign](https://wordpress.org/support/users/yuedesign/)
 * (@yuedesign)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/posts-repeating/#post-3612286)
 * <?php
    /** * [@package](https://wordpress.org/support/users/package/) dsframework*
   [@since](https://wordpress.org/support/users/since/) dsframework 1.0 */ ?>
 * <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <header class=”
   entry-header”> <h1 class=”entry-title”>” title=”<?php printf( esc_attr__( ‘Permalink
   to %s’, ‘dsframework’ ), the_title_attribute( ‘echo=0’ ) ); ?>” rel=”bookmark”
   ><?php the_title(); ?></h1>
 *  <?php if ( ‘post’ == get_post_type() ) : ?>
    <div class=”entry-meta”> <?php 
   the_category(‘, ‘); ?> · Taken on the <?php the_time(‘jS’)?> of <?php the_time(‘
   F’)?>, <?php the_time(‘Y’) ?> by <?php the_author(); ?> · <font style=”border-
   bottom: 1px solid rgba(0, 0, 0, 0.05);”><?php comments_popup_link(‘leave a comment’,‘
   1 comment’, ‘% comments’);?></font> </div> <?php endif; ?> </header> <?php if(
   is_search() ) : ?> <div class=”entry-summary”> <?php the_excerpt(); ?> </div>
   <?php else : ?> <div class=”entry-content”> <?php the_content( __( ‘Continue 
   reading <span class=”meta-nav”>→</span>’, ‘dsframework’ ) ); ?> <?php wp_link_pages(
   array( ‘before’ => ‘<div class=”page-links”>’ . __( ‘Pages:’, ‘dsframework’ ),‘
   after’ => ‘</div>’ ) ); ?> </div> <?php endif; ?> </article> ` that’s the template
   of where the post’s are as they’re not on the home page
 *  Thread Starter [yuedesign](https://wordpress.org/support/users/yuedesign/)
 * (@yuedesign)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/posts-repeating/#post-3612287)
 *     ```
       <?php
       /**
        * @package dsframework
        * @since dsframework 1.0
        */
       ?>
   
       <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
       	<header class="entry-header">
       		<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'dsframework' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
   
       		<?php if ( 'post' == get_post_type() ) : ?>
       		<div class="entry-meta">
       			<?php the_category(', '); ?> · Taken on the <?php the_time('jS')?> of <?php the_time('F')?>, <?php the_time('Y') ?> by <?php the_author(); ?> · <font style="border-bottom: 1px solid rgba(0, 0, 0, 0.05);"><?php comments_popup_link('leave a comment', '1 comment', '% comments');?></font>
       		</div>
       		<?php endif; ?>
       	</header>
       	<?php if ( is_search() ) : ?>
       	<div class="entry-summary">
       		<?php the_excerpt(); ?>
       	</div>
       	<?php else : ?>
       	<div class="entry-content">
       		<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'dsframework' ) ); ?>
       		<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'dsframework' ), 'after' => '</div>' ) ); ?>
       	</div>
       	<?php endif; ?>
       </article>
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Posts repeating’ is closed to new replies.

## Tags

 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [repeating](https://wordpress.org/support/topic-tag/repeating/)
 * [the-loop](https://wordpress.org/support/topic-tag/the-loop/)

 * 3 replies
 * 2 participants
 * Last reply from: [yuedesign](https://wordpress.org/support/users/yuedesign/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/posts-repeating/#post-3612287)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
