1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Displaying HTML code with the code tag.

Discussion in 'WordPress' started by (BN)Nolan, Jul 4, 2013.

  1. #1
    Hi, I have a very basic theme and just styled the code tag in css. When I'm trying to post HTML code within the code tags, it's being erased and outputting "Main page content here....".

    Any help would be great!
     
    (BN)Nolan, Jul 4, 2013 IP
  2. themes4all

    themes4all Well-Known Member

    Messages:
    662
    Likes Received:
    47
    Best Answers:
    6
    Trophy Points:
    100
    #2
    if you talk about adding HTML code inside a Post.. you have to use a CODE Highlighter plugin like this one : Link when you install this plugin, just put the HTML code like this: [css]your html code[/css], you can use : CSS/PHP/HTML.

    Goodluck
     
    themes4all, Jul 5, 2013 IP
    ryan_uk likes this.
  3. (BN)Nolan

    (BN)Nolan Well-Known Member

    Messages:
    74
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    135
    #3
    Cool thanks for the link it seems like its a good markup plugin. I wasn't sure if you needed a plugin for that or not considering the <code> tag was in the editor.
     
    (BN)Nolan, Jul 5, 2013 IP