I cannot allow non-logged in users to see answers to questions.
My settings are shown below, but if I click on a question to view the answers when I am not logged in, it just redirects me back to the question list page:
I have started anonymous can ask question and answer, but its not working. The user is redirecting to login signup.
Hello Guys,
How can I make anspress so I can allow user to ask anonymous questions?
Is there any plugin which can do this?
Is there any code snippet that can help for this or any one who suggest way if they already did this?
Regards,
Keval
I would by the buddypress theme but can’t get any answers to my questions.
after submitting a question or answering a question, is there a way for the page to redirect to the question page? (or any page?)
hi
I dont know how to change this link in this file wp-content/plugins/anspress-question-answer/theme/default/login-signup.php
this file looks like:
<?php if(!is_user_logged_in() && !ap_opt(‘allow_anonymous’)): ?>
<div class=”ap-please-login”>
<?php printf(__(‘Please %s or %s.’, ‘anspress-question-answer’), ‘<a data-action=”ap_modal” data-toggle=”#ap-login-modal” href=”‘.wp_login_url(get_permalink()).'”>’.__(‘Login’, ‘anspress-question-answer’).'</a>’, ‘<a href=”‘.wp_registration_url().'”>’.__(‘Sign up’, ‘anspress-question-answer’).'</a>’) ?>
<?php do_action( ‘wordpress_social_login’ ); ?>
</div>
<div id=”ap-login-modal” class=”ap-modal”>
<div class=”ap-modal-backdrop”></div>
<div class=”ap-modal-inner”>
<div class=”ap-modal-header”>
<i class=”ap-modal-close” data-action=”ap_modal_close”>×</i>
<h3 class=”ap-modal-title”><?php _e(‘Login’, ‘anspress-question-answer’); ?></h3>
</div>
<div class=”ap-modal-body”>
<?php wp_login_form(); ?>
</div>
</div>
</div>
<?php endif; ?>
where should I insert my login address?
thank you