Reading Time for Gutenberg
-
Im using a function found here:
https://medium.com/@nadeem4uwebtech/how-to-add-reading-time-in-wordpress-without-using-plugin-d2e8af7b1239To output the estimated Reading Time for posts, it works great for any text directly written in Gutenberg, however it isnt pulling in any data in any Advanced Custom Fields Gutenberg Blocks?
Ive tried editing the line:
$content = get_post_field('post_content', $post->ID);
However getting no closer to getting any data included ACF Blocks.
As a last resort, even if it can pull in multiple instances of a “WYSIWYG-Block”, that would be handy.
Any idea’s how to pull in the ACF Blocks into the esitmation?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Reading Time for Gutenberg’ is closed to new replies.