Hi Guys - I am using the following code in my functions.php. It adds a Log In and Log Out navigation button. add_filter('wp_nav_menu_items', 'add_login_logout_link', 10, 2); function add_login_logout_link($items, $args) { ob_start(); wp_loginout('http://commercialactingclassesonline.com/login/'); $loginoutlink = ob_get_contents(); ob_end_clean(); $items .= '<li>'. $loginoutlink .'</li>'; return $items; } When I Log Out it loads the correct page (branded login page "www.siteurl/login/"). However, if I click Log In it goes to the generic Login page, not the branded one. ("www.siteurl/wp-login.php") How can I modify it to take me to the correct page on both Log In and Log Out?
Hello, This issue is already resolve, Go the Plugins > Installed Plugins and delete "InkMember Pro" plugin from there and after that download the theme again from your members area and upload it, This will solve your issue. Thanks & Regards Gourav Shrivastava
Unfortunately, the issue is not fixed. The code above creates a dynamic Log In and Log Out link in the navigation bar. Without this code, no Log In and Log Out toggle link appears. When I click on Log In it still loads the unbranded Login page rather than the one with my site's header/footer. I've already updated and reconfigured/customized the theme 3x in the last 2 days.
Hello, Undo your customization. And Follow the uploading process of theme. Note: Before uploading the theme delete the "Ink Member" plugin from your dashboard. Please check the Ink Member plugin changelog.php file present in your theme directory Theme Name: Inkmemberpro Changelog ====================================== * Version 1.1 *************************************** 1. After logout displays different login form issue fixed. 2. After clicked checkout button, not redirect to Palypal after login issue fixed. Thanks & Regards Gourav Shrivastava