StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-04-2008, 08:45 AM
Phil Barron Phil Barron is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Location: St. Louis, MO, US
Posts: 10
Default Pagination in Rev News and Rev Original

I found today that an earlier entry containing the <–nextpage–> split did not show up as paginated in Revolution News; instead, visitors saw only the first page with no links to subsequent pages. I added a template tag just below the the_content tag in the main index template...

Code:
<?php the_content(__('Read more'));?><div style="clear:both;"></div>

<?php wp_link_pages(array('before' => '

Pages: ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
...which enabled normal pagination. The wp_link_pages tag is also missing in the original Revolution.

It may be that not many people actually have a need to paginate posts, but adding the tag to themes going forward might be worthwhile. Thanks!
__________________
Waveflux: Open 24/7.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between News Classic and News Child Theme ericareid General Discussion 5 08-06-2010 01:09 PM
Is the Original Revolution Theme Available? harmsway14 General Discussion 1 10-28-2009 01:59 AM
Original header.php Drew General Discussion 8 08-16-2009 06:16 AM


All times are GMT -5. The time now is 01:18 AM.

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