Viewing 14 replies - 1 through 14 (of 14 total)
  • Hello, after last update (2.0.9) my blog have similar problem. In all posts reading time is 1 minute. Because of this I did plugin downgrade and in 2.0.8 version everything works fine.

    Thread Starter barrydollar

    (@barrydollar)

    What’s sad is that I post this 7 days ago and the plug-in author has not even responded.

    Thread Starter barrydollar

    (@barrydollar)

    How was you able to downgrade?

    Plugin’s download link URL has version number. So you just have to change it. ??
    https://downloads.www.ads-software.com/plugin/reading-time-wp.2.0.8.zip
    (probably in the same way you can get older versions)

    Thread Starter barrydollar

    (@barrydollar)

    Thanks!

    Thread Starter barrydollar

    (@barrydollar)

    Interesting… I just noticed is that I am currently on the 2.0.8 version and having this problem.

    Plugin Author Jason Yingling

    (@yingling017)

    Hi Barry,

    I actually did respond to your message but replied to the email notification sent from www.ads-software.com. Which doesn’t post here. Sorry about that but in my defense I was in the hospital following the birth of my second daughter. Here’s what I originally sent:

    That’s an odd one. The reading time pulls in content using “the_content” filter. My thoughts would be that something else may be hitting “the_content” filter before Reading Time WP hits it. It’s hard to diagnose without knowing any other plugins or how your theme could be outputting the_content.

    Would you be able disable plugins on the site to see if doing so allows the reading time to be calculated properly?

    And let me know what your theme is and plugins you use that do make any modifications to the content automatically and I can take a look.

    Do please remember that the plugins on www.ads-software.com are free and the authors do maintain them without compensation so support requests can not always be handled immediately. If you’d like to contribute yourself you can do so to the plugin on Github.

    Plugin Author Jason Yingling

    (@yingling017)

    @hoholka could you let me know the settings you are using for Reading Time WP?

    And you experienced the issue going from 2.0.8 to 2.0.9?

    Thread Starter barrydollar

    (@barrydollar)

    Jason, that is a good defense, a new baby! Congrats.
    As I mentioned, I did test by turning off all other plugins and using a basic wordpress theme and same issue. The weird thing is this does not happen on all posts. it seems random.

    One other not, when I reinstalled the 2.0.8 version and clicked “activate’ I got an error message that said something along the lines of having an invalid header. Then I went to the installed plugin page and clicked activate from there and it activated.

    The links are to a dev site, I had to just turn it off on the live site. I could even give you a log-in if you wanted to poke around but need a private way to get it to you.

    Plugin Author Jason Yingling

    (@yingling017)

    Yeah for some reason the 2.0.8 version is having an issue from the WP.org installer. Not sure what’s happening there yet.

    Just to clarify do you see the same issue with 2.0.8?

    And if you could give a login to a staging site that would be great. You can email it to me at jason (at) jasonyingling.me

    It may be a bit before I can login and check today though.

    Thread Starter barrydollar

    (@barrydollar)

    Just sent you an email. Thanks!

    Hello Jason!
    First of all – congratulations! ??

    And I already solved problem myself, so – don’t worry. ??
    (in new version you added rt-prefix class and that created problem on my website)

    BTW, I have some extra question. Is there shortcode (or some other method), that will output just number of minutes, without HTML spans?

    PS. Your plugin is great. Thank you for creating and developing it! ??

    Plugin Author Jason Yingling

    (@yingling017)

    @hoholka you could do something like the following passing the post ID and the Reading Time options to the rt_calculate_reading_time function.

    <?php
        global $reading_time_wp; 
        echo $reading_time_wp->rt_calculate_reading_time( $post->ID, get_option( 'rt_reading_time_options' ) );
    ?>

    <span> elements are inline elements though so they shouldn’t effect layout unless something is changing the default <span> styles.

    Plugin Author Jason Yingling

    (@yingling017)

    Hi @barrydollar,

    Just wanted to check-in. I followed up with what I’ve found via email, but posting here in case someone else runs into similar issues.

    On the posts showing “< 1 minute” it appears nothing is being returned for the “post_content” field of the $post object.

    Reading Time WP uses the_content filter to read the content of the post and count the number of words. Since nothing returns on those pages it calculates as < 1 minute.

    Your site looks to use Themify for a custom editing experience. I would lean towards that doing something odd to save the content for the post. If you switch to a theme like Twenty Twenty you should see no content returns on the pages showing no reading time.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘some post only showing 1 min even though they are much longer’ is closed to new replies.