WordPress HTML editor is the devil!

Status
Not open for further replies.

Reggie Golb

New member
May 30, 2007
8
0
0
So I'm sitting up late nights after work trying to create a sales page.

Three nights of setting up everything, it's time to put the page on my wordpress site (hosted on my server).

Well, wouldn't you know it, the wordpress html edit is corrupting my poor little sales page left and right. Fonts and text colors changed to whatever. Tables mal-formed. Tons of extra code like: <p><font></font></p> thirty time in a row. To the point of being unsightly.

Does anybody know of a way to keep the html code of a page intact without it getting screwed up in wordpress. I mean, it doesn't allow you to change much if you are building totally within the little box you are allowed to type in.

I would just ftp it so my site, but then it wouldn't be readily available on my main page. (Is there a way to back door, no pun intended, the page as one othe pages on my blog? That would be great.)

Any constructive suggestions would be greatly appreciated.
 


::Waiting for response from another new member with an ebook, software, or other Wordpress app suggestion::
 
No it's a page that a little more elaborate than my post as far as the layout which contains affiliate links. (Kind of like what Scott was talking about in the noob post in his sig...:anon.sml: )

I've tested different ways to put the page's html code in the editor but it will corrupt the code and make the page screwed up.
 
Ok first off wordpress is a little bit screwy but you'll get some of the same results with every other what you see is what you get editor, its just that the wordpress one tries and updates your code a little bit.

To avoid complete havok use either the WYSIWYG editor or use the code aspect of it, don't try and use them together unless you want to learn how to do it, basically by trial and error.

Example would be I wrote a line in the WYSIWYG portion, added a link and added some font color, and then if I wen't into the code portion of the editor I would see the link formatted correctly <a href=.* would be all good and the color change would be either a span tag or a font tag, usually they deal with a span tag but not always.

Also you have to remember line breaks when dealing with the code portion of the editor and the text version of the editor, one enter in the text version = two enters in the code version. It takes awhile of playing around with it but eventually you'll know the differences between the text editor and the code editor, its actually pretty good though compared to some other WYSIWYG editors.
 
The HTML editor behaves differently in different browsers since it uses the underlying frameworks so make sure you have the most recent firefox or IE. Try switching to firefox (or IE) and see if the code it generates is cleaner.

But I'd advise just making the page in a program and not via that interface at all.
 
But I'd advise just making the page in a program and not via that interface at all.

I'm cramming to understand, truly. :bigear:

When you say "make a page in a program" do you mean making the page directly in the wordpress editor? My only problem with that is the fact that you can't change text sizes.

Or are you saying that there is a separate program I can create the page in and ftp that page into my wordpress site? That would be neat.

Don't worry WF I'm not going to harp on this much longer. I just want to get this out of the way because of how much I've done to set this up.

Also thanks to Wesley and Aequitas for taking the time to indulge me on this problem.
 
I meant an offline editor like BlogDesk

There are others if you want to compare. I think there is windows live writer too. Do a search for desktop blog editors or similar.
 
thanks again wes.

thanks jon for not shooting me with the ban gun. :bowdown:

I'll test and see what happens...
 
Simply go into "Users>Your Profile" and uncheck "use the visual editor when writing..." Also make sure WordPress should correct invalidly nested XHTML automatically" is unchecked under "Options>writing". do these two things and Wordpress will stop fixing code and also quit stripping tags...

That is your fix... I went through the same shit some time ago, the above has made my life much easier.
 
Status
Not open for further replies.