I\’m using a divi theme it kept on telling the users that they did not have permission to submit a question
You can configure the permission in the Dashboard > Questions > Settings > Permission tab.
Please How can I tell them to register HERE in other get permission?
Please let me know detail about this question.
I want an anonymous user (with denied access on pro) to see a message like: “PLEASE REGISTER HERE (link) in order to post a new question/comment”
You can add the following code to the position that you want to show the message:
<?php if ( is_user_logged_in() ) : ?>
<div><?php _e( "You doesn't have permission to post a question", 'dwqa' ) ?></div>
<?php else : ?>
<?php dwqa_load_template( 'login', 'form' ) ?>
<?php endif; ?>
<?php endif; ?>
Note: You can create a dwqa-templates folder in your theme and in the dwqa-templates folder, you create the following folders: dwqa-templates > styles > your-style
See the screenshot: http://prntscr.com/l1i6sy
Then copy/paste the template file of the DW Q&A plugin into the your-style folder to custom.
Please login or Register to submit your answer