[resolved] Extra space inserted before first word in Excerpt (5 posts)

  1. larrychartier
    Posted 2 years ago #

    Hi All,

    I have a weird issue where an extra space appears before the auto-generated excerpt on my posts page. This only happens if I let WordPress create the excerpt for me. If I manually input the excerpt it does not appear.

    This is happening on all my posts, regardless of the content.

    Any help would be much appreciated!

  2. please post a link to your site, where the problem can be seen.

  3. larrychartier
    Posted 2 years ago #

  4. seems to be coming from this output by some 'social ring button' (?) plugin:

    <div style="clear:both;">&nbsp;</div>

    which ends up in the excerpts as a single 'non-breaking-space' character &nbsp;

    as a first step try to temporarily disable the plugin;
    if this helps, try digging into the plugin code to replace &nbsp; with an ordinary space character.

  5. larrychartier
    Posted 2 years ago #

    That was it! Thanks so much for helping me with this :)

Topic Closed

This topic has been closed to new replies.

About this Topic