Title: adding &#039;|&#039; between Login Logout url
Last modified: August 20, 2016

---

# adding '|' between Login Logout url

 *  [leinster](https://wordpress.org/support/users/leinster/)
 * (@leinster)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/adding-between-login-logout-url/)
 * I have added the code below to insert a Login/Logout url in the header of my 
   website. When logged out it displays LoginRegister without any spacing between
   each.
 * I want to have | between each of the words login and register.
 * Does anyone know how I can include this in the code. Am a complete noob with 
   this.
 *     ```
       <?php wp_loginout();
       if ( ! is_user_logged_in() )
           wp_register('', ''); ?>
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/adding-between-login-logout-url/#post-3058761)
 * [http://codex.wordpress.org/Function_Reference/wp_register](http://codex.wordpress.org/Function_Reference/wp_register)
 * try:
 *     ```
       <?php wp_loginout();
       if ( ! is_user_logged_in() )
           wp_register(' | ', ''); ?>
       ```
   
 *  Thread Starter [leinster](https://wordpress.org/support/users/leinster/)
 * (@leinster)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/adding-between-login-logout-url/#post-3058827)
 * Thank you very much. Worked a treat.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘adding '|' between Login Logout url’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [leinster](https://wordpress.org/support/users/leinster/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/adding-between-login-logout-url/#post-3058827)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
