Skip to:
Content
Pages
Categories
Search
Top
Bottom

Solved – Custom home template for user profile

  • @n33d

    Participant

    Hi there,

    I’m breaking my head on this one. I created a custom /theme/buddypress/members/single/home.php in my custom theme. It seems it is working fine, though /theme/page.php is always being loaded above de content of home.php. I don’t understand how this makes sense.

    I tried to read everything I could find like: https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/ But I still don’t understand how this is happening.

    Screenshot: https://pixelheads.d.pr/Htr16g

    I’m using the latest versions of WordPress and BuddyPress have no other plugins installed since it’s early in development.

    Can anyone assist me here? All help is appreciated!

    Best regards,
    Justin

Viewing 4 replies - 1 through 4 (of 4 total)
  • @n33d

    Participant

    Correction: even when I disable my /theme/buddypress/ folder the page.php is loaded and BuddyPress is loaded in the_content();

    @n33d

    Participant

    Ok, after 2 hours of research I’v asked this question. 12 mins later I solved it. So never mind!

    @iamthewebb

    Participant

    Hey, would you mind expanding on your fix just in case others have the same problem in the future or maybe the guide could be expanded if something isn’t clear or is missing?

    @n33d

    Participant

    Yes, of course. It’s because you need a template in your theme which BuddyPress uses to load the content. This is the list of templates: https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/

    So I do now have buddypress.php template file in my theme which BuddyPress uses to display content.

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