WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Limits
Pagination (3 posts)

  1. stubutlerstaffs
    Member
    Posted 2 years ago #

    Hi,

    I suspect my problem is down to me but I've installed your plugin on my site so that I can set the number of posts on my first page to 3 and subsequent pages i.e. 2+ to 12.

    I've got 17 post on the blog, when I load the first page I see 3 posts (great), click older posts, see 12 posts (again great) but on page 2 there is no older posts button to click to view the last 2 posts?

    I have a header to my main section above where I display the loop that swaps a title for a clickable newer posts on pages > 1 as follows:

    <?php if ( !is_single() && $paged > 1 )
    {echo previous_posts_link( __( '<< Newer posts' ) );}
    else
    {echo "Latest Posts";} ?>
    <div id=nextpost>
    <?php next_posts_link( __( 'Older posts >>',0 ) ); ?>
    </div>

    I can't work out why when page = 2, my older posts no longer works...

    It did work before I used your plugin, is there something I need to change for my code to be compatible?

    Thanks,

    Stu

    http://wordpress.org/extend/plugins/custom-post-limits/

  2. stubutlerstaffs
    Member
    Posted 2 years ago #

    Just to add a little more information, the if statement still works fine as the newer posts link does appear, just the older posts one disappears...

  3. GreenLead
    Member
    Posted 1 year ago #

    I've been experiencing the same problem as well, with a Front Page Limit of 1~4 and subsequent Paged Limit of 8 and above.

    Essentially, it seems that subsequent paged limits greater than 8 don't work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.