BuddyDev

Search

[Resolved] Limiting default comments to 2 rather than 5

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6828

    As you can see in the image below, the default amount of comments shown on the activity feed is 5. Is it possible to reduce it down to another number?

    http://tinypic.com/view.php?pic=2wmgs95&s=9#.WFP7z1MrKUk

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

    Hi Chris,
    I will suggest looking at
    bp_legacy_theme_hide_comments in your buddypress.js. There you can set the limit. Hope that helps.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6848

    Can i copy buddypress.js into my styles theme to make sure it doesnt get overwritten?

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

    Yes, you can.

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6850

    X theme has a spot for global javascript. I just copy pasted the code that controls that part and replaced the 5 with 2. Now it works 😀 Thanks man!

You must be logged in to reply to this topic.

This topic is: resolved