Post Format on Homepage – name of writer, title of article, time format…

Posted in: Newspaper
Post count: 26

Need my newspaper theme homepage posts to have the following post format: name of the writer (how do I change it so it doesn’t say by admin), the title of the article, time format (example: 7m ago or 9h ago or 2d ago, etc), and 1111 comments. See link below
https://docs.google.com/document/d/1lgfpMDOVOYbKIDw9K1nRAg8icauB_uPKcO0gF3idUO0/edit?usp=sharing

  • This topic was modified 7 years by ubuntu. Reason: link wasn't displaying
Post count: 23312

Hi,

If you want to change the date format, you need to try your format date like this ->
Formatting Date and Time -> https://wordpress.org/support/article/formatting-date-and-time/

Hope this helps!

Thank you!

Post count: 26

Catalin,

Thanks for the response. The web developer and wordpress expert helping me says that Newspaper 9 should have a format because the wordpress format you provided won’t work for the theme. Are you one of the developers for Newspaper 9? I actually need a support ticket to Newspaper help line because I have a project and this post time format needs to be corrected as soon as yesterday.

Thanks

Post count: 26

Catlin,

This is what I actually need:
“I want to implement human_time_diff() to change the date format like 1 days ago, I have tried few custom code also tried available plugin mek time ago but they are showing wrong out put. Could you please tell me date file, filter or hook used to display date so that I can directly implement there.”

Post count: 20688

Hi,

The name of the author that appears in the modules and in the post page is the one set in the user profile, in WordPress – http://prntscr.com/o3vev7 If you want to change it you can do so there.

All the theme modules, blocks, grids etc can display the article title of the post by default. For example this is a demo page containing blocks and grids that display posts
https://demo.tagdiv.com/newspaper/

The modules can display a modified date format, but not a time ago format
http://prntscr.com/o3vhfuhttp://prntscr.com/o3vhsd
A time ago is possible only in the post page when using a cloud post template
http://prntscr.com/o3vj4h
If you want to modify the modules to display a time ago format, you will have to modify the module files which are here – http://prntscr.com/o3vnak

There are various topics that you could try, but note that modifications made to the plugins will be lost after a theme update
https://forum.tagdiv.com/topic/implementing-the-time-ago/
https://forum.tagdiv.com/topic/changing-the-date-to-x-time-ago/
https://forum.tagdiv.com/topic/the-time-ago-in-block-3-is-correct-but-another-block-is-wrong-time/

Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.