Linda Shore
asked 1 year ago

I just upgraded to DW Q&A Pro from the free package in the hopes it would give me the ability to remove the dates asked and answered from the postings. We are using it on a vintage blog, rather than as a bulletin board system, so the dates have no relevance because the questions are not time-sensitive.

Since I can’t remove the dates using the “settings” functionality, can they be removed using a CSS entry?

Thanks in advance for your help,

Linda Shore

2 Answers
answered 1 year ago

To remove the time in the question list, you can create the dwqa-templates/styles/default folder in your theme folder and then copy/paste the files from wp-content/plugins/dw-question-answer-pro/templates/styles/default folder into the default folder that you have created in your theme folder.
And now, you can open the content-question.php file, and find the line 14:
Replace it with the following code:

<?php printf( __( '<span><a href="%1$s">%2$s%3$s</a> %4$s</span>', 'dwqa' ), esc_url( $latest_activity['userlink'] ), $latest_activity['useravatar'], $latest_activity['username'], $latest_activity['text'] ) ?>
Vintage Unscripted
answered 1 year ago

Hi Dominic,

I don’t have access to edit the plugin files. I’m a technical user, not a developer, so am hoping there is a way to make this change using custom CSS in my theme. Is that possible?


Vintage Unscripted
replied 1 year ago

I’ve spoken with the theme support team and he’s the one who sent me back to you with this comment:

Aug 20, 2022, 11:09 PM (11 hours ago)
to me

Hi there,
I am afraid this is not a theme but a plugin (dw-question-answer-pro) file. Please consult plugin developers on how to edit this file.

Dominic Staff
replied 1 year ago

Sorry about this, I have lost your message. In this case, you can send me the username & password of your site, I will help you resolve it.

Powered by DW Question & Answer Pro