would like to know how I can add the number of comments next to the news publication date, and link directly to the comments part. In the pictures I’ve added some red lines in the part where you should go.
Thank you very much for your help.
Unfortunately, DW Focus does not support this issue.
And to change the text color to white and the links either?
You only can use the following code to change the color:
.comment-count {color: #…; ….}
Hope this helps !
Sorry for the ignorance, but: What part I add?
you can add to the style.css file.
Is there any solution for this?
To resolve this issue:
– You can open the dw-focus-slider.php file in the folder path “\wp-content\themes\dw-focus\inc\widgets”. Find the line 112, then add the following code under line 112:
<p class="comment-count">-<?php comments_number( 'no Comment', 'one Comment', '% Comment' ); ?>.</p>
– Open the dw-focus-recent-posts.php file. Find the line line 197, then add the following code
<p class="comment-count">-<?php comments_number( 'no Comment', 'one Comment', '% Comment' ); ?>.</p>
Hope this helps !
Thank you very much, it works perfectly.
The only thing I would change is that the text becomes blank and clicking enlazase to the comments section of the news.
Thanks for your help and sorry for the inconvenience
I have another problem besides the comments, only shows the day in the comments and not the time, I tried to change it in the settings, but does not appear anywhere.
Please login or Register to submit your answer