WordPress.org

Forums

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

  1. sem101
    Member
    Posted 3 years 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 3 years ago #

    oops, i had it outside my query_posts

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Paginate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic