Manu
asked 5 years ago

When I click on the username “ManuSharma” on this page: http://ottawawordpress.com/questions/can-i-get-intepretation-service-in-dogri/
It gives a 404 error: http://ottawawordpress.com/community-resources/knowledge-base/user-profile/ManuSharma
Please advise why this is happening?

3 Answers
DominicStaff
answered 5 years ago

Please send me username & password of your site for further checking.

zeebroad
answered 4 years ago

please my user profile page isnt displaying too

Dominic Staff
replied 4 years ago

Have you checked the profile page? Just inserted the [dwqa-user-profile] shortcode to the page then select this profile page in the Question settings.

DominicStaff
answered 4 years ago

If you using the Buddypress plugin, you can add the following code to the functions.php file of your theme.

add_filter('dwqa_get_author_link', 'dwqa_buddypress_profile_link', 10, 3);
function dwqa_buddypress_profile_link($url, $user_id, $user){
        if(function_exists('bp_core_get_user_domain')){
        return bp_core_get_user_domain($user_id);
    }
    return $url;
}  

If you using the Ultimate Member plugin, you can add the following code to the functions.php file of your theme.
 

add_filter('dwqa_get_author_link', 'dwqa_um_profile_link', 10, 3);
function dwqa_um_profile_link($url, $user_id, $user){
 if(function_exists('um_user_profile_url')){
 return um_user_profile_url($user_id);
 }
 return $url;
}
Powered by DW Question & Answer Pro