Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Here's bp-events working with bp 1.2+ and works on bp upgrade


Sandra l***
Participant

@sandra1010

@ghostchild

(appended here so that other participants can read the answer)

In reply to your message saying that you still don’t see the tab in the subnav, I could be wrong but I would be inclined to think that your problem is not caused by the WP/BP versions (I am running the latest ones) but by the theme you are using.

The “Events” nav is posted in the member profile through this call (in bp-events.php)

/* Add ‘Events’ to the main navigation */
bp_core_new_nav_item( array( ‘name’ => __(‘Events’, ‘bp-events’), ….. [stuff removed here]

In order for this to work, your theme (wp-contentthemesyour-theme-herememberssinglehome.php) should contain this call in the “right” place

bp_get_displayed_user_nav()

e.g. If I take this line away from my theme (I decided to turn a regular WP theme into a BP compliant theme thanks to BuddyPress Template Pack), then the “Events” tab no longer shows up (and a few others disappear too).

So you might want to verify your theme. Is it truly BP-compliant?

Skip to toolbar