Vintage Unscripted
asked 3 weeks ago

I asked this question a couple of months 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.
https://vintageunscripted.com/dwqa-questions/?sort=views
Since I can’t remove the dates using the “settings” functionality, can they be removed using a CSS entry?

The response I received then was that I needed to edit the plugin files in order to not have the date show up.

I couldn’t figure out how I could access those files so I spoke with the theme developer because I’m a technical user, not a developer myself. He sent me back to you saying there must be a way to remove the date using custom CSS. 

I would appreciate your help. 
Linda

 

1 Answers
DominicStaff
answered 3 weeks ago

I think we have helped you resolve this issue from another question. 
If you want to hide the question date, you can create the dwqa-templates/styles/default folder in your theme folder then copy/paste the content-question.php file from the wp-content/plugins/dw-question-answer-pro/templates/styles/default folder into new folder that you created. 
Open this 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'] ) ?>
Dominic Staff
replied 3 weeks ago

If you still face their issue, you can send me the username & password of your site, I will help you resolve it.

Powered by DW Question & Answer Pro