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

  • Author
  • #160601
     samv
    Participant

    How to change default for all user to see update instead of everything .

    By selecting the dropdown we can change but ok advice be default it selected update not everything later user can change as per dropdown optional

    #160818
     Laura
    Moderator

    Hello, i do not understand the question, can you specify a bit more please? 🙂

    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 🙂

    #160906
     samv
    Participant
    This reply has been set as private.
    #161232
     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 🙂

    #161639
     Radu
    Moderator

    Hi,

    Using this function will makes the activity to show only activity_update.

    COPY CODE
    
    function filtering_activity_default( $query ) {
        if ( empty( $query ) && empty( $_POST ) ) {
            $query = 'action=activity_update';
        }
        return $query;
    }
    add_filter( 'bp_ajax_querystring', 'filtering_activity_default', 999 );
    

    NOTE: Child theme needs to be installed and activated.

    The function needs to be pasted in wp-content/themes/kleo-child/functions.php

    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 5 posts - 1 through 5 (of 5 total)

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

Log in with your credentials

Forgot your details?