reading time to posts

Posted in: Newspaper
Post count: 16

Hi,

i want to integrate a “reading time plugin” or a short code (only for posts) to out beauty blog (http://www.natuerlich-schoener.com). I have played with the custom css, but it does not work correctly. I want to display the reading time close by author, date, … (Post and Custom Post Types) and in the same design. First I have played with the following shortcode, but I’m not fit enough to get it worked with custom css.

<?php $mycontent=$post->post_content;$word=str_word_count(strip_tags($mycontent));$m=floor($word/250);$s=floor($word%250/(200/60));$est=$m.’ Minuten’.’, ‘.$s.’ Sekunden’;?><p>Geschätzte Lesezeit: <?php echo $est;?></p>

After that I have test several plugins, best looks “LP Estimated Reading Time”. Same problem, I don’t get the “reading time” close by the “Post and Custom Post Types”. How can I integratet the shortcode (see second picture) by custom css?

Have a look to this:
http://www.natuerlich-schoener.com/wp-content/uploads/2017/01/readingtime.jpg
http://www.natuerlich-schoener.com/wp-content/uploads/2017/01/readingtime2.jpg

Any ideas or helpful tips for me?

Thanks
Lars

Post count: 23312

Hello visioneer,

Unfortunately, our theme does not have any such an option for this and also, notice that this type of plugin is not tested with the theme and we have no idea about the theme behavior with this kind of plugin, sorry! Notice that we cannot provide support implementation for untested plugins, sorry! So, if you want to integrate this plugin into our theme, you should do it manually. As a hint, if you want to add some information near the comments in the header section, you should read this topic here -> https://forum.tagdiv.com/topic/post-date/ because there you will find a similar example.

Thanks for the message!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.