Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Oct 1, 2010, 01:53 AM
bongo
 
9 posts · Jan 2010
How to have next/prev Page links in custom page template?

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();
?>
 

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 06:07 PM


All times are GMT -6. The time now is 11:07 AM.


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