WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Vertical Response Newsletter Widget] Almost all CSS hard-coded (2 posts)

  1. jasdonle
    Member
    Posted 4 years ago #

    Just thought I'd mention this. I love this plugin for the functionality it provides, but was frustrated to see that the author hard-coded 90% of the styling into the plugin itself, using inline CSS.

    I suppose this would be the best thing to do if your audience was mostly people who didn't know how to code. Perhaps include two versions of the PHP file -- one mostly hard-coded, the other completely vanilla -- and include a way to toggle between the two in the admin.

    http://wordpress.org/extend/plugins/vertical-response-newsletter-widget/

  2. Zack Katz
    Member
    Posted 4 years ago #

    @jasdonle - I created the widget with the option to turn off the hard coded CSS styles. If you choose "No" on the "Show Widget Style" option, the CSS styles will not be added inline.

Topic Closed

This topic has been closed to new replies.

About this Topic