wp_login_form redirect problem
Your code contains a mistake in passing arguments to the wp_login_form() function. If you define the arguments after function then the function will be called with the default values, so your arguments will not have any effect. The correct code is below: if (is_user_logged_in()) { echo ‘<div class=”logout”> <p>Hello!<div class=”logout_user”> You are logged in and … Read more