Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

フロントエンド登録フォーム

// Add Shortcode
function ihgc_frontend_regisgter_form() {

	?>
	<form class="my_form" name="my_signup_form" id="my_signup_form" action="" method="post">
	    <div>
	        <label for="signup_user_name">ユーザ名</label>
	        <input id="signup_user_name" name="user_name" type="text" required>
	    </div>
	    <div>
	        <label for="signup_password">パスワード</label>
	        <input id="signup_password" name="user_pass" id="user_pass" type="password" required>
	    </div>
	    <div>
	        <label for="signup_email">メールアドレス</label>
	        <input id="signup_email" name="user_email" type="email" required>
	    </div>
	    <button type="submit" name="my_submit" class="my_submit_btn" value="signup">会員登録</button>
	    <?php wp_nonce_field( 'my_nonce_action', 'my_nonce_name' );  //nonceフィールド設置 ?>
	</form>
	<?php

}
add_shortcode( 'ihgc_frontend_regisgter_form', 'ihgc_frontend_regisgter_form' );