Skip to:
Content
Pages
Categories
Search
Top
Bottom

Showing "Item-body" on a different page

  • @sevekim

    Participant

    So, this is first time posting here.

    So, the profile page is consisted of “Item-header” –> ” item-nav” –> “item-body”
    I wanted to “copy” or “relocate” this “item-body” to a different page (preferably individually) so user can see messages on its own without being in profile page, for example.

    So, this is what I did (which did not work).

    I downloaded “Allow PHP in Post and Pages” Plugin (which generates a shortcode with the php file) and copied the codes in “home.php” file and put the generated shortcode in the page.

    Of course, it didn’t work.

    Any suggestion or am I confusing ?

    Any help will be much appreciated! Thanks!

    Steve

Viewing 1 replies (of 1 total)
  • @buddyboss

    Participant

    I think you’ll be fighting an uphill battle trying to do this with PHP in the editor. When you add PHP into a regular page, the page doesn’t realize it’s supposed to be running BuddyPress code and you may be missing some critical opening/closing PHP outside of the core messages code. You’ll probably need to set up an actual page template just for this and then set your WP page to use that template.

Viewing 1 replies (of 1 total)
  • The topic ‘Showing "Item-body" on a different page’ is closed to new replies.
Skip to toolbar