Add custom meta to front end

Posted in: Newspaper
Post count: 85

Hello! Yoast SEO has added a new meta value to each post, “Estimated Reading Time.” I know the meta value (estimated_reading_time_minutes). Where and how would I add it to the loop in order to be displayed in the meta data line after the views counter?

Post count: 18283

Hello !

In order to add it to your post you will have to follow their guide here: https://yoast.com/help/estimated-reading-time-in-yoast-seo/

Thank you !

Post count: 85

Well, I don’t use Gutenberg, so was wanting to know which file in the Newspaper theme I need to edit to add it via code. I looked, and was not sure I found the right meta line.

I’m using the Standard Pack. Can you point me to the right place?

Post count: 18283

Hello !

This feature is only for gutenberg. This can’t be coded in. As you can see here too: https://yoast.com/the-block-editor-gutenberg-why-you-should-be-using-it/ SEO Yoast suggests to use Gutenberg and that’s why their are focusing.

Thank you !

Post count: 85

Yoast support sent me the PHP to add to have it show on the front end. I just need to know which file to edit to add it to the meta for posts.

Post count: 18283

Hello !

Please let us know what post template are you using in order to guide you. Is it a Cloud Library Template or a standard template ?

Thank you !

Post count: 85

Actually using both. I use some of the templates from the Standard Pack, and then have added a few cloud templates as well.

I’m very comfortable editing code. Just don’t want to have to hunt around for what to edit. 🙂

Post count: 18283

Hello !

In order to provide the proper solution we need to know what templates are you using. The Cloud library templates don’t have php files, we will have to see what shortcodes can we insert it in.

If you are using multiple templates we need a list.

Thank you !

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.