Robin Wang
asked 7 years ago

Hello everyone,

I checked almost all php files of DWQA, but i haven’t found where i can modify the question lists on homepage. This page: inctemplatesdefaultquestion-list.php only contain the <?php dwqa_load_template( ‘content’, ‘question’ ); ?>, but how should i modify the "content" of question list? I want to modify the avatar size on question list page.

Many thanks,
Robin

1 Answers
DominicStaff
answered 7 years ago

Hi,
If you want to modify the avatar size on the question list, you can open the wp-content\plugins\dw-question-answer\inc\actions-question.php file. Find the line 27 then change the avatar size here:(eg: 32/ 64/ 72/ …)
$author_avatar = get_avatar( $author_id, 12 );
See the screenshot: http://prntscr.com/7qzptj
Also, If you want to modify any position on question list, please let me know detail about it. I will check and help you.
Regards,

robinfly
replied 7 years ago

Hi dominic,
Thanks for so quickly answered my question. I have got it.
Many thanks,
Robin

Powered by DW Question & Answer Pro