Customize Group page directory layout

Home Forums Gwangi – Dating & Matchmaking Community Theme Feature Requests Customize Group page directory layout

This topic contains 3 replies, has 2 voices, and was last updated by  themosaurus 1 month, 4 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2747

    lalaine
    Participant
    • 15 Posts
    @lalaine

    Is there a way to limit the number of groups displayed increasing the page number
    I have 33 groups but would only like to display 10 per page

    And is it possible to adjust the number of columns or rows
    right now it displays 4 groups per row, can this number be increased or decreased

    thanks

    #2754

    themosaurus
    Keymaster
    • 1225 Posts
    @themosaurus

    Hi @lalaine,

    The number of groups displayed is fixed by default in BuddyPress templates (24 groups per page).

    We will place this topic as a feature request.
    This will give us the opportunity to see if other members are interested in such a feature.

    We have in our todo list (low priority at the moment) the idea to integrate the same functionality for the members directory.
    So we will also look at the group directory at the same time.

    We will let you know as soon as there is progress on this topic.

    Regards,

    #2794

    lalaine
    Participant
    • 15 Posts
    @lalaine

    fixed it in the gwangi Gwangi: groups-loop.php (buddypress/groups/groups-loop.php) line 22

    <?php if ( bp_has_groups( bp_ajax_querystring( ‘groups’ ) . ‘&per_page=12’ ) ) : ?>

    original ‘&per_page=24

    #2795

    themosaurus
    Keymaster
    • 1225 Posts
    @themosaurus

    Hi @lalaine,

    As mentioned before, this is fixed by BuddyPress templates. To change this, it’s best to create your own child theme -starting with gwangi-child- and override the template. Otherwise, this will be scratched when you will proceed to the next updates as the latest version of your current child theme will be downloaded our server.

    For more about creating child themes, please read the following post:

    Creating a Child Theme

    If you have never done this before, we recommend you to require the services from a nearby web developer or from Envato Studio freelancers (https://studio.envato.com/explore/websites-programming). This web platform gives you access to developers who have already experience with theme customizations, and for very competitive prices.

    We’re planning to help users make this editable with the Customizer but it’s a currently low priority planned feature. It will go up our list if more community members upvote this request.

    Best regards,

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.