[wp-trac] Re: [WordPress Trac] #2834: Cannot conditionalize
previous_posts_link() or next_posts_link()
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 18 15:45:48 GMT 2006
#2834: Cannot conditionalize previous_posts_link() or next_posts_link()
---------------------------+------------------------------------------------
Reporter: paulschreiber | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: Template | Version: 2.0.3
Severity: normal | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Comment (by masquerade):
This is unnecessary, as you can do this in the format tag of the existing
link.
{{{function previous_post_link( [$format='« %link', ...}}}
Simply do something like the following:
{{{previous_post_link('<strong><a href="%link"
title="%title">%title</a></strong>');}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/2834>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list