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 »

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


  #1  
Old Nov 18, 2010, 06:01 PM
Alternateroute
 
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)
  #2  
Old Nov 18, 2010, 07:06 PM
juggledad's Avatar
juggledad
 
23,682 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
  #3  
Old Nov 18, 2010, 08:15 PM
Alternateroute
 
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.
AJ

Bookmarks

Tags
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 10:52 AM.


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