[wp-trac] [WordPress Trac] #12033: Parent template tags

WordPress Trac noreply at wordpress.org
Sat Aug 17 14:12:28 UTC 2013


#12033: Parent  template tags
--------------------------+----------------------
 Reporter:  Angeloverona  |       Owner:
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Template      |     Version:  3.0
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |
--------------------------+----------------------

Comment (by avryl):

 I think the reporter wanted to point out that template tags like
 `get_the_parent_title()` might be useful, with a built in check to see if
 there is a parent, though displaying this information would probably
 require additional html, so they'll have to add `if ( $post->post_parent
 != 0 ) {}` anyway.

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


More information about the wp-trac mailing list