Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding a full buddypress page to a new page


  • lilcxnty
    Participant

    @lilcxnty

    I am using visual composer for all my pages, but the buddypress pages are empty when i edit them and none of changes i make there shows up on said bp pages eg. members. Can i call a complete bubbypress page on to a new page ? with php maybe? or create a shortcode? Then i could still ad a heading above and style with vc custom css? i got activity feed to work like that with the help of 2 plugins. the other short code plugins do not give me the full bp page elements on my new page. Is there any way to do this? Help would be grately appreciated. Hope this makes sense. 🙂

    Regards
    LC

Viewing 7 replies - 1 through 7 (of 7 total)

  • r-a-y
    Keymaster

    @r-a-y

    > Can i call a complete bubbypress page on to a new page ?

    Short answer is no.

    You can however, change the slug of a BuddyPress page via the WP admin’s “Pages” menu. If you can change the location of the slug, this should satisfy most use-cases.

    > with php maybe? or create a shortcode?

    Yes, anything is possible with code! It depends what you want to show though.

    There are some plugins out there that show BP content via shortcodes. One of them is this one:

    Bowe Codes


    lilcxnty
    Participant

    @lilcxnty

    Thanks sooo much for the quick reply x

    could you please help me by explaining to me exactly which slug i need 2 change to what?

    Sorry to be bothersome i have tried everything and time is not on my side 🙁 and i realty want to be able to do this <3


    lilcxnty
    Participant

    @lilcxnty

    @djpaul maybe u can help?


    lilcxnty
    Participant

    @lilcxnty

    @r-a-y ? plzzzz


    lilcxnty
    Participant

    @lilcxnty

    anyone? id love u forever if you van help me with the slug technique x


    r-a-y
    Keymaster

    @r-a-y

    When you set up BuddyPress, you have the option to map BuddyPress components to WordPress pages:

    Configure BuddyPress

    So basically, if you mapped the Members Directory page to example.com/members, you can go to your WordPress Pages menu in the admin dashboard, find your Members Directory page and rename the slug from members to whatever you wanted like people.


    r-a-y
    Keymaster

    @r-a-y

    If you wanted to add a heading to your Members Directory template, there are two methods:

    1. Override the Members Directory template part:

    The template part is the actual template file used to render the Members Directory output.

    Copy /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/index.php

    To:

    wp-content/themes/YOUR-THEME/buddypress/members/index.php

    And make whatever changes you need to make.

    2. Override the Members Directory template hierarchy:

    https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/

    Template hierarchy basically means a page template used for the surrounding template part.

    If you don’t want to read the guide above, basically, copy your theme’s page.php and move it to /buddypress/members/index-directory.php in your theme’s directory. Then, add your heading before the page loop.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar