Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

  • alexandra55
    Participant

    @alexandra55

    @shanebp Thank you so much. I’ll try that


    alexandra55
    Participant

    @alexandra55

    It seems that this might work

    /* check if custom function file is active */
    if( file_exists( WP_CONTENT_DIR . ‘/meso-custom-functions.php’ ) ) {
    include_once( WP_CONTENT_DIR . ‘/meso-custom-functions.php’ );
    }

    add_action( ‘template_redirect’, ‘authorblog_template_redirect’ );
    function authorblog_template_redirect(){
    if(is_author()){
    if(get_query_var(‘author_name’)) :
    $curauth = get_user_by(‘slug’, get_query_var(‘author_name’));
    else :
    $curauth = get_userdata(get_query_var(‘author’));
    endif;
    wp_redirect(‘http://www.your wesite name/members/’. $curauth->nickname );
    }
    }


    alexandra55
    Participant

    @alexandra55

    @bowromir thank you so much for your reply. Unfortunately, it did not work for me. It seems that there is a problem with the following function: function themename_redirect_author_archive_to_profile


    alexandra55
    Participant

    @alexandra55

    I tried to use BP Blog Author Profile Link plugin. It did not work for me

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar