WPIntell

Source evidence

Entries with wrong date published

Liveblog · support · 2018-04-02T12:11:00+00:00

complaintsentiment
mediumseverity
0.92relevance
7replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

8 / 37 rows with source links

21.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
iuato unresolved
Hi, My timezone is set to Sao Paulo. When I publish new entries the date are shown as 3 hours ago Thx, Hi! I think you might be able to fix it, by looking at this line (line 964 in mine, but I’ve made som changes, so might be different) in the liveblog.php file: ‘utc_offset’ => get_option(‘gmt_offset’) * 120, // in minutes I had to change the gmt_offset from 60 to 120 to get the correct time for entries in my CET timezone. No sure what the value would be for Sao Paulo timezone, but you should be able to figure it out, I guess. that worked for me thanks! do you know how to increase the number of entries displayed? I think you should look in the classes/class-wpcom-liveblog-lazyloader.php In line 103 of the code: public static function get_number_of_entries() { if ( ! isset( self::$number_of_entries ) ) { self::$number_of_entries = 5; Might work to change the “5” to 10, 15 or whatever number you want. Another option might be be to add a fliter to your functions.php file. oh it worked thank you so much! I was looking through the classes folder to see where that bit could be. btw did you manage to add the liveblog to pages? i found something add_post_type_support( ‘post’, self::key ); on liveblog.php and if i replace post with page it adds the liveblog to any page in the back end but not front end. thought to ask you if you found something about this. cheers! Sorry, don’t know how to do that. I think the developers of the plugin have been looking at how to make it compatible with pages, but as of now its not a priority, I think. Maybe something like this could work. A plugin that makes you put a post into a page? Have not tried, but maybe 🙂 https://wordpress.org/plugins/posts-in-page/ I think the issue with pages has been discussed here, but not sure if there is a working fix for it: https://github.com/Automattic/liveblog/pull/342 Thank you for the suggestions. Post in page plugin didn’t work for that type of post…maybe they’ll add this to pages I am glad that at least they are considering this.

Comments

7 shown
oletomat 2018-04-03T14:42:00+00:00

Hi! I think you might be able to fix it, by looking at this line (line 964 in mine, but I’ve made som changes, so might be different) in the liveblog.php file: ‘utc_offset’ => get_option(‘gmt_offset’) * 120, // in minutes I had to change the gmt_offset from 60 to 120 to get the correct time for entries in my CET timezone. No sure what the value would be for Sao Paulo timezone, but you should be able to figure it out, I guess.

tiotrom 2018-04-26T13:20:00+00:00

that worked for me thanks! do you know how to increase the number of entries displayed?

oletomat 2018-04-26T18:58:00+00:00

I think you should look in the classes/class-wpcom-liveblog-lazyloader.php In line 103 of the code: public static function get_number_of_entries() { if ( ! isset( self::$number_of_entries ) ) { self::$number_of_entries = 5; Might work to change the “5” to 10, 15 or whatever number you want. Another option might be be to add a fliter to your functions.php file.

tiotrom 2018-04-26T19:27:00+00:00

oh it worked thank you so much! I was looking through the classes folder to see where that bit could be. btw did you manage to add the liveblog to pages? i found something add_post_type_support( ‘post’, self::key ); on liveblog.php and if i replace post with page it adds the liveblog to any page in the back end but not front end. thought to ask you if you found something about this. cheers!

oletomat 2018-04-27T07:25:00+00:00

Sorry, don’t know how to do that. I think the developers of the plugin have been looking at how to make it compatible with pages, but as of now its not a priority, I think. Maybe something like this could work. A plugin that makes you put a post into a page? Have not tried, but maybe 🙂 https://wordpress.org/plugins/posts-in-page/

oletomat 2018-04-27T07:50:00+00:00

I think the issue with pages has been discussed here, but not sure if there is a working fix for it: https://github.com/Automattic/liveblog/pull/342

tiotrom 2018-04-27T21:15:00+00:00

Thank you for the suggestions. Post in page plugin didn’t work for that type of post…maybe they’ll add this to pages I am glad that at least they are considering this.