Skip to content

Instantly share code, notes, and snippets.

@Aeonexe
Created September 28, 2018 23:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aeonexe/3787166becc20ea57b1bf9e73a4076f8 to your computer and use it in GitHub Desktop.
Save Aeonexe/3787166becc20ea57b1bf9e73a4076f8 to your computer and use it in GitHub Desktop.
Imprime el formulario de registro de wordpress en cualquier template.
<div id="register-form">
<form action="<?php echo site_url('wp-login.php?action=register', 'login_post') ?>" method="post">
<input type="text" name="user_login" value="Username" id="user_login" class="input" />
<input type="text" name="user_email" value="E-Mail" id="user_email" class="input" />
<?php do_action('register_form'); ?>
<input type="submit" value="Register" id="register" />
</form>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment