Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yeah sadly even with a define that is causing it to look for a page called blog/ if you put the define in functions.php. I’m attempting to do this without having a custom wp_conf or anything in plugins – so basically the hard way it seems.

    @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.

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar