Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change activity comments default from 5 to 2 (or any)


  • Hivemindnetwork
    Participant

    @hivemindnetwork

    Hi,

    I’ve searched high and low and can’t find a solution to this seemingly simple challenge. Maybe @boonebgorges or someone core could please help as I’ve seen this would also be valuable to others I’ve come across in my searches? I suspect is’s a 1 or 2 line change/solution.

    Question.
    Within the main activity feed I wish to change the default number of comments shown from 5 to 2. Is this a simple setting I’m missing or some small function I need to add?

    I’ve disabled nested comments – this does NOT relate to nested.

    I’d really appreciate any help on this if someone knows the answer.

    Thank you.

Viewing 1 replies (of 1 total)

  • Hivemindnetwork
    Participant

    @hivemindnetwork

    Never mind. I found it. For anyone else, it’s in the .js file. The problem was it needs changing in the .min.js too

    wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.js
    wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.min.js

    Not ideal as editing core – so if anyone has a function to achieve this it would be much appreciated.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar