[wp-trac] [WordPress Trac] #17134: Add support for the_slug() in template tags

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 14 18:39:48 UTC 2011


#17134: Add support for the_slug() in template tags
-----------------------------+------------------------------
 Reporter:  tomauger         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Template         |     Version:  3.1
 Severity:  normal           |  Resolution:
 Keywords:  close            |
-----------------------------+------------------------------

Comment (by tomauger):

 That was just an example. I'm sure with a little creative thinking one can
 come up with many examples of where the slug might be used. Given that
 there's a template tag for nearly every other commonly-used data point, I
 think it's reasonable to request the_slug().

 Also, from the point of view of improving the new developer experience,
 it's also the most logical starting point for someone to try, once they've
 learned about the_title(), the_content() and the_excerpt(). Why not
 the_slug()?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17134#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list