Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Create Sub Nav Menu Item in Profile

@userabuser

Participant

@modemlooper,

Its not a BP component, its actually a page under the page post_type.

I’ve now got my code working, it was conflicting with the BP custom profile menu plugin (or vice versa). After disabling that plugin and applying the suggestion as provided by Shane, it now works.

However when using the BP custom profile menu plugin, whatever pages were added (as per the normal WordPress Menu system) would correctly load themselves upon navigating to said URL.

With the manual method I am using above, the URLs do 404 on me.

So using the screen_function callback I can run a query for the page named account – which is fine, happy to do that.

But I’d like to know whether there is a particular method I need to apply (rewrite rule) to have the links work (navigate to their permalink destination) without having to use the screen function?

Anyway, for now thanks for the assistance and to Shane for providing the insight I needed to get this working correctly.

Skip to toolbar