DAP has a Login/Logout Widget that you can use in any widget-ready theme.
Log in as WP admin, and look under “Appearance > Widgets”.
You’ll see the widget. Drag this widget on to any customizable part of your theme.
The widget puts the DAP login form right on your sidebar.
When a user is not logged in, they will see the login form.
When they are logged in, they just see a “Logout” button.
15 comments ↓
Perhaps I’m missing something… but after setting the log in page, I’ve got an internal server error happening? I followed the instructions for putting the page up.
Is it possible to customize this widget so that there is a link that says “sign up” under forgot password for those who are not logged in. This would take you to the sign up page.
Thanks!
Jeff Gaudette
Ravi,
Is there code to insert the login widget into a widget ready sidebar. I’d like more control over the title, graphics, etc.
Thanks
clarification.
If i just insert your widget into a sidbar it appears on all sidebars without setting up a specific new page. The “Section widget” plugin allows me to decide which page a widget shows on giveing me more control. With section widget I can put in php or html or text…i cannot insert a widget within a widget.
Hence the questions about php code to call the DAP widget form.
I tried placing %%LOGIN_FORM%% in section widget but its not picking it up.
I would also like to know how to edit the login/logout widget.
Thanks,
Peretz
Hi Guys,
You can change the way the login widget is appearing if you edit DAP-WP-LoginForm-LoginLogout.html which is located within /httpdocs/wp-content/plugins/DAP-WP-LiveLinks
I am using a non wordpress website. How do I add the login/logout feature to my website? I don’t see you mentioning anything about the login/logout feature on a non wordpress website.
Starting version 3.7, it is now possible to customize the Widget Title. So the text above the login form can say “Login Here”, or “Member Login”, or “Your Account”, etc.
- Ravi Jayagopal
Hi Ravi,
Is there a logout button in DAP admin ? I have searched and searched, and i can’t find it, so i can’t test my products, because i am always logged in, and i want to see the message from the error-notloggedin.php file.
Thanks,
Vali.
Vali,
Not sure where you looked, but it’s there on the left in our documentation.
See http://DigitalAccessPass.com/documentation/?page=/doc/logout-link/
- Ravi Jayagopal
Ravi,
Can you point me to the code where I can apply CSS to the login/out widget?
Thanks,
Peretz
How would one stop viewers from seeing the site at all.. I have text on the side bar that I don’t want anyone to see til they’re logged in.. I just want a plain page with the login page basically..
Also, one last Q! Is there a way to see when people log in and out etc..?
I too would like to find the code to apply CSS changes to the widget
Thanks,
Chad
Sorry, found it:
http://www.digitalaccesspass.com/doc/customizing-login-widget/
Chad!;-)
Leave a Comment