Updating WP-Members WordPress Plugin for Twitter Bootstrap

At Inforest Communications, we work a lot with WordPress as a Content Management System (CMS), and also tend to use the Twitter Bootstrap framework as a starting point for our HTML/CSS layouts.  Recently we completed a project using the WP-Members plugin in order to provide a basic, password-protected area of a website.  As is the case with plugins, the default HTML markup doesn’t always fit with what we are trying to achieve, so there is some degree of noodling required to get the output generated by the plugin to do what you want it to do.

To it’s credit, WP-Members does provide hooks and pluggable functions for modifying the form output.  Rather than going to the trouble of writing hooks, I decided to simply write new functions to generate the forms for Bootstrap, because it was easier and I assumed any changes to these functions would probably require rewriting hooks anyway.

I’ve posted these functions to my GitHub Repository, wp-members-bootstrap-forms.  Hopefully, it will save someone the trouble of having to key these changes in themselves.