-
What a great plugin. Right now I’m using wp-modal login. I’m using a php function that I integrate in one of my Q&A plugins. This is what I use
PHP1<?php add_modal_login_button( $login_text = 'Login', $logout_text = 'Logout', $logout_url = '', $show_admin = true ); ?>Do you have anything like this I can use for Userpro ? of course as you can see I don’t need or use the admin,logout and since Userpro has all that redirect already.
Thanks in advance.
Dominick
Sorry I should’ve stated something with a user login/register
To make a modal login, you need a link that has popup-login class.
E.g.
<a href=#" class="popup-login">Login via popup</a>
This link will fire login via popup automatically. you just need the popup-login class in it and href #.
If there’s anything else I can help with, let me know!
That’s great thank you very much. However for some reason I never recieved a email showing that you replied to my post. I know I checked “Notify me” Just thought I would let you know.
It seems to be issue with bbpress outgoing emails. Did you check spam folder?
Sure did. I only knew about this reply because I kept this page up.
Thank you, this works well. I added it to a navigation link and now I have modal login on any page. 🙂
For others: add a new menu “link” from Appearance -> Menu. From there, make the url “#” and paste the code above into the navigation menu.
My only question is my Login menu item is getting bumped down to the next line. See below. Any tips to make it all sit flush?
My site is rad.mosaicearth.com
Hi @mosaicrob unfortunately this is not the right way of doing it.
Please try it like this:
Hope that helps! 😉
Hi @keyhanjun
Thanks for the quick response! The image you posted is too small for me to read anything…. clicking doesn’t enlarge it either. Can you post in a larger size or link to it outside the forum plz?
That is simply awesome @keyhanjun! Thanks so much.
Never knew what the “advanced menu properties” area was for 😉
Great tip really! 🙂 This is exactly how it should be done, like the book says! Thanks keyhanjun
The topic ‘How to: Login via Modal / Popup with UserPro’ is closed to new replies.