Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Unwanted <br> before each <input> field?

Old Mar 5, 2011, 12:01 AM
22 posts · Jun 2009
I'm not sure if this is an Atahualpa thing or a WordPress thing... I figured I'd start here and broaden the search for an answer to the WP forums if needed.

I'm building a form at <http://directory.sustainablesources.org/get-listed/>, and something is inserting a <br> before every <input> field. (Sorry, you have to be logged in to see the form. Feel free to use "sstest" for both username and pass.)

I've got Unfiltered MU plugin on it, so it should theoretically be showing my code as I entered it:

<strong>Contact Name: </strong><input type=text .....

etc. No line breaks anywhere between the field name and the input field. Instead, it's displaying in firebug as:

<strong>Contact Name: </strong>
<input type=text .....

Any ideas? Is there an better "don't mess with my code" plugin than Unfiltered MU?

Old Mar 5, 2011, 03:34 AM
juggledad's Avatar
23,742 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
WordPress has a habit of adding is some extra html (try putting this in a post ' hello this<h2>is an H2</h2> and this is not' and you will get three lines)

For example, Atahualpa sets up some info for the comments form, then it calls the WordPress function 'comment_form()' to actually build the form.

There are lots of complaints about the fact that WordPress adds extra <br>'s and <p>'s into code. It's especially bad when you use the HTML editor and expect to see what you coded.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Mar 6, 2011, 11:07 AM
22 posts · Jun 2009
That's what I was afraid I'd hear.

So, any workarounds?
Old Mar 6, 2011, 11:26 AM
22 posts · Jun 2009
I think I found a way out of this:



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show custom field in kicker - only IF field value exists jaxon Center area post/pages 13 Feb 6, 2013 01:11 PM
[SOLVED] Strange Issue - Search Box won't accept input. Steve41 Header configuration & styling 4 Jan 5, 2011 11:21 PM
Custom field image with custom field link mbastos Atahualpa 3 Wordpress theme 1 Jul 1, 2010 08:17 AM
Styling the comments area title font, form field and label font, and form field sizes jkintzele Comments, trackbacks & pings 5 Nov 10, 2009 09:18 AM

All times are GMT -6. The time now is 04:15 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.