WordPress.org

Ready to get started?Download WordPress

Forums

Simple Pagination
Pagination for custom templates (3 posts)

  1. subpopet
    Member
    Posted 2 years ago #

    The plugin is not working in my custom template page, I guess it's because templates don't use the property "paged" but "page".

    Or maybe there's something wrong my code

    At first I was using

    query_posts();

    I tried this, but it didn't fix it

    $paged = (get_query_var('page')) ? get_query_var('page') : 1;
    query_posts( array( 'paged' => $paged));

    http://wordpress.org/extend/plugins/simple-pagination/

  2. subpopet
    Member
    Posted 2 years ago #

    One week and no answer, I'd better look for another plugin..

  3. GeekPress
    Member
    Plugin Author

    Posted 2 years ago #

    Your request is bad !

    Try this :
    $paged = get_query_var('paged') ? get_query_var('paged') : 1;

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic