HTML code for a Wordpress header

Discussion in 'HTML & Website Design' started by PNV, Mar 14, 2012.

  1. #1
    I have an affiliate program with hotels-combined. they have a white label / private branding option which includes anding your own HTML header/footer.
    How can i copy my wordpress header/footer and make it into a html code?
     
    PNV, Mar 14, 2012 IP
  2. mrterry69

    mrterry69 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    login to admin---- go to > appearance>editor>header.php

    All the html code for the header will be located here
     
    mrterry69, Mar 14, 2012 IP
  3. PNV

    PNV Active Member

    Messages:
    70
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3

    I just tryed that but i got this message :

    Content should not contain the following tags: <html>, </html>, <body>, </body>, <meta>, </meta>, <head>, </head>, <title>, </title>, <!DOCTYPE>.


    This is what im looking at:
    This section allows you to wrap out content in your branding.
    Insert any HTML, CSS or JavaScript code into these fields.
    You can include your logo, additional navigation, Javascripting, etc.
    Your custom HTML will be wrapped in basic html/body tags as shown, so there is no need to include them.

    [TABLE]
    [TR]
    [TD][/TD]
    [TD]<html>
    <head>...</head>
    <body>
    [/TD]
    [/TR]
    [TR]
    [TD]Global Header
    (This will be inserted directly after
    the opening <body> tag on all pages)[/TD]
    [TD]

    [/TD]
    [/TR]
    [TR]
    [TD][/TD]
    [TD]<-- HotelsCombined Content -->[/TD]
    [/TR]
    [TR]
    [TD]Global Footer
    (This will be inserted directly before
    the closing </body> tag on all pages)[/TD]
    [TD]

    [/TD]
    [/TR]
    [TR]
    [TD][/TD]
    [TD]</body>
    </html>
    [/TD]
    [/TR]
    [/TABLE]


     
    Last edited: Mar 14, 2012
    PNV, Mar 14, 2012 IP
  4. gamezfever

    gamezfever Member

    Messages:
    48
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    45
    #4
    For Firefox use firebug (addon), Refresh your page and get your html code via firebug
     
    gamezfever, Mar 14, 2012 IP
  5. PNV

    PNV Active Member

    Messages:
    70
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #5


    Unfortunately i dont know how thats done. i gave it a try but no luck.
     
    PNV, Mar 14, 2012 IP
  6. juanbuit

    juanbuit Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You can do the same with Chrome, just right click the element of the webpage that you want to change and click on "Inspect Element". The html code related to that element will appear highlighted. So you can try different things on the code.

    You need some HTML knowledge to do this, anyway you can do whatever you want because the changes won't save. For making the changes you need to copy your changes and later paste them in the editor, the part that says: <-- HotelsCombined Content -->

    Try it... if you can't do it, hire somebody from Fiverr that can do it for you.
     
    juanbuit, Mar 14, 2012 IP
  7. PNV

    PNV Active Member

    Messages:
    70
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #7
    Good idea, thanks for the tip
     
    PNV, Mar 14, 2012 IP