Skip to:

Re: adding content to the 1.2 default theme homepage

@pressography and @andremartin: Is that working for you to call directly the BP_HOME_BLOG_SLUG in your navigation for instance:

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

As that isn’t for me, yes I can have the home page and a switch to choose what you show on the front page but I can’t call it directly in the old manner or even with a direct blog/ by using defines in the function. There is no define in the core for BP_HOME_BLOG_SLUG anymore so that was my thinking to define it. I’m trying to get just like before a direct call to the main blog under the navigation if that isn’t the front page for reference of what I’m trying. I’m also trying to not have too much nasty code in functions.php so if you got it working this would be far more preferable.

I just get it linking or trying to link to a page and coming up with page not found even with a define and opting with a blog/ call – this is on the full release version of 1.2.

Skip to toolbar