Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: adding content to the 1.2 default theme homepage


Mike Pratt
Participant

@mikepratt

@David I just created a page called ‘blog’ (which defaults to ‘blog’ for that page’s slug

The following menu item in header.php:

<li<?php if ( bp_is_page( BP_HOME_BLOG_SLUG ) || bp_is_blog_page() &&
!is_front_page() && !is_page() )
: ?> class="selected"<?php endif; ?>>
<a>/<?php echo BP_HOME_BLOG_SLUG ?>/" title="<?php _e( 'Blog', 'buddypress' ) ?>">
<?php _e( 'Blog', 'buddypress' ) ?></a>

renders a menu item domain.com/blog, just like it used to.

You need to make sure you choose that page in Settings>Reading ‘Posts page’

On further reading of your post, maybe I don’t understand. I just know, what I described produces the exact same results as prior to the change (and removal of home.php)

Skip to toolbar