I used this tutorial (https://birchtree.me/blog/reading-time-wp-php/) to add reading time to enfold blog posts. However, i was only able to call the reading time on single blog posts by adding this code (echo reading_time();) to the …/enfold/includes/loop-index.php file. I noticed it is not showing up on the Blog Post Slider Element. I’ll like to make it show there also.
I have searched on the forum and i know i need to edit the …/enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.php file.
Could you please help with the code i need to insert and where, in order to make the reading minutes show inside the slide-meta div along with the date and comments meta on the blog post builder element set to grid layout.
Hey adotopanuga,
Thank you for the inquiry.
Where exactly did you add the code in the postslider.php file? Did you enable the excerpt, or add a summary to the posts? The post meta info such as the date or comment count will only display when excerpt is available. The code starts around line 887 of the postslider.php file.
Best regards,
Ismael