[buddypress-trac] [BuddyPress] #944: bp_pagetitles
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Wed Aug 26 03:33:14 UTC 2009
#944: bp_pagetitles
------------------------+---------------------------------------------------
Reporter: junsuijin | Owner: junsuijin
Type: enhancement | Status: new
Priority: minor | Milestone: 1.1
Keywords: has-patch |
------------------------+---------------------------------------------------
Comment(by junsuijin):
I'm planning to run through the entire bp-sn-framework making these
cleanups and adding the bp_pagetitle function if people think it'd be
useful.
I'd also like to hear some opinions on whether people think the following
would be useful, or just overdoing it:
-change-
{{{
<div class="entry">
<?php the_content( __( 'Read the rest of this entry »', 'buddypress'
) ); ?>
</div>
}}}
-to-
{{{
<?php do_action( 'bp_before_blog_post_content' ) ?>
<div class="entry">
<?php the_content( __( 'Read the rest of this entry »', 'buddypress'
) ); ?>
</div>
<?php do_action( 'bp_after_blog_post_content' ) ?>
}}}
These two spots seem like the most common locations to want to add html
like custom dates, author info, etc, and can also be used in conjunction
with the 'bp_before_blog_post' and 'bp_after_blog_post' actions, to more
easily alter anything in between the befores or afters, without having to
mess with the content.
I think making simple changes to these areas should not require making a
new template file in the child; thusly, the child theme creator can focus
on the 'minor' aspects of presentation without worrying about merging
changes from the framework.
--
Ticket URL: <https://trac.buddypress.org/ticket/944#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list