HTML In Wordpress Question?

Discussion in 'HTML & Website Design' started by tonyuk, Jan 21, 2009.

  1. #1
    I need a set template for some of my Wordpress posts but only for a few. Can I simply design a template in html and insert it into a Wordpress post? I have tried this and the editor keeps changing my code.
     
    tonyuk, Jan 21, 2009 IP
  2. dlb

    dlb Member

    Messages:
    203
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    35
    #2
    You can, just as long as you dont use the editor when creating/editing the page. To do that you will have to hardcode every change to that post.
     
    dlb, Jan 21, 2009 IP
  3. tonyuk

    tonyuk Well-Known Member

    Messages:
    2,169
    Likes Received:
    64
    Best Answers:
    0
    Trophy Points:
    138
    #3
    Do you mean disable the WYSIWYG Wordpress editor, create and new post then simply paste in the HTML code?
     
    tonyuk, Jan 21, 2009 IP
  4. plugandplay

    plugandplay Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Go to the WordPress forum http://wordpress.org/support/ and check their previously ask questions or just ask them, they're always helpful and should be able to solve this for you quickly
     
    plugandplay, Jan 21, 2009 IP
  5. dlb

    dlb Member

    Messages:
    203
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    35
    #5
    Thats exactly what I mean.

    Alternately research on the official WP site how to create page templates. This is a clone of your page.php theme file which you would then insert your HTML into and set the relevant page with that template. As far as i'm aware this is only available in pages, and not posts.
     
    dlb, Jan 21, 2009 IP