Support » Plugin: Reading Time WP » Reading Time is displayed while sharing

  • Hello,

    I ran into a problem when the time reading is displayed as part of a content sharing in the article. Is there any way to prevent this?

    Facebook share preview

    I wonder also whether it is possible to hide reading time in the post excerpt?

    Thanks in advance for your answer and suggested solution.
    Have a nice day. Marek

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jason Yingling

    (@yingling017)

    Hi there,

    It looks like this issue is caused when the reading time is inserted into the_excerpt. If you’re not displaying the_excerpt on your site you could remove line 51 in rt-reading-time.php. That line is add_filter('get_the_excerpt', array($this, 'rt_add_reading_time_before_excerpt');

    The reading time won’t be inserted before the excerpt anymore if that is removed though. If you do use the_excerpt on your site the best option at this point is probably to use Yoast SEO. With that plugin you can edit the meta description for each individual post as well as the sharing text for Facebook and Twitter.

    Sorry I don’t have a better option at this point. I’ll have to do some digging and see if I can find out any way to remove the reading time from the excerpt the og:description meta element is generated from.

    Plugin Author Jason Yingling

    (@yingling017)

    One other question. Are you using a plugin or theme that generates meta element for og:description?

    Hi,

    I really apologize for the delay. My web is powered by default wordpress template Twentyfifteen. I’m already using Yoast SEO, but editing each post on web to delete first sentence with reading time is not much user friendly solution ;).

    Have you any other idea, how to figure it out, please?

    EDIT: First sentence with reading time is not displayed in Yoast SEO excerpt, but only when I share the post on Facebook and other social networks, even on Google Search.

    • This reply was modified 3 years, 3 months ago by .
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Reading Time is displayed while sharing’ is closed to new replies.