[wp-trac] Re: [WordPress Trac] #4004: New filter for page title attribute in wp_list_pages output

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 2 21:59:09 GMT 2007


#4004: New filter for page title attribute in wp_list_pages output
---------------------------------------------------+------------------------
 Reporter:  Dickie                                 |        Owner:  ryan 
     Type:  enhancement                            |       Status:  new  
 Priority:  normal                                 |    Milestone:  2.2  
Component:  Template                               |      Version:  2.1.3
 Severity:  normal                                 |   Resolution:       
 Keywords:  filter wp_list_pages has-patch commit  |  
---------------------------------------------------+------------------------
Comment (by Dickie):

 Just to give some context to this.

 For example... I set the page title to be "About" but when the visitor to
 my website hovers over the link in the menu bar for the About page I do
 not want it to say "About" but perhaps
 "Visit my about page" or "Go to the page with information about me", this
 could either be hard coded in the plug-in (not good perhaps) or gleaned
 from the page meta data, or a mixture of both.
 The point is, I need different text for both the Page name itself AND the
 page title attribute.
 The way it was working in the supplied patch file was fine, the only issue
 I could see was the name of the filter itself (and to be honest I was not
 sure about that as it was not directly in wp_list_pages, but I went with
 it anyway as it seemed the most logical)

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


More information about the wp-trac mailing list