#12033 closed enhancement (wontfix)
Parent template tags
Reported by: | Angeloverona | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Template | Keywords: | |
Focuses: | Cc: |
Description
Can you add to core template tags as:
Title and link of parent page
parent-page-title
parent-page-permalink
Maybe will be good to add also an attributes of titles "the_title()"to display title by ID
Change History (4)
#3
@
11 years ago
- Milestone Future Release deleted
- Resolution set to wontfix
- Status changed from new to closed
#4
@
11 years ago
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.
Note: See
TracTickets for help on using
tickets.
This can be achieved by passing
$post->post_parent
toget_the_title()
andget_permalink()
.No traction in 4 years, closing.