- This topic has 3 replies, 2 voices, and was last updated 12 years, 2 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › added re-styled login bar – not functioning
Please see URL: http://informaticseducation.org/. At the very top of the page you’ll see that I re-styled the eMember login. I copied the form code (from view source) but the ‘login’ and ‘forgot password’ functions don’t work. I saved it as a separate page (member-login.php) and put a <?php include(“member_login.php”); ?> call function in the header.php. What have I done wrong here?
Sorry, I forgot. Actual eMember login page that does work is: http://informaticseducation.org/wp/member-login/
You won’t be able to just copy code from the “view source” and use it. There is nonce security check (WP Nonce value) in place that will fail if you just copy the HTML code.
Add the login nonce value using the following code inside the form that you created in your member-login.php file
<?php wp_nonce_field('emember-login-nonce'); ?>
You can also try using the compact login option that eMember has to place a login option in the header area of your site:
http://www.tipsandtricks-hq.com/wordpress-membership/using-a-compact-login-and-join-us-message-203
That did it! Thanks very much. : ) Going to check out the compact login too.