Title: href with variable
Last modified: August 21, 2016

---

# href with variable

 *  Resolved [Nino](https://wordpress.org/support/users/nino_py/)
 * (@nino_py)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/href-with-variable/)
 * I have
 * `$items .= '<li><a href="wp-admin/profile.php" title="Go to your account Profile"
   >Welcome, '.$current_user->display_name.'!</a></li>';`
 * but I want to change to members/ACTUAL_USER/profile/public.
 * As the user changes how can I put it inside?
 * Is this correct?:
 * `$items .= '<li><a href="members/" '.$current_user->user_identity.' "/profile/
   edit/" title="Go to your account Profile">Welcome, '.$current_user->display_name.'!
   </a></li>';`
 * Thanks in forward for help 🙂

Viewing 1 replies (of 1 total)

 *  Thread Starter [Nino](https://wordpress.org/support/users/nino_py/)
 * (@nino_py)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/href-with-variable/#post-4647584)
 * Could it be a solution with: get_dashboard_url ?
 * But I couldn´t find description of that function in [http://codex.wordpress.org/Function_Reference](http://codex.wordpress.org/Function_Reference)

Viewing 1 replies (of 1 total)

The topic ‘href with variable’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Nino](https://wordpress.org/support/users/nino_py/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/href-with-variable/#post-4647584)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
