I want to create a profile button in my main navigation
Hi guys, im trying to figure out the code to create a profile button for the main navigation. i need the button to understand how to go to the logged in users.. public/profile/page.
just like the myAccount/profile/public from the drop down menu in wp
<?php if ( ! isset($current_user) ) $current_user = wp_get_current_user(); echo $current_user->ID; ?>
You must be logged in to reply to this topic.