Ready to get started?Download WordPress


SEO Friendly Images
Fix extra spaces (1 post)

  1. Clifford Paulick
    Posted 2 years ago #

    When using %title for img title and %name %title for img alt, I see a leading space in the alt tag but not the title tag.

    title="This is a post"
    alt=" This is a post"

    Also, if there is " - " in the post title, it shows up with several spaces, like this:
    post title: WordPress Survey 2012 – Help Shape WordPress

    title="WordPress Survey 2012   Help Shape WordPress"
    alt=" WordPress Survey 2012   Help Shape WordPress"

    Looks like %name isn't picking up anything but adds a leading space.
    If I use just %name for alt tag, I get invalid HTML: http://screencast.com/t/z62YYytkpE

    If I use just %title in alt tag, I get no leading space in the alt tag--works just like the title tag did above.

    Thanks, Vladimir


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Clifford Paulick
  • This topic is not resolved
  • WordPress version: 3.4.2


No tags yet.