TELL Communications Limited
asked 9 years ago

Is there a way to get jetpack’s social media login options to work with the commenting system of DW Question & Answer.
I do not want to have separate commenting systems on the site. I want to maintain a consistent UX for the commenting system. Using Jetpack’s UX is a good way to go.
I am using DW Focus theme.

1 Answers
BigHug
answered 9 years ago

Hi Damilarelanana,
We are using a filter to overwrite comment template in single question if you want to use default comment of ( notice just comments not answer ), please add this code into your functions.php file:

function dwqa_remove_comments_template_filter() {
remove_filter( "comments_template", "dwqa_generate_template_for_comment_form", 20 );
}
add_action( 'plugins_loaded', 'dwqa_remove_comments_template_filter' );

Regards

Olusegun Mustapha
replied 9 years ago

Thank you BigHug. The recommended code actually worked for me too.
how can i make jetpack’s social media login options (mention by Damilarelana) worked with the QA “Answer this question” so that users can add answer to question when they login using any jetpack’s social media login options . I want this to serve as another option for user to login/register in order to add answer or even submit questions.
how can this be done?

regards

BigHug
replied 9 years ago

Hi Olusengun,
We added a filter named dwqa_ask_question_link for ask question link button, you can use this filter to overwrite dwqa question link

Powered by DW Question & Answer Pro