This topic has 7 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #155253
     DiegoBRRSPF
    Participant

    Hi!

    How can I limit the number of updates listed in the “Activity page” element (attached image)?

    I want to use this element on my homepage, because the “Activity Stream” doesn’t allow to show the comments. But the “Activity page” shows a large number of updates, and I want to limit them to 9 or 10.

    Thanks a lot!

    Attachments:
    You must be logged in to view attached files.
    #155255
     DiegoBRRSPF
    Participant

    Oh, I almost forgot: naturally, I want to keep the “+ LOAD MORE” link at the end of the list.

    #155417
     Laura
    Moderator

    Hello, right now there is not a way to limit the number of updates, maybe a premium plugin that adds buddypress elements to visual composer has that options but i do not know any at the moment

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #155520
     DiegoBRRSPF
    Participant

    Hi Laura1

    Thanks, but I believe there is a way to change the code, right? What is the file(s) that I have to change some code in order to achieve this?

    #155567
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #155725
     Radu
    Moderator

    Hi,

    It’s more than one file to modify that,

    First of all, you should copy the
    wp-content/plugins/k-elements/shortcodes/templates/buddypress/kleo_bp_activity_page.php
    to
    wp-content/themes/kleo/k_elements/

    Then inside of it, you should change the template that it’s loaded thru shortcode

    The shortcode uses this file /wp-content/themes/kleo/buddypress/activity/index.php to generate the template loop and you should copy also this file to wp-content/themes/kleo-child/buddypress/activity/single and to name it differently like index-custom.php

    For further custom modifications hire a developer

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #156869
     DiegoBRRSPF
    Participant

    Thanks Radu! I’ll work on that.

    #157066
     Radu
    Moderator

    Ok
    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?