1. When visiting our site as a guest we see the following below the questions:
‘Please login or Register to Submit Answer’
Is there a way to redirect the Register link to a different page? We are using a membership plugin and require payment to join the site and access function.
2. If I have permissions set so that ONLY admin can answer questions should the ‘Please login or Register to Submit Answer’ really even appear? It does not seem correct
I have found this on the internet, but have not tried it. Hope this works for you:
Did you make it work? Also here is my opinion:
1. you can change redirect link in dw-question-answer/inc/templates/default/answers.php file, line 121. We will add a filter here in next version for other can easy change it.
2. When you enable answer for administrator. we will provide a message like this “You do not have permission to submit answer” for who is not logged in. we require logged in when user is guest.
Hey @mike, you can copy the file dw-question-answer/inc/templates/default/content-question.php to your-theme-folder/dwqa-templates/content-question.php then go the line 28 and replace :
get_author_posts_url( $authordata->ID, $authordata->user_nicename )
bp_core_get_user_domain( get_the_author_meta('ID') )
Please login or Register to submit your answer