BuddyDev

Search

Custom post layout on Buddyboss Theme profile

  • Participant
    Level: Initiated
    Posts: 1
    Philip on #44135

    First, I love BuddyBlog plugin. Especially how it displays CPT posts directly in the member profile of BuddyBoss Theme.

    Is it possible to add a *little* customization of the post layout when displaying in the member profile of BB Theme?

    Thank you so much!

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #44137

    Hello Philip,

    Welcome to the BuddyDev Forums. Please let me know with BuddyBlog are referring to BuddyBlog or BuddyBlog Pro plugin.

    Regards
    Ravi

  • Participant
    Level: Initiated
    Posts: 1
    Philip on #44145

    Oh, yes, I’m using BuddyBlog Pro.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #44224

    Hi Philip,
    I am sorry for the delay.

    With BuddyBlog Pro, you can override the templates for each post type and have a complete customized look.

    In case of BuddyBoss theme, you can use the following structure:-

    Here is the base directory stricture that you need in place:-

    -your-buddyboss-child-theme(probably buddyboss-theme-child)/buddyblog/buddyboss/

    Now, you can either override the layout globally(for all post types) or individual post type.

    To override for all post types, you will need to create a directory “default” inside the above hierarchy and then copy the files from wp-content/plugins/buddyblog-pro/templates/buddyblog/buddyboss/default and put it there. Then you can modify it as you need.

    If you like the layout for some post types but want to modify it for specific post type, you can create a new folder with post type slug “some-post-type-slug” inside your “your-buddyboss-child-theme/buddyblog/buddyboss/” and then copy the file you want to override from the default(as in above case).

    You only need to copy the file you want to override. For others, the plugin will fallback to default.

    Hope that helps.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 4
    Steve Zilko on #53513

    I’m trying to use the technique described above to override the post appearance in my child theme, but it doesn’t seem to be working.

    I’m setting up a BuddyBoss site and added BuddyBlog Pro to provide a way for my members to have a blog on their profile.

    I want to modify the layout of the blog entries, and created a /buddyblog/buddyboss/default directory in my child theme, but the theme doesn’t seem to be loading my customized file.

    I noticed that there isn’t a corresponding /buddyblog/buddyboss directory in the /buddyboss-theme that is my child theme’s parent, so I’m not sure it knows to look at my overriding file.

    Please advise how I can customize the display of my blog entries. Can’t get overriding template files from my child theme to work as described.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #53528

    Hi Steve,
    Thank you for your post.

    It is an old thread. Let us keep our current discussion to your new post.,
    https://buddydev.com/support/forums/topic/buddyblog-customizing-blog-display/

    Regards
    Brajesh

The topic ‘Custom post layout on Buddyboss Theme profile’ is closed to new replies.

This topic is: not resolved