Internet Marketing Business Forum


Internet Marketing Business Forum » MAIN FORUMS » Blogging & Social Networking » WordPress » How to add codes entries in Wordpress?
WordPress
wp desc

Reply
 
LinkBack Thread Tools Display Modes
Old 08-05-2009, 06:55 AM   #1 (permalink)
 f_daus85's Avatar
 
Status: Junior Member
Join Date: Aug 2009
Posts: 1
f_daus85 is on a distinguished road
Default How to add codes entries in Wordpress?

How to write codes in our posts so that it does not work like a code but it looks like a box and can be copied and pasted to some other template file.
f_daus85 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 08-05-2009, 01:20 PM   #2 (permalink)
 Archangel's Avatar
 
Status: Junior Member
Join Date: Aug 2009
Posts: 3
Archangel is on a distinguished road
Default

you will just want to use simple html/css inside your post. The browser will read it and display it as code, so just get whatever you want as html and insert it.
Archangel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-06-2010, 06:41 AM   #3 (permalink)
 
Status: Junior Member
Join Date: Jul 2010
Posts: 4
nevaeh.aaric is on a distinguished road
Default

Whether you write plugins or hacks for WordPress, or you want to add bits and pieces of code about your own WordPress site or other programming code like HTML, CSS, PHP, or javascripts, putting code in your post that "looks" like code, but "doesn't behave" like code, is a frequent challenge for bloggers.
By default, WordPress will convert unrecognized uses of < and > into characters which actually look like &lt; and &gt;, which will "look" like a < and a > when posted. Or, if it finds the use of an HTML tag within the post, it will use the tag like it is HTML and you will have funky looking text and a messed up layout.
In general, there are two uses of code within a web page. There is code found within a paragraph to make a point about the code that is being discussed, and then there is code that is highlighted.
nevaeh.aaric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Reply
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

vB 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 -4. The time now is 12:46 AM.
Powered by vBulletin® Version 3.7.0 Beta 6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.


Nav Item BG