AlexZ21
asked 2 years ago

Hello, I am wondering how can I do this. I want the page list of questions to open in new tab if users click on a certain questions there. Hope someone can help me here. Thank you so much in advance.  

2 Answers
DominicStaff
answered 2 years ago

You can open the content-question.php file in the wp-content/plugins/dw-question-answer-pro/templates/styles/default folder then find the following code (line 11):

<header class="dwqa-question-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></header>

Then Replace with the following code:


<header class="dwqa-question-title"><a href="<?php the_permalink(); ?>" target="_blank"><?php the_title(); ?></a></header>
AlexZ21
answered 2 years ago

Thank you so much. Perfect! 🙂

Dominic Staff
replied 2 years ago

you’re welcome. Please let me know if you have any issue or question.

Powered by DW Question & Answer Pro