Support » Themes and Templates » Different headers on each page

  • Resolved pbwordp

    (@pbwordp)


    Hello, I’m looking for a script to add on my blog that could load a different image on the header according to the page.

    *Example: if you are on the “About” page load this.jpg image.

    Thanks!!

Viewing 5 replies - 16 through 20 (of 20 total)
  • I followed pbwordp’s directions on how to replace the banner with a flash swf file, but its just not happening. There’s a big white square where the banner should be.

    Help me out: http://epicgeniusmedia.com

    Do I need to include an AC_RunActiveScript.js file?

    Also, I currently have the swf file located in the root folder of my theme (wp-content>themes>GreenBeige>banner.swf)

    I added the following code into my header.php file:

    <?php
    {
    echo ‘<object width=”800″ height=”460″>
    <param name=”movie” value=”banner.swf”>
    <embed src=”banner.swf” width=”800″ height=”460″>
    </embed>
    </object>’;
    } ?>

    What did I do wrong?

    – Moppert

    CORRECTION:

    the code is actually:

    <?php
    {
    echo ‘<object width=”900″ height=”150″>
    <param name=”movie” value=”banner.swf”>
    <embed src=”banner.swf” width=”900″ height=”150″>
    </embed>
    </object>’;
    } ?>

    Is it possible to have different sized headers on each page? I want a larger one on my homepage than on the rest. Do I have to change the code in the css file? If so, what to?

    Sorted!

    My header contains an ad-box in which adsense ads are displayed. I am also using Google custom search. On Search Results page, I want to display the header without ad-box. Is it possible? Here’s my blog.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Different headers on each page’ is closed to new replies.