How to modify the “User profile” dropdown tabs menu?

6.33K viewsWordPress
0

I just want to have two tabs in the dropdown menu (just about and notification). How could I do it. I attach you an image of how it looks at this moment:

http://i.gyazo.com/ddbeb60f20e14a0994e79a6b7900b9c3.png

1

Try adding below code in your WP theme functions.php

https://gist.github.com/rahularyan/d9e19ad43397cca7495f

Rahul, excuse me. I can add tabs without changing main cods but can’t remove theme “without” changing main cods. and can’t find its way on your community.

Updated answer.

Thanks so much!

Cool, and how can make the user avatar and name link to their profile? Thanks

Thats very nice. In the case that I want to remove all tabs, it gives me a error on anspress-question-answer/includes/actions.php on line 436

Is there anyway to just get the avatar and dropdown menu without any link inside?? I love that feature, is fantastic.

Thank you very much 🙂

You must at least have one link 🙂

Related to this question, how could we add custom tabs ? I would like to add a Logout link on bottom of the dropdown list. Thank you! 🙂

Thank you! 🙂