• I have uploaded header images and named them as instructed. However while one header image shows up on my home page and on my posts page; there does not seem to be anything linking each of the 5 header images to the files (eg archives, single post). How do I rectify this?

    thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter poetsquib

    (@poetsquib)

    Hi – yes I tried that. The problem I have is that although I have uploaded header images, titled as instructed to the right folder, only two of the header images work. For example the header image on my front page is showing up on my archives page as well

    this is the last bit of code in the header.php

    <div id=”header_img”>
    <?php if (is_home()) { ?>
    <img src=”<?php bloginfo(‘template_url’); ?>/images/header_1.jpg” width=”970″ height=”140″ alt=”<?php bloginfo(‘name’); ?> header image 1″ title=”<?php bloginfo(‘name’); ?> header image 1″ />
    <?php } elseif (is_single()) { ?>
    <img src=”<?php bloginfo(‘template_url’); ?>/images/header_2.jpg” width=”970″ height=”140″ alt=”<?php bloginfo(‘name’); ?> header image 2″ title=”<?php bloginfo(‘name’); ?> header image 2″ />
    <?php } elseif (is_page()) { ?>
    <img src=”<?php bloginfo(‘template_url’); ?>/images/header_3.jpg” width=”970″ height=”140″ alt=”<?php bloginfo(‘name’); ?> header image 3″ title=”<?php bloginfo(‘name’); ?> header image 3″/>
    <?php } elseif (is_archive()) { ?>
    <img src=”<?php bloginfo(‘template_url’); ?>/images/header_4.jpg” width=”970″ height=”140″ alt=”<?php bloginfo(‘name’); ?> header image 4″ title=”<?php bloginfo(‘name’); ?> header image 4″ />
    <?php } else { ?>
    <img src=”<?php bloginfo(‘template_url’); ?>/images/header_5.jpg” width=”970″ height=”140″ alt=”<?php bloginfo(‘name’); ?> header image 5″ title=”<?php bloginfo(‘name’); ?> header image 5″ />
    <?php } ?>
    </div>

    this is the site https://poetsquib.com/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘cutline header image problem’ is closed to new replies.