• Hello,
    I am using the latest version of the plugin, and manually adding the reading time and the number of words, via shortcode.
    But I see a problem when using [wp-word-count-reading-time] shortcode, the plugin automatically adds a <p class=”wpwc-reading-time”> around the number of minutes, breaking the text.
    Is there any workaround for this? it looks really weird like this.

    Here is an example of the output:

    This article has 12,374 words and an average reading time of
    
    49
    
    minutes

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Indeed! This should have been a span element. Until it is fixed, you can add the following CSS:

    .wpwc-reading-time {display:inline}

    Thread Starter zanpo

    (@zanpo)

    Thanks for the tip.
    It works….but only partially. It’s still not being displayed as a normal full sentence:

    This article has 19,606 words and an average reading time of
    
    78 minutes

    Be more strategic with your use of “before” and “after”. Something like

    
    [wp-word-count before="This article has" after="words"] [wp-word-count-reading-time before="and an average reading time of" after="minutes."]

    Might work, and if it doesn’t, it should point you in the right direction

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove paragraph surrounding wpwc-reading-time’ is closed to new replies.