make wp_register to act as a button
-
Hey,
I have a line like this:
<div class="login"><?php wp_register('', ''); ?></div>
class="login"
is styled so it looks like a button but doesnt act as one…Because right now, only the link is clickable, i want the full button to be clickable by the user. i tried something like:
<a href="<?php wp_register('', ''); ?>"><div class="login"><?php wp_register('', ''); ?></div></a>
But I need the register function tag inside the visible area, to differ between logged in and not logged in users, the same is with the link so I can’t use a static link.
Any Ideas how to solve this?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘make wp_register to act as a button’ is closed to new replies.