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

    (@yingling017)

    What theme are you using? The plugin works by checking the length of the content entered into the default post editor. Some themes, especially theme builders like Divi, use shortcodes and custom fields to create custom page layouts.

    If you have a staging environment the best place to start is switching to one of the default twentyyear themes. If that doesn’t work deactivating other plugins one by one until it starts working can help determine if it is a conflict with another plugin.

    Thread Starter suracethapa

    (@suracethapa)

    It is custom theme developed modified from twenty seventeen. But i am using site origin page builder here.

    Is this plugin conflicting your plugin ?

    Thanks

    Did you plan to include a compatibility with those themes that use Visual Composer too?

    Plugin Author Jason Yingling

    (@yingling017)

    @suracethapa It’s likely that the Site Origin Page Builder content is being rendered to the_content filter after the Reading Time plugin calculates all the reading time, or isn’t actually outputting through the_content filter at all.

    @alemarengo84 I don’t have any plans to include compatibility for Visual Composer at this time. Reading Time WP is intended to be a simple plugin that works with themes using the default WordPress content editor to output content.

    Thanks for your reply @yingling017.
    Let me say it’s a real pity. ??

    I was so happy to find the Reading time plugin, just what I was looking for. And alas, I also find that the reading time is displayed as 0. And yes, I’m using the Divi builder. Any plans of supporting that or any hint as to what I can do?
    Alexander

    If you are comfortable with PHP, you can modify the code (or write your own plugin/shortcode lest it is overwritten by an update) by replacing

    this line:

    $strippedContent = strip_shortcodes($rtContent);

    with this line:

    $strippedContent = preg_replace( ‘/\[[^\]]*\]/’, ”, $rtContent);

    This removes the shortcode tags while retaining any content enclosed by the shortcode. (warning: not extensively tested)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘It shows 0 Minute ?’ is closed to new replies.