WordPress.org

Ready to get started?Download WordPress

Forums

iContact Widget
[resolved] The plugin changes an id to class (2 posts)

  1. romtek
    Member
    Posted 1 year ago #

    iContact's script for its Automatic Sign-up forms returns a div with id of SignUp. However, this plugin replaces it with with a div with a class of SignUp. This, of course, leads to CSS rules not applying to proper elements.

    http://wordpress.org/extend/plugins/icontact-widget/

  2. Zack Katz
    Member
    Plugin Author

    Posted 9 months ago #

    This is done to fix potential incompatibilities with lots of themes. IDs are not best practice, since only 1 is allowed. If you have multiple widgets or an embedded form and a widget, that makes the page's HTML invalid.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.