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 »

[SOLVED] Substitute Post name with "Next Post" and "Previous Page" in post navigation

Old Nov 18, 2010, 06:01 PM
7 posts · May 2009
Sydney, Australia
Send a message via Skype™ to Alternateroute
Currently when in a single post, the navigation links to the next and previous posts contain the titles of the post (using the %link) set in ATO>>Next/Previous Navigation>>Newer post link on single post pages (and older etc).
I want the navigation to simple say "Next Post" and "Previous Post". Can I replace the %link with something that will do this.

(Apologies is this is the wrong part of the forum, I couldn't find a special section for navigation)
Old Nov 18, 2010, 07:06 PM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If you want to do this, you are going to have to edit the theme code. If you choose to go that route, keep good notes because the next time you update the theme, you will have to do it again.

you will need to edit bfa_next_previous_links.php and change %title to 'Next' or 'Previous' where appropriate
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Nov 18, 2010, 08:15 PM
7 posts · May 2009
Sydney, Australia
Send a message via Skype™ to Alternateroute
Thanks Juggledad,
I tried that and it didn't work.
But then I notice that the %title was the 'then' part of an if-then-else and there was no value in the 'else' part. Once I changed the else statement to include either previous or next, it worked.
In other words, the %title was on line 142 in the first instance and changing it here did nothing. When I added 'Next' as any extra parameter on line 144 it worked. Note that the %title had not been on line 144 to begin with.

Thanks for your help, much appreciated.


navigation links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
How to post on 2 seperate "Pages" or "Cats" TPR Atahualpa 3 Wordpress theme 18 Aug 4, 2010 08:24 PM
How to select "Only Exerpts"/"Full Posts" for certain post? shus Center area post/pages 4 Jan 19, 2010 01:41 PM
Archives Page-How can I add the date before the post title when using "postbypost"? fromtheranks Atahualpa 3 Wordpress theme 8 Jul 25, 2009 09:52 AM
How to style "post icon" and "post comments" text Whatsthatcat? RSS, Feeds & Subscribing 3 Apr 1, 2009 09:41 AM

All times are GMT -6. The time now is 12:09 PM.

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