Valuate Domain Names
DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
HomeRegisterMembershipsGetting StartedDomain Tools Domain EbooksSEO Software Domain Resellers Advertise

Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Coding/Programming/Languages
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 01-20-2008, 03:10 PM   #1 (permalink)
Platinum Lifetime Member
 
HomerJ's Avatar
 
Last Online: Today 02:14 AM
iTrader: (23)
Join Date: Sep 2006
Posts: 1,142
DNF$: 2,930
Location: Texas
Country:


wordpress problem has me fed up

I recently decided to build the first wordpress site, but i'm getting frustrated because i cant seem to figure out how wordpress handles code inside the the posts. basically, i'm trying to embed videos, and sometimes wordpress will rearrange the code on me!

i paste it like this:

Quote:
<p align="center"><object height="355" width="425">
<param name="movie" value="http://www.youtube.com/v/abcdefghijklmnop"></param>
<param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/abcdefghijklmnop" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"></embed></object></p>

... and then when i view the site i notice it is either not centered, or some other formatting is wrong, so i go back to edit it and i notice that it does not save the way i pasted it but gets altered to look sometimes like this:

Quote:
<p align="center"><object height="355" width="425"></object></p>

<param name="movie" value="http://www.youtube.com/v/abcdefghijklmnop"></param>
<param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/abcdefghijklmnop" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"></embed>
... i'm not clear on why this happens

also, i thought for a while i must wrap everything in code tags ( <code> .... </code> ) but then wordpress will also take those tags out and place them above the rest, which then looks like this:

Quote:
<code></code>

<p align="center"><object height="355" width="425"></object></p>

<param name="movie" value="http://www.youtube.com/v/abcdefghijklmnop"></param>
<param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/abcdefghijklmnop" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"></embed>
i'm not positive but there seems to be many permutations to the way wordpress decides that the code needs to be rearranged for some reason and i'm having trouble making heads or tales of it. it is also not very consistent on when it wants to do this.. i post a vid and it is fine, then working on the site a few days later and refresh and notice then that it looks off again.

also, when are the <code> tags necessary?


please help this wordpress noob...
__________________
taking offers FederalDebt.org | atop.us | Chello.us | D-a-n-a.com | FellowSoldier.com | Loco.mx | NewYorkSEO.net | Octogenarian.org
HomerJ is offline   Reply With Quote
Sponsored Ads
Old 01-20-2008, 03:23 PM   #2 (permalink)
Platinum Lifetime Member
No Avatar
 
Last Online: 09-15-2009 12:05 PM
iTrader: (3)
Join Date: Aug 2007
Posts: 144
DNF$: 165
Location: Dallas


Make sure that the wsywig editor is turned OFF when you make posts.

In the user profile, make sure "Use the visual editor when writing" is UNCHECKED. It should be off.

Then make your post, the <code> tag is NOT necessary.
__________________
Check out my blog at www.BillHartzer.com
bhartzer is offline   Reply With Quote
Old 01-20-2008, 03:37 PM   #3 (permalink)
fab
 
fab's Avatar
 
Last Online: Yesterday 04:15 PM
iTrader: (26)
Join Date: Dec 2004
Posts: 4,445
DNF$: 378
Location: Elad
Country:

Send a message via MSN to fab

Yes bHartzer is right, I've had the same problems before.
fab is offline   Reply With Quote
Old 01-20-2008, 03:46 PM   #4 (permalink)
Platinum Lifetime Member
 
HomerJ's Avatar
 
Last Online: Today 02:14 AM
iTrader: (23)
Join Date: Sep 2006
Posts: 1,142
DNF$: 2,930
Location: Texas
Country:


it does not seem to have helped. i dont think it addresses the issue. by unchecking that box it just takes away the one option for writing posts.

edit: wait, i think i have it. because now it is recognizing the <div> element where before it wasn't which is why i was using <p align="center"> which was not right.
__________________
taking offers FederalDebt.org | atop.us | Chello.us | D-a-n-a.com | FellowSoldier.com | Loco.mx | NewYorkSEO.net | Octogenarian.org

Last edited by HomerJ; 01-20-2008 at 03:49 PM..
HomerJ is offline   Reply With Quote
Old 01-20-2008, 05:14 PM   #5 (permalink)
JewelryDirectory.com
 
stock_post's Avatar
 
Name: www.AyHu.com
Last Online: Today 12:21 PM
iTrader: (37)
Join Date: Sep 2006
Posts: 1,943
DNF$: 53,613
Location: Sharp Directory
Country:


Try help at wordpress.org or their forum
__________________
care for infant
stock_post is online now   Reply With Quote
Old 01-20-2008, 05:57 PM   #6 (permalink)
Wordpress Guru
 
tonyfloyd's Avatar
 
Name: Antonis
Last Online: 11-22-2009 12:51 AM
iTrader: (58)
Join Date: Apr 2007
Posts: 3,505
DNF$: 10,811
Location: Greece
Country:

Send a message via AIM to tonyfloyd

Quote:
Originally Posted by bhartzer View Post
Make sure that the wsywig editor is turned OFF when you make posts.

In the user profile, make sure "Use the visual editor when writing" is UNCHECKED. It should be off.

Then make your post, the <code> tag is NOT necessary.
does it need to be UNCHECKED?......i've always left it checked and have never had any problems.....
__________________

Web Design | Italian Recipes | Keyword Links
tonyfloyd is offline   Reply With Quote
Old 01-20-2008, 07:44 PM   #7 (permalink)
Platinum Lifetime Member
 
DDC_Cyn's Avatar
 
Name: Cynthia
Last Online: 04-09-2009 05:52 PM
iTrader: (0)
Join Date: Jan 2008
Posts: 185
DNF$: 25
Location: The OC
Country:

Send a message via ICQ to DDC_Cyn

This is a common wordpress glitch. I deal with it everyday. The work around is easy. Once you embed your video you must post directly and DO NOT go back into the post for any reason. Editing the post breaks the Div tags - no one knows why, but it does.

You can also use an offline editor such as Windows Live Writer and it will solve the issue.

Write your post, embed last, publish.
__________________

DDC.com

Power Parking
DDC_Cyn is offline   Reply With Quote
Old 01-20-2008, 10:19 PM   #8 (permalink)
Platinum Lifetime Member
 
HomerJ's Avatar
 
Last Online: Today 02:14 AM
iTrader: (23)
Join Date: Sep 2006
Posts: 1,142
DNF$: 2,930
Location: Texas
Country:


Quote:
This is a common wordpress glitch. I deal with it everyday.
what a relief to hear that i am not crazy after all.
__________________
taking offers FederalDebt.org | atop.us | Chello.us | D-a-n-a.com | FellowSoldier.com | Loco.mx | NewYorkSEO.net | Octogenarian.org
HomerJ is offline   Reply With Quote
Old 01-20-2008, 10:28 PM   #9 (permalink)
Platinum Lifetime Member
 
MobileDesigner's Avatar
 
Name: "Mobile Designer"
Last Online: Today 12:01 AM
iTrader: (3)
Join Date: Nov 2006
Posts: 1,097
DNF$: 10
Location: Texan living in
Country:


why not switching over to Movable Type?
__________________
Mobile Website Design & Development Resource: www.MobileDesign.com
MobileDesigner is offline   Reply With Quote
Old 01-21-2008, 02:20 AM   #10 (permalink)
Graham
 
tractor's Avatar
 
Name: Graham
Last Online: Today 09:35 AM
iTrader: (17)
Join Date: Aug 2006
Posts: 316
DNF$: 3,900
Location: South Africa
Country:


I have had this as well and sorted it our by putting<center> before the code and </center> after the code. Centers them for me.

<center><object height="373" width="425">
<param name="movie" value="http://www.youtube.com/v/hVQXrKDt_Dk&amp;rel=1&amp;color1=0x234900&amp;colo r2=0x4e9e00&amp;border=1"></param>
<param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/hVQXrKDt_Dk&amp;rel=1&amp;color1=0x234900&amp;colo r2=0x4e9e00&amp;border=1" type="application/x-shockwave-flash" wmode="transparent" height="373" width="425"></embed></object></center>


Just anther tip for those having problems aligning images left or right I found it easier just to add align="left" into the image code to wrap the text.

eg: <img src="http://uploads.co.za/files/g1shis5gzkgm5k7bm3b9.jpg" alt="cummins power solutions" align="left" />

Last edited by tractor; 01-21-2008 at 02:36 AM.. Reason: Automerged Doublepost
tractor is offline   Reply With Quote
Old 01-21-2008, 03:18 AM   #11 (permalink)
Platinum Lifetime Member
 
dcristo's Avatar
 
Last Online: Today 09:13 AM
iTrader: (55)
Join Date: Feb 2005
Posts: 2,858
DNF$: 1
Location: Australia
Country:


bhartzer is correct, it should solve the problem.
__________________
virtual assistant services
dcristo is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:29 PM.
Copyright @2001-2009 DNForum.com