Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

How to have next/prev Page links in custom page template?


  #1  
Old Oct 1, 2010, 02:53 AM
bongo
 
9 posts · Jan 2010
Hi all,

I have a custom page template like the following, which shows posts formatted in a particular way (this is done in do_something). But with this page template, the next/prev page links are not showing, even if I put bfa_next_previous_page_links() inside. How should next/prev Page links be displayed when using a page template?

<?php
/*
Template Name: Archives
*/
?>

<?php
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
get_header();

if (have_posts()) {
$bfa_ata['postcount'] == 0;

bfa_center_content($bfa_ata['content_above_loop']);

do_something();

bfa_center_content($bfa_ata['content_below_loop']);

// Even this doesn't work
bfa_next_previous_page_links();
}
else {
bfa_center_content($bfa_ata['content_not_found']);
}

bfa_center_content($bfa_ata['center_content_bottom']);

get_footer();
?>
  #2  
Old Oct 1, 2010, 06:28 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
use index.php as your template, you are missing some of the globals that are needed
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
next/previous navigation, template

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: a 'Custom Query' PAGE template juggledad Atahualpa 3 Wordpress theme 1 Jul 15, 2010 07:07 PM


All times are GMT -6. The time now is 05:44 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.