I will show the reading time on a blog post.
The first step is strip all the unnecessary characters from the content in the xml-file.
Try it with this code:
But it doesn't work.
Someone knows how the content text convert to raw text, so i can put it in a variable.
The first step is strip all the unnecessary characters from the content in the xml-file.
Try it with this code:
Code:
strip_tags(html_entity_decode(get_page_content()));
But it doesn't work.
Someone knows how the content text convert to raw text, so i can put it in a variable.