Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bp_nav_items theme problem


Jeff Sayre
Participant

@jeffsayre

SQRR-

Firstly, a big thx to Jeff for the component skeleton!

Your welcome! But Andy deserves the most credit. I just helped to update it.

So, let me make sure that I understand your issue. You’ve registered your custom component using an add_action( 'bp_nav_items', ..., ...); to add a button (or tab as you’re calling it) to the navigation array. It works fine in your member’s theme but not your home theme.

Is this correct?

Are you using a customized home theme?

Have you checked to make sure the header.php file in your home theme has this line?

<?php do_action( 'bp_nav_items' ); ?>

Skip to toolbar