Skip to:

Include/load all scripts necessary for BuddyPress on a custom profile page

  • jgasba


    I’m trying to integrate BuddyPress into a theme I’m working with. This theme already has a profile page and I’m trying to include BuddyPress content inside it, mainly forums infos and privates messages functionalities.

    I’m using bp-nouveau template parts and the inclusion seems to work as some html is passed on but no content. One of the reasons I think is because the page does not load buddypress scripts.

    in short: How can I make the plugin to display private messages on a custom profile page?

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

  • jgasba


    I have included the .js scripts but BuddyPress seems to not detect my profile page as a proper place to output content about a user.

    For example when I do bp_get_template_part('members/single/activity'); I receive this output on the profile page (empty tags)

    <nav class="bp-navs bp-subnavs no-ajax" id="subnav" role="navigation" aria-label="Menu des activit├ęs">
    	<ul class="subnav">

    And a similar thing happens when using bp_get_template_part( 'members/single/messages' ); or other template parts.

    How can I setup this so that BuddyPress recognises my profile page as a valid profile page where to output info and what should I use in my template to make BuddyPress load the proper scripts/actions/functions/objects to make it work?

    Thanks in advance for any clue to point me in the right direction.



    Situs Slot SLOT5000 yang paling dipercaya berikan keringanan bisnis untuk beberapa pemainnya. Dengan total proses bisnis yang aman, cepat, dan simpel, Anda bisa dengan gampang main Slot SLOT5000yang paling dipercaya dan nikmati semua keuntungannya.

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