Archived topic
Post Read Time, Update Date and Adsense related
7 replies · Started by Junaid on July 31, 2019
Hello there,
1. Can I show read time on the article through GP?
2. Can I show update date instead of the published date?
3. Can I integrate a sense ads without a plugin?
Thank you.
Hi there,
1. Tom provides a function here:
https://generatepress.com/forums/topic/creating-an-estimated-reading-time/page/2/#post-647138
2. This filter will display only the updated date if available:
https://docs.generatepress.com/article/generate_post_date_output/#only-show-updated-date
3. Yes you can either use Widget Areas or the Hook Element to add the adsense scripts:
https://docs.generatepress.com/article/hooks-element-overview/
I'm looking for in-post ads. I will apply the remaining with instructions.
Thank you.
For in Post Ads we advise using a plugin Tom recommends one here:
https://generatepress.com/forums/topic/adding-adsense-inside-the-posts/#post-669896
Thank you.
You're welcome
Where should I put the codes for my questions 1 and 2?
Should I insert in Edit theme? What's the suitable place to put the functions so that its working properly.
They're both PHP Snippets - this article explains:
https://docs.generatepress.com/article/adding-php/
If you're not using a child theme then the mentioned code snippets plugin is the easiest option