Viewing 3 replies - 1 through 3 (of 3 total)
  • You have && instead of &.

    Thread Starter huangweiqiu

    (@huangweiqiu)

    I have change && to be &,but the page navigation still doesn’t work.

    Thread Starter huangweiqiu

    (@huangweiqiu)

    I have resolved this issue by myself. The solution is to add <?php if (is_home()&&!is_paged()): ?>,the correct codes is below :

    <php if (is_home()&&!is_paged()): ?>
    <?php $posts = get_posts( “category=213&&numberposts=10” ); ?>
    <?php if( $posts ) : ?>

    * <?php foreach( $posts as $post ) : setup_postdata( $post ); ?> ” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_title(); ?>

    <?php endforeach; ?>
    <?php endif; ?>

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

The topic ‘help, my page navigation dosen’t work’ is closed to new replies.