Hi @nermel, this greatly depends on how you’ve set up your site. If you have a custom field on each post called reading_time
and that field contains data about the amount of time it would take to read a post, then yes, <Field reading_time />
would be the way to display that field’s data. However, “reading time” is not a default field in WordPress so I assume that on that site you linked, some other plugin is being used to generate the data about reading time. If that data is saved to a post field, then it could be accessed by L&L’s Field
tag. There are lots of reading time plugins available in the WordPress plugin repo so you’d need to reach out to their developers to find out if that data is being saved to a field and if so, what it’s called. One convenient way to see all the field names available on any post type is by adding <Field all />
to your template, which displays all the available fields you could display.
My assumption though is that in the example site you shared, that reading time data is simply being generated with PHP based on the post’s length and then displayed on the front end of the theme without creating or modifying any kind of post field. If that’s the case, then there would be no way for L&L to “see” the data and display it since it doesn’t actually exist in the database.
So long story short, if the field exists on a post, you’re on the right track and you should be able to display it with <Field your_field_name />
. But if that data doesn’t exist in a field, then unfortunately that’s not something that L&L will be able to display. In the future, there might be more tools built into L&L that would allow you to dynamically check the length of a post and dynamically generate the reading time number all within L&L, but that’s not currently possible with the dynamic tags built into L&L.