Bootstrap and WP-user forms
Viewing 3 Posts - 1 through 3 (of 3 total)
Author | Posts |
---|---|
December 14, 2013 at 7:26 pm 13711 | |
Tareq Hasan | Hi,
Using bootstrap, how can I add the needed classes and remove yours in the "add new post form" ? An override ? A filter function ?
What I have :
What I need :
EDIT:
Adding the class to the field in wp form doesn't work because it add it to the li and not to the input field.
Reading render-form.php, it looks like I need to filter all fields.
Do you have an idea on how to ? Can you share an example ? |
December 14, 2013 at 7:50 pm 13714 | |
Tareq Hasan | There is no other way except editing the plugin code. But I wouldn’t suggest doing that as you’ll lose the changes if any plugin update comes. It’ll be better to add custom CSS to your theme and style the form. |
December 14, 2013 at 8:58 pm 13715 | |
ced | Is there any filter action like in wordpress ? Something like:
|
December 15, 2013 at 1:16 pm 13726 | |
Tareq Hasan | Take a look here http://www.wpbeginner.com/wp-themes/how-to-add-custom-items-to-specific-wordpress-menus/ |
Viewing 3 Posts - 1 through 3 (of 3 total)