[Plugin: WP-UserLogin Widget] Code question about link
-
Hello. I use this plugin and i want the register button to open in a new page but i can’t figure out how to fix it. Each time i put this code
target="_blank"
it tells me: syntax fatal error
Here is the place i found where i try to put target blank
if(get_option('users_can_register')) { $register = "\n<"a href=\"". $wp_url ."/wp-login.php?action=register\">".__('Register')."</a">" ; } else{ $register = ""; }
I added ” before the a letter and ” after the /a so you can see the code without having a “link”
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: WP-UserLogin Widget] Code question about link’ is closed to new replies.