Customizing Anspress more in the WordPress template

3.44K viewsUpdatesfiles overwrite
0

Hi,

 

I have removed the time and date of the comments because in my case, it doesn’t add any value to my website.

To do that I commented out the following line in wp-content/plugins/anspress-question-answer/templates/js-template/question.html (and it works) :

 

<!– {{aplang.commented}}

     <a href=”{{link}}” class=”ap-comment-time”>

       <time datetime=”{{iso_date}}”>{{time}}</time>

     </a>

     —>

 

But every time I get an Anspress update, it removes my changes and I have to do it again. Is it possible to make other folders from the Anspress plugin customizable, like you did by enabling a folder wp-content/themes/name-pf-template/anspress ? Because this folder only works to overwrite files that are placed on the root of wp-content/plugins/anspress-question-answer/, and not for the ones in anspress-question-answer/templates/js-template/ for instance.

 

Thank you very much !!  🙂