I’ve installed Ajax Registration and it looks good.
I only want to use it for logging in right now.
My top menu requires a normal html link in order to work. I.e. it is not a WordPress Menu item.
How do I write a normal html link so that it only pops open the Log In? I don’t want the option to Register or Reset password to appear in the modal.
I made a link with the modal working, but it also showed the Register and Reset Password links (I have them disabled in the plugin’s settings). Also, I made my link in a WordPress Menu item but I can’t place it in my theme using that method (not in the location I want), it has to be an html link.
Secondarily, how would I write a normal html link to log a User out of WordPress? It must be simple but I can’t work it out 🙂
You can use any html link for the login trigger. Add a css class or id to the element and put it in the BP Ajax Registration Login selectors setting.
Also, I am not sure of the plugin showing registration box.
Here is what I see when I disable registration/Forget password
Please make sure you have the Ajax Registration settings updated.
I have the Ajax Registration settings updated but I still see the registration and password reset fields.
Have a look:
It says “Log In” on the black menu.
Now (in Opera) it is going behind my menu. I think it was ok in Chrome earlier. But you see it has register box?
Perhaps Socializer is interfering? (but I have registration turned off in that too).
PS I should mention, I was trying to get it to work today and I did exactly what you described but it didn’t work. Then I put bp-signup in the menu, to be the same as your documents because I thought I better start from there. Then it worked (but with the register popup), so I posted to you. Just for you to know I’m not lazy lol. No, seriously, I’m just telling you in case it helps to understand what’s wrong.
Thank you for sharing the details.
1. You have added the class to the menu item correctly and I can check that.
2. As suggested, you need to add the following
after putting a comma after the existing selectors in the “Login” panel selector option. If you do it. It will work.
Currently, It is not there,
You must be logged in to reply to this topic.