Support » Plugin: Simple Image Widget » [Plugin: Simple Image Widget] Validation Issues

Viewing 6 replies - 1 through 6 (of 6 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    the validator does not like the <p> within the <a href...> tag.

    So isn’t this a problem with the plugin? It adds the <p> tag automatically within the tag.

    Michael

    (@alchymyth)

    Forum Moderator

    So isn’t this a problem with the plugin?

    yes – but relative easy to remedy:

    edit simpleimage.php
    (/wp-content/plugins/simple-image-widget/simpleimage.php)

    find:

    <p><img src="<?php echo $options[$number]['image']; ?>" alt="<?php echo $options[$number]['alt']; ?>" /></p>

    remove the p tags.

    That worked! Thanks so much for your help. I accessed the file through the plugin editor in WordPress and removed the p tags. Hopefully this will be fixed on the next update so that it won’t overwrite the change. I’m not sure why anyone would want to use the p tags for images.

    Thanks for pointing this out. I’ve just updated the plugin to 2.0 and it no longer includes the p tags.

    This is a complete rewrite using the more modern widget framework, but functionally everything else should be the same.

    Chris

    Thanks Chris, and great plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Simple Image Widget] Validation Issues’ is closed to new replies.