Archives

Keep updated


Howto: custom link with the superslider-login plugin

I have set the default class to activate the login slider to: comment-reply-login, as this is the class that the WordPress system adds to the comment links "login to reply". As such I recommend that you save the superslider-plugin options with the Login link class: set to : comment-reply-login. Then check your theme file comments.php and search for "comment_registration" if you can't find it, look in the comments-form.php of your theme.

Change this:

echo wp_login_url( get_permalink() ); " >logged in

to this:

echo wp_login_url( get_permalink() ); " class="comment-reply-login">logged in

This will open the login panel if you have the system option: users must be registered to comment , set to true. Any other login links out there let me know, and I'll try to make them work automatically.

Scroll down a bit on the page then to see how it works.


5 Responses to “Howto: custom link with the superslider-login plugin”

  1. Marius says:

    Hi thanks for useful plugin. I have a quesion - how i can put custom links to superslider-login (example Nextgen gallery upload,events manager, etc)?

    • Daiv says:

      Sure, go to superslider-login options page and set the Login link class to .comment-reply-login, then any link on your sit e with the class of .comment-reply-login will open the login panel, (and slide your page to the top so that login panel is on screen)

      Also, the other way is to look at the links which you want to have open the login panel and find the links class, such as class="mylink". Then go to the options panel and set the Login link class to mylink.

  2. Daiv says:

    Hello rubencio,
    for the register option to be visible in the SuperSlider-login Tab you must activate user registry in your WordPress General settings.
    Also, The messages which you set in ss-login options are based on : if registry is allowed, if you are logged in, what your user role is.

  3. rubencio says:

    Hi: How to make the plugin with the possibility to login and also to register? I mean as you are using it on your blog. Best regards!

 
open / close

http://wp-superslider.com/siteHowdy,

Log in

Lost your password?

Register For This Site

By registering with this blog you are also agreeing to receive email notifications for new posts but you can unsubscribe at anytime.

Join

Join us as we spread the word.

 
 

Generated in 0.399 seconds. Made 41 queries to database and 27 cached queries. Memory used - 28.67MB