• Login form is not visible to visitors for each questions.

    How to enable or add login from to each question.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author DesignWall

    (@designwall)

    You can open the answer.php file in the templates folder of dw-question-answer then add the following code to the line 26:

    <?php elseif ( ! is_user_logged_in() ) : ?>
    	<div class="alert"><?php _e( 'You do not have permission to submit a question','dwqa' ) ?></div>
    	<div class="dwqa-answers-login">
    	<div class="dwqa-answers-login-title">
    		<p><?php printf( __( 'Please login or %1$sRegister%2$s to submit your answer', 'dwqa' ), '<a href="'.$link_register.'">', '</a>' ) ?></p>
    	</div>
    	<div class="dwqa-answers-login-content">
    		<?php wp_login_form(); ?>
    		<?php do_action( 'wordpress_social_login' ); ?>
    	</div>
    </div>

    See the screenshot: http://prntscr.com/inwkhf

Viewing 1 replies (of 1 total)

The topic ‘Login Form disabled’ is closed to new replies.