DNforum.com - Domain Sales, Domain Forum, Domain Appraisals
 
Register Now! Welcome to Dnforum.com You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast and simple so please, join our community today! If you have any problems with the registration process or your account login, please contact us.
Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Coding/Programming/Languages
Reply
 
LinkBack Thread Tools Display Modes
Old 01-20-2008, 03:10 PM   #1 (permalink)
Platinum Lifetime Member
 
HomerJ's Avatar
 
Last Online: Today 05:06 PM
iTrader: (11)
Join Date: Sep 2006
Posts: 662
DNF$: 420
Location: USA
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...
__________________
I just want to post, post, post
Please Visit my GIGA-SALE
HomerJ is online now   Reply With Quote
Old 01-20-2008, 03:23 PM   #2 (permalink)
Platinum Lifetime Member
 
Last Online: Yesterday 06:36 PM
iTrader: (3)
Join Date: Aug 2007
Posts: 84
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: Today 02:36 AM
iTrader: (26)
Join Date: Dec 2004
Posts: 2,798
DNF$: 124
Location: Elad
Country:


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 05:06 PM
iTrader: (11)
Join Date: Sep 2006
Posts: 662
DNF$: 420
Location: USA
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.
__________________
I just want to post, post, post
Please Visit my GIGA-SALE

Last edited by HomerJ; 01-20-2008 at 03:49 PM.
HomerJ is online now   Reply With Quote
Old 01-20-2008, 05:14 PM   #5 (permalink)
Platinum Lifetime Member
 
stock_post's Avatar
 
Name: www.AyHu.com
Last Online: Today 04:23 PM
iTrader: (16)
Join Date: Sep 2006
Posts: 896
DNF$: 13,386
Location: www.SharpDirectory.com - PR3
Country:


Try help at wordpress.org or their forum
__________________
Sharp Directory Bid for Position
RankingKing.com | MrLinking.com | ayhu.com | TradeIn.biz | DotRig.com | DesiLinkDirectory.com | DiscussRE.com | nwkk.com | linksgain.com
stock_post is online now   Reply With Quote
Old 01-20-2008, 05:57 PM   #6 (permalink)
Wordpress Design
 
tonyfloyd's Avatar
 
Name: Tony
Last Online: Today 04:59 PM
iTrader: (39)
Join Date: Apr 2007
Posts: 2,331
DNF$: 8,044
Location: New York
Country:


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.....
tonyfloyd is online now   Reply With Quote
Old 01-20-2008, 07:44 PM   #7 (permalink)
Platinum Lifetime Member
 
DDC_Cyn's Avatar
 
Name: Cynthia
Last Online: Today 02:46 PM
iTrader: (0)
Join Date: Jan 2008
Posts: 156
DNF$: 25
Location: The OC
Country:


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 05:06 PM
iTrader: (11)
Join Date: Sep 2006
Posts: 662
DNF$: 420
Location: USA
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.
__________________
I just want to post, post, post
Please Visit my GIGA-SALE
HomerJ is online now   Reply With Quote
Old 01-20-2008, 10:28 PM   #9 (permalink)
Platinum Lifetime Member
 
MobileDesigner's Avatar
 
Name: (/ _ \)
Last Online: Today 10:02 AM
iTrader: (2)
Join Date: Nov 2006
Posts: 1,022
DNF$: 10
Location: Texan living in Japan
Country:


why not switching over to Movable Type?
__________________
>>> | www.FlashMap.jp | <<< The First Interactive Mobile Flash Map for Mobile Devices
MobileDesigner is offline   Reply With Quote
Old 01-21-2008, 02:20 AM   #10 (permalink)
Graham
 
tractor's Avatar
 
Name: Graham
Last Online: Today 08:03 AM
iTrader: (17)
Join Date: Aug 2006
Posts: 262
DNF$: 3,108
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: Yesterday 02:17 PM
iTrader: (52)
Join Date: Feb 2005
Posts: 2,541
DNF$: 1
Location: Australia
Country:


bhartzer is correct, it should solve the problem.
__________________
Premium Wordpress Themes
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

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


All times are GMT -4. The time now is 05:20 PM.
Copyright @2001-2008 DNForum.com

Learn Domains
Promote Domains
Research Domains
Buy Domains
Resell Domains
Park Domains
Sell Domains
Build Domains
Host Domains
Trademark Domains
Domain Domains
manage Domains
Appraise Domains