[Plugin: SimpleModal Login] How to use this with get_comment_reply_link?
-
I’ve got the plugin working fine in the header, and in the “Leave a comment” box, but the “Log in to reply” link simply takes you to the standard WordPress login screen. So far as I can tell, the file controlling these links is comment_template.php in the wp-includes folder. It doesn’t make use of wp_loginout, so Simplemodal-login can’t use filters to add the class “simplemodal-login” to the link.
I tried to add the class to
$link = "<a rel='nofollow' class='comment-reply-link' href='" . get_permalink($post->ID)
so that it read
$link = "<a rel='nofollow' class='comment-reply-link simplemodal-login' href='" . get_permalink($post->ID)
but that didn’t work. Being a newby, I’m out of ideas. Does anyone know the proper way to make these links open in modal windows?
- The topic ‘[Plugin: SimpleModal Login] How to use this with get_comment_reply_link?’ is closed to new replies.