Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Excerpts, Read more, Pagination »

[SOLVED] How to use "WP Page Numbers" plugin with Atahualpa 3.5.3


 
Prev Previous Post   Next Post Next
  #1  
Old Dec 29, 2010, 09:24 PM
Steve41
 
10 posts · Dec 2010
[SOLVED] How to use "WP Page Numbers" plugin with Atahualpa 3.5.3

I want to use numbered links instead of "Older - Newer Entries" under category listings.
The plugin, WP Page Numbers - found here - requires that I do the following:
Quote:
Instructions - Code to add to your theme

Add the code where you find previous_post() and next_post() functions. If you can't find these tags, place the code between endwhile; and endif; in the_loop.
Code to add in your theme
Code:
<?php if(function_exists('wp_page_numbers')) : wp_page_numbers(); endif; ?>
Advanced (optional) settings

Syntax: wp_page_numbers($start, $end); Example: wp_page_numbers("<div class='start'>", "</div>");
Where would I add this to the theme? Searched the forums, but found nothing directly related to what I want. To only show on category pages, I guess I will need to wrap the function in a "is_category()" call?

Appreciate any help or code to do this. Thanks.
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alt Text For "Comment" "Tag" and "Category" gifs jasebishop Atahualpa 3 Wordpress theme 0 Nov 12, 2010 11:09 PM
"Atahualpa theme options" link missing from Site admin page mogf01 Multisite 6 Sep 2, 2010 06:05 PM
"Page links to" plugin alexp999 Plugins & Atahualpa 2 Jan 21, 2010 03:51 AM
Plugin "User Photo" => Where to put the code in Atahualpa? nudgens Plugins & Atahualpa 2 Nov 26, 2009 07:31 AM


All times are GMT -6. The time now is 06:33 PM.


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