Michał Dutkowski
asked 6 years ago

Hello, we re using Dw focus version 1.0.9 
 
I found that for a posts shown in Sidebar widget: DW Recent News there is Hentry for every post but it lacks Updated and Author which throws like thousands of error in google analytics. I tried to find the place in the files where I can try to add missing hentry But all I found was 
 
/inc/widgets – and after editing any file for example “dw-focus-recent-posts.php” There arent any changes visible on website. 
Do you know where and what should I write to fix the missing hentry options for the sidebar widgets?
 
My website is: glowny-mechanik.pl

1 Answers
DominicStaff
answered 6 years ago

Hi,
You can open the template-tags.php file in the inc folder then find the line 99.
Also, we are checking to updating the theme to the latest version with some change about the style and fixed bugs. If you have any issue or idea about the theme, please let me know, we will discuss about it and update into the theme. Thank you, my friend.
 

Michał Dutkowski
replied 6 years ago

Hi I did open template tags but AT LINE 99 I SEE ONLY About comment time,

if ($comment_time_mins == ‘mins’ || $comment_time_hour == ‘hour’) {
$comment_time_diff .= human_time_diff( get_comment_date(‘U’), current_time(‘timestamp’)) . ‘ ago’ ;

Which is not helping for the recent posts widget

Dominic Staff
replied 6 years ago

Please accept my apology for the delay in getting back to you. It’s my mistake. I have tested the latest version 1.3.2.
In your case, you should use the following plugin to resolve this issue: https://wordpress.org/plugins/wp-seo-structured-data-schema/
Also, we have resolved this issue in the latest version 1.3.2, you should update the theme to the latest version.
Also, we will release the version 1.3.3 in the this week.

Powered by DW Question & Answer Pro