BuddyDev

Search

BuddyBlog – customizing blog display

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

    I’m setting up a BuddyBoss site and have installed BuddyBlog Pro to provide my members with a blog on their profiles.

    I want to customize the blog display, and tried overriding the /buddyblog/buddyboss/default/entry-content.php file in my child theme using the approach Brajesh has described in a few posts here.
    https://buddydev.com/support/forums/topic/custom-post-layout-on-buddyboss-theme-profile/

    I noticed that my parent theme doesnt have a /buddyblog/buddyboss directory, so I’m wondering if this may be why the child theme isn’t looking at my over ridden file.

    If doing a theme file override is still the recommended approach for this, can you provide more detailed instructions on how to set this up? Not sure if I’m missing some config or registration to make this work?

    Are there any hooks that can be used to modify the layout of the blog entries? Not sure where to find a definitive list of the available hooks for the BuddyBlog Pro plug-in.

    Thanks!

  • Keymaster
    (BuddyDev Team)
    Posts: 24715
    Brajesh Singh on #53527

    Hi Steve,
    Thank you for the post.

    Please allow me to check it with the latest BuddyBoss version and get back to you within next 24 hours.

    Regards
    Brajesh

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

    Looking forward to hearing if over-riding the blog display template is still possible from a child theme.

    I added a custom field on my New Post Form, but it doesn’t seem to get displayed on the blog display or single post screen.

    Should custom fields be displaying by default? Or do I need to add the shortcode for custom fields to the blog template files?

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

    The New Post Form also has support for the tinymce editor, but when I do any text formatting it doesn’t get displayed when I view the blog posts list. It does show up on the single post view though!

    Should the blog posts list be showing the text formatting as well?

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

    I was just able to get over-riding the blog template files from my child theme working properly. My earlier test to check if this was working was flawed, and upon further testing I was able to establish it is working as expected. I apologize for the false alarm on this issue.

    I know also see that the text formatting is apparently lost since only the post excerpt is being shown in the blog posts list.

  • Keymaster
    (BuddyDev Team)
    Posts: 24715
    Brajesh Singh on #53546

    Hi Steve,
    Thank you for the replies.
    It’s good to know that the template override is working.

    1. Excerpt will not show any formatting. You can edit and use the_content() to show the full content instead.

    2. To show to custom field, you will need to copy the shortcode(There is a copy button near the custom field) and put it in one of the display box(single post/archive).

    Please try that and let me know if it works or not?

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved