[wp-trac] Re: [WordPress Trac] #2834: Cannot conditionalize previous_posts_link() or next_posts_link()

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 17 10:33:45 GMT 2007


#2834: Cannot conditionalize previous_posts_link() or next_posts_link()
---------------------------+------------------------------------------------
 Reporter:  paulschreiber  |        Owner:  anonymous
     Type:  enhancement    |       Status:  reopened 
 Priority:  normal         |    Milestone:           
Component:  Template       |      Version:  2.2.3    
 Severity:  normal         |   Resolution:           
 Keywords:                 |  
---------------------------+------------------------------------------------
Changes (by jrawle):

 * cc: wordpress at jonathanrawle.co.uk (added)
  * status:  closed => reopened
  * version:  2.0.3 => 2.2.3
  * resolution:  worksforme =>
  * type:  defect => enhancement

Comment:

 It may be true that it's possible to ''format'' links as you wish.
 However, there are many other potential uses for a function that returns a
 value that can be used in conditional statements. For example, if the
 theme designer wants something completely different to happen when there
 is/isn't a "next" link.

 There are also lots of posts in the forum requesting this functionality,
 for example:
 http://wordpress.org/support/topic/113019
 http://wordpress.org/support/topic/126522

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2834#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list