Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Blogging Forum


You are currently viewing our Blogging Forum as a guest. Please register to participate.
Login



Reply
How to customize links (replace 'Olders Entries' with the actual post name)
Old 03-01-2009, 10:19 PM How to customize links (replace 'Olders Entries' with the actual post name)
TWD
TWD's Avatar
King Spam Talker

Posts: 1,112
Trades: 0
Hello

I'm running WordPress v.2.6 on my website.

I want to customize the posts links so that instead of:

<<Older Entries | Newer Entries>>

we can see

<<Name of the previous post | Name of the following post >>

This is probably a common request but I haven't figured it out.
Here is the existing code:

Quote:
<div class="alignright" id="rightarrow"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
<div class="alignleft" id="leftarrow"><?php next_posts_link('&laquo; Older Entries') ?></div>
If I change ('Newer Entries &raquo;') to ('%postname%') it just
shows as a string.

Help please.
TWD is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to How to customize links (replace 'Olders Entries' with the actual post name)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27808 seconds with 12 queries