[buddypress-trac] [BuddyPress Trac] #6008: Remove HTML from post_title for groups

buddypress-trac noreply at wordpress.org
Thu Nov 13 18:19:26 UTC 2014


#6008: Remove HTML from post_title for groups
-------------------------------+------------------------------
 Reporter:  alexander.rohmann  |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  high               |   Milestone:  Awaiting Review
Component:  Groups             |     Version:  2.1
 Severity:  major              |  Resolution:
 Keywords:                     |
-------------------------------+------------------------------

Comment (by imath):

 Replying to [comment:2 alexander.rohmann]:
 > Yeah, exactly. It's only being added in single view. If that link is
 absolutely needed, it could just be added in the template files.

 As this is outputted by the {{{<?php the_title() ;?>}}} tag of the
 page.php template for instance, except from adding another title (and as a
 result have 2 titles for the page), i don't think it's a good idea to
 manage it from the groups-header template.

 I think the link is interesting to come back to group's home, when you are
 on one of the "sub" page of the group, just like you can always have a
 link to your site's home page from the title of the website on any page of
 the site.

 If i was designing a theme, i think i'd use {{{single_post_title()}}}
 instead of {{{the_title()}}} when adding the post title to a meta tag or
 more globally {{{wp_title()}}} with custom parameter

 But that is my humble opinion about it.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6008#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list