how to embed html code in wordpress post ?

cynic

Regular Member
Joined
Oct 16, 2010
Messages
405
Reaction score
45
Im using ?Ghostcpa and currently having the worst time trying to get the iframe right.


all it does is appear in plain text ? I cant type the script on her since I haven't been posting long enough.
 
Like iclosem suggested are you in the html tab or the visual tab?

Also, I've had instances with Wordpress where if I drop something into the html tab, then go over to the visual tab and adjust something in that then save it, it will screw it up and set it as though I had only pasted it into the visual tab...

So, that may also be a consideration if you are trying to use both the visual and html editor... The only way I found to fix that was to copy and paste it back into the html editor, and not use the visual editor on it again...
 
Code:
 bit.  ly  /  ijypyE



Thank you for the response , I did click the html tab, i'm beginning to think it only works on php files though. Im absolutely useless with coding. Above link is the full code, (notice I left it on the visual tab so you can see the full code but in html tab it still shows plain text )
 
You may need to put the code into its own file, and then use an iframe in wordpress to show it. I've had to do that with an html program that I had that would calculate some things for the user. Unfortunately, in wordpress it would show correctly, but it wouldn't acually calculate anything. But once it was in its own html file it would run. So I iframed it from the html file and it worked...
 
I've tried this, still no dice .....can I PM you ?


Code:
bit.ly/ mcayMZ

Hmmm maybe I should learn to code manually and not use Ghostcpa.
 
I've never used Ghostcpa, and I'm kind of out of ideas on what you can do... Hopefully someone else might have a few ideas to help you...

Good luck...
 
Thank you regardless, I'll search around and see what I can do.
 
Im using ?Ghostcpa and currently having the worst time trying to get the iframe right.


all it does is appear in plain text ? I cant type the script on her since I haven't been posting long enough.

I don't know if this will help or not, but when I need to embed code into my WP install, I use the header/footer plugin and am able to get my code in-between the equivalent of the <body> tags which I think GCPA requires.

I used it for adsense script and other scripts that go on either every page or at the beginning or ending of each post.

Sorry if I'm off-base.
 
Back
Top