Forum Replies Created

Viewing 1 replies (of 1 total)
  • As I understand, login buttons should displays under comment form by defaults. And I was wondered when haven’t saw them here. Later I went to “Settings” -> “Discussion” and discovered that buttons displays if option “Users must be registered and logged in to comment” is checked out. Probably they shows only if form with inputs realy showed.
    I solved this problem by this way:
    In comments.php replace this string:
    comment_form();
    by this:

    if( function_exists('wsl_render_login_form') && comments_open() && ! is_user_logged_in() ) {
    		wsl_render_login_form();
    	}else{
    		comment_form();
    	}

Viewing 1 replies (of 1 total)