Login With Ajax
[resolved] Can't get Login with Ajax to redirect to member page (2 posts)

  1. michaelrmoore
    Posted 3 years ago #

    I'm trying to set a member page that is only accessible to members of our boat club. When I use a test UN and PW it takes me to the WP admin page. I have it set to redirect to the member page in the settings, however it isn't working. Any suggestions?


  2. voji91
    Posted 3 years ago #

    hi there,
    1.in your wordpress menu go to Plugins-> Installed Plugins
    2.under "Login With Ajax" select Edit
    3.from the right sidebar choose : login-with-ajax/widget/widget.css
    4.then the right sidebar will update so choose : login-with-ajax/widget/default/widget_in.php
    5.go down in the codes (center of the page) and find this line : if( function_exists('bp_loggedin_user_link') )
    6.now change the link to where you want it to point. (simply change YOUR_DESTINATION)

    if( function_exists('bp_loggedin_user_link') ){ ?>
    <a href="YOUR_DESTINATION" ><?php echo strtolower(__('profile')) ?></a><br/>
    	<?php }else{ ?>
    	<a href="YOUR_DESTINATION" ><?php echo strtolower(__('profile')) ?></a><br/>
    }  ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Login With Ajax
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.