WordPress.org

Ready to get started?Download WordPress

Forums

Widget CSS Classes
bad html (7 posts)

3 stars
  1. graftedin
    Member
    Posted 9 months ago #

    there are a ton of br tags in the widget code. Now I have to hack through it to get rid of them......

  2. Cindy
    Member
    Plugin Author

    Posted 9 months ago #

    I don't add any break tags at all in the widget output. All my plugin does is add text to the class and id attributes of the widget container.

  3. graftedin
    Member
    Posted 9 months ago #

    Not to the widget output but to the output from WP_Accept_Paypal_Payment.php. And none of the fields have label tags. None of the fields are wrapped in their own div with unique classes or ids so I can easily control the layout with css.

    Its not a horrible plugin. Just the html is not very workable so that means I have to edit the core plugin files to fix.

  4. Cindy
    Member
    Plugin Author

    Posted 9 months ago #

    If you want my plugin to add classes to widgets, make sure your theme's functions.php where it registers the sidebars is set up correctly (http://wordpress.org/plugins/widget-css-classes/faq/).

    This plugin has nothing to do with any output from WP_Accept_Paypal_Payment.php. You might want to contact the author of whatever plugin has that file.

  5. graftedin
    Member
    Posted 9 months ago #

    I need to add classes to the individual form fields for your donation form so I can control the layout of the form.

  6. Cindy
    Member
    Plugin Author

    Posted 9 months ago #

    I'm sorry but I think you may have mistaken my plugin for another. My plugin is Widget CSS Classes and adds a field to the active widgets on the Appearance > Widgets page in the WordPress backend where you can add a class to the entire widget. It does not have a donation form.

  7. graftedin
    Member
    Posted 9 months ago #

    shoot....grr. I'm sorry.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.