Title: [Plugin: WP-UserLogin Widget] Code question about link
Last modified: August 19, 2016

---

# [Plugin: WP-UserLogin Widget] Code question about link

 *  [dsortax](https://wordpress.org/support/users/dsortax/)
 * (@dsortax)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-userlogin-widget-code-question-about-link-2/)
 * Hi, I want to know if there is a way to make the “Register” button open in a 
   new page (target=”_blank”). Each time I put the code in the php it tells me fatal
   error syntax.
 *     ```
       ";
       	if(get_option('users_can_register')) {
       		$register =  "\n<a href=\"". $wp_url ."/wp-login.php?action=register\">".__('Register')."</a>" ;
       	}
       ```
   
 * Where should i put the target=”_blank” code?

The topic ‘[Plugin: WP-UserLogin Widget] Code question about link’ is closed to 
new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [dsortax](https://wordpress.org/support/users/dsortax/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-userlogin-widget-code-question-about-link-2/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
