Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to display the content on member page

@danbp

Participant

That’s what i expected, but you’re wrong and can’t get any content from there.

Members is a BuddyPress page which should stay empty. This page (like the other BP pages) exist for internal purpose only. WP create the slug and BP need that slug to fire dynamic content into the “members” page.

To resume, the page called “members” is mandatory, and depending the context, will show different things.

your-site/members/ -> the members list
your-site/members/seb/ -> Seb’s profile
your-site/members/seb/notifications -> Seb’s notification
etc….

You’re always on the same permalink/page, but with very different content.

If you need to add some content to the member page, you can do that by using the action hooks you’ll get on the different contextual templates.

Or a little more complex, by hardcoding something yours into a template, with help of a child theme.

Or even much better, specially if you want to reuse your work on another site, with a plugin. But whatever, you have to use the template parts, not the page itself, or the “page editor”, which is to write static content.

Skip to toolbar