[Plugin: Disqus Comment System] SSO Login
-
Hello,
I love this plugin and thanks for the SSO button option added.
But I hope the filter will be added in next update.I modified the dsq_sso_login function like below…
function dsq_sso_login() { $opts = apply_filters('dsq_sso_login', array( 'name' => get_bloginfo('name'), 'button' => get_option('disqus_sso_button'), 'icon' => get_option('disqus_sso_icon'), 'url' => site_url('/wp-login.php'), 'logout' => site_url('/wp-login.php?action=logout'), 'width' => 800, 'height' => 700, )); return 'this.sso = { name: "'.$opts['name'].'", button: "'.$opts['button'].'", icon: "'.$opts['icon'].'", url: "'.$opts['url'].'", logout: "'.$opts['logout'].'", width: "'.$opts['width'].'", height: "'.$opts['height'].'" }'; }
Thanks.
- The topic ‘[Plugin: Disqus Comment System] SSO Login’ is closed to new replies.