Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove (not hide!) activity filter


  • wegosi
    Participant

    @wegosi

    Hello.

    I’m not a programmer. I just can copy/paste the code.
    GOAL:
    I want to show only Updates in member activity. I don’t need other filters, only updates. So, I don’t need activity filter drop down menu at all.

    My currents steps:
    1. What I get for now:

    #activity-filter-select {
        display: none !important;
    }

    Sure, it’s not correct. I know that I can add filter to functions.php in child theme.

    2. I used this in functions.php in child theme, but it doesn’t work.
    add_filter('bp_activity_show_filters','__return_false');

    Could you help me?
    Thank you.

Viewing 1 replies (of 1 total)

  • Prashant Singh
    Participant

    @prashantvatsh

    Hi,

    Please let me know which template pack you are using?

    If it is legacy you can override the file index.php(buddypress->bp-templates->bp-legacy->buddypress->activity) and there you will find the code bp_activity_show_filters();. You can directly remove it with complete HTML wrapper.

    Thanks

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