Does wp-paginate work with template files?
-
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 SHOWThanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Does wp-paginate work with template files?’ is closed to new replies.