Profile link

This topic contains 6 replies, has 4 voices, and was last updated by  Giri 7 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #382026

    Eduardo Sanchez
    Expired Member
    Post count: 110

    Hi, is there a way to add a link inside the “My Account” or “My Dashboard” sections to access a custom page in order to allow the user to modify their profile without having an extra menú link in the navigation bar?

    #382035

    Kor
    Moderator
    Post count: 16516

    Hi there,

    You can try UsersWP but it is still in Beta, it’s not released yet on wordpress.org

    Please see: https://wpgeodirectory.com/support/topic/userswp-beta-gd-integration-uwp-recaptcha/page/6/#post-370196

    #382229

    Eduardo Sanchez
    Expired Member
    Post count: 110

    Hi Kor,

    I actually use s2member which has the the ability, either by widget, shortcode or php code to show logged in users with basic profile info and links to “My Account” as in https://s2member.com/kb-article/pro-login-widget/. This would be the fancy way. The other way is to have a link added inside Supreme theme login box to give the user the ability to click and be redirected to a custom “My Account / Profile” page so that they can change their password, modify their name, etc.

    Would it be posible without having to add another navigation menu ítem or install UsersWP?

    Thanks

    #382351

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    I’ve flagged this for the developers, they’ll let you know asap.

    Thanks

    #382438

    Giri
    Expired Member
    Post count: 3155

    You can place custom links inside My Dashboard widget using geodir_dashboard_links filter

    
    
    add_filter('geodir_dashboard_links', 'custom_geodir_dashboard_links');
    function custom_geodir_dashboard_links($dashboard_link) {
    	$account_link = 'Enter your url here';
    	$dashboard_link .= '<li>';
    	$dashboard_link .= '<i class="fa fa-user"></i>';
    	$dashboard_link .= '<a href="'.$account_link.'">';
    	$dashboard_link .= __('Edit Profile', 'gdbuddypress');
    	$dashboard_link .= '</a>';
    	$dashboard_link .= '</li>';
    	return $dashboard_link;
    }
    #382769

    Eduardo Sanchez
    Expired Member
    Post count: 110

    Thank you Giri, it is exactly what I was looking for and works peferctly.

    #382787

    Giri
    Expired Member
    Post count: 3155

    You are welcome.

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount