BuddyDev

Search

Buddyblog & Categories for Groups – Posts list loop template issue

  • Participant
    Level: Initiated
    Posts: 7
    Mark on #27260

    Hi guys!

    Say, the Buddyblog and Categories for Groups plugins list the desired posts, but the formatting of the posts is really ugly and hard to read, at least using my BuddyBoss Boss theme.

    I’d really like to get the posts list to display posts in a nicer format, even if a shortcut version where you just see an excerpt and can click on the title to view the whole post…

    For example, here’s a screenshot from the Blog Categories for Groups posts list display on my site… It’s really hard to even see seperation of the posts.
    https://paste.pics/431bde7f58b5f7232663d06c02240ea4

    Here’s a screenshot of a list of posts shown on my home page… This just an example of listing the post excerpts with a BeaverBuilder widget.
    https://paste.pics/a3c0f1552cbb065b6fa43915b32a8e23

    Here’s an excerpt-only list of posts on a page created by BuddyPress…
    https://paste.pics/048e1bdf79b0b8e71be2ff94842d1136

    Do you have any suggestions? Is there a way I can use a different template for the posts loop, or add my own code to modify the posts loop that won’t get replaced every time I update the plugins?

    Thanks! – Mark

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2459
    Ravi on #27262

    Hello Mark,

    Thank you for posting. You can override in given manner.

    For BuddyBlog

    Copy template form

    ‘wp-content/plugins/buddyblog/template/buddyblog/posts.php’

    to

    ‘wp-content/themes/twentyseventeen/buddyblog/posts.php’

    For Blog category for groups replace ‘buddyblog’ with ‘bcg’

    And change template while loop with your theme template index.php or archive.php

    Check the url where I have modify loop with theme

    https://gist.github.com/raviousprime/7cab3bb232e49ad288bad39204013d2b#file-posts-php-L33

    Regards
    Ravi

You must be logged in to reply to this topic.

This topic is: not resolved