Before you ask please READ THIS

Custom code for header img contact page

edited February 2012 in Airlock Posts: 6
Hello,

i was wondering if it is possible to replace the header image for the contact page with custom code.
For example an Google maps piece of code.
Right now it is a still image but I would love to implement the code generated by Google maps.

Current situation:
http://www.pilipili.be/2011/contact/

Thanks in advance!

Comments

  • AirAir
    Posts: 10,970

    Hi there.
    Nice way of using top image ! :-)

    About your question.
    Contact page have special template in our theme. If you edit your contact page and choose proper template like in here http://trevordavis.net/images/content/2009/02/wordpress-page-template.png You could then go and edit airlock/contact.php file
    Find line~13

    <div id="post-<?php the_ID(); ?>" <?php post_class('contact-page'); ?>>

    And there above it you could add

    <div class="item-image">

    </div>

    and insert in your google code.

    With regards.

  • Thank, I was able to make the adjustments with your help.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!