Yiannis Pahitas
asked 8 years ago

Hi,
I’ve been trying to change the text in the search bar in the question-list page to Greek with no luck. I also tried to change it to a different word in english to make sure it wasn’t a language issue.
I edited the file search-question.php (with no luck) to read:
<form action=”” class=”dwqa-search-form”>
<input class=”dwqa-search-input” placeholder=”<?php _e(‘Test’,’dwqa’) ?>”>
Is the string defined somewhere else?

1 Answers
DominicStaff
answered 8 years ago

To resolve this issue, you can copy the search-question.php file in the folder path “wp-content\plugins\dw-question-answer\inc\templates\default\search-question.php“, then pates the search-question.php file into folder path “\wp-content\themes\your-theme\dwqa-templates“. After moving into folder “\dwqa-templates” you can open the earch-question.php file find the line 4.

<input class="dwqa-search-input" placeholder="<?php _e('Search','dwqa') ?>">
Yiannis Pahitas
replied 8 years ago

That hasn’t worked either!

Powered by DW Question & Answer Pro