Opening Login/Logout Widnow in a Lightbox
-
I’m trying to open the login logout windows in a lightbox rather then a new page like this. I’m using:
<?php wp_loginout(); ?>
and
<?php wp_register(); ?>In my theme’s index file.
There are three problems, first I can’t figure out how to add the lightbox class to the link because it’s coded in php and I can’t even find the actual link to the wp-login.php. I need to put a class=”top_up” tag in the link for the link to open in a lightbox, but I’m not sure where to find the link.
Second, how can I get the lightbox to only open when going to the LOGIN screen. I don’t want it to open when logging out and going back to the homepage, that would be just plain silly. Hope fully there are two separate links and I can add the lightbox tag to the wp-login.php and one and not to the logout one.
Third, how can I get the bullet points to go away next to the login and register links. It’s like their supposed to be in the meta widget. I’m positioning them manually and must use options for the lightbox so I’ve got to use them outside the widget. How can I just get the link to show???
Thanks!
– MRNICEGUY
- The topic ‘Opening Login/Logout Widnow in a Lightbox’ is closed to new replies.