Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Code tag doesn't work (http://forum.bytesforall.com/showthread.php?t=3504)

Suzie Sep 17, 2009 12:03 PM

Code tag doesn't work
 
Not sure if this is related to Atahualpa or not but I thought I would start here.

I'm trying to insert a piece of html into a post, using the wordpress code tag. When I preview the post, the html just does not show. I can see it when I view the page source, so it's at least working in that way.

Anyone have any suggestions?

Thanks,
Suzie

juggledad Sep 17, 2009 12:36 PM

What version of Atahualpa and WP?
What is the code

Suzie Sep 17, 2009 02:08 PM

Both are the latest versions.

I did have an error where I forgot to put "My Site" so that explains why I couldn't see anything. But now it just shows as a link, not the code as I had wished.

This is what I see in source view:
<p>Example:<code><a href="http://www.mysite" target="_new">My Site</a></code></p>

What I see when I preview the page is a link:
Example: My Site

juggledad Sep 17, 2009 02:53 PM

What are you expecting to see?

Suzie Sep 17, 2009 03:12 PM

I actually want to see the code in my post. After more research, it looks as if I need a plugin to show code in a post.

How silly of me to actually think that the <code></code> tags might mean that I could put code in between them.

Thanks for your time Juggledad.

juggledad Sep 17, 2009 04:09 PM

oh, that's easy, copy the code, swap to th visual editor and then paste the code in. The visual editor will convert the html to '&gt' and '&lt' so that it will display as html


All times are GMT -6. The time now is 01:51 AM.

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