WordPress.org

Ready to get started?Download WordPress

Forums

WP-Paginate
[resolved] Does wp-paginate work with template files? (2 posts)

  1. sem101
    Member
    Posted 1 year ago #

    Hi,

    Everything works fine within THEME files, but when I try to use a TEMPLATE file, no pagination shows up? Is there something I'm missing?

    Example: mytheme/index.php - PAGINATION WORKS
    if (function_exists('wp_paginate')) { wp_paginate(); }

    Example: mytheme/page-mycustomtemplate.php
    wp-admin > Pages > Page Attributes . Template = My Custom Template
    if (function_exists('wp_paginate')) { wp_paginate(); }
    PAGINATION DOES NOT SHOW

    Thanks!

    http://wordpress.org/extend/plugins/wp-paginate/

  2. sem101
    Member
    Posted 1 year ago #

    oops, i had it outside my query_posts

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic