Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    Thread Starter yuedesign

    (@yuedesign)

    <?php
    /**
    * @package dsframework
    * @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

    (@yuedesign)

    <?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.