• jeffsmith

    (@jeffsmith)


    Is it possible to have an image on the front of the full site, but it won’t show up when you look at the links page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Kafkaesqui

    (@kafkaesqui)

    Yes, but it would help to know if the image is part of a post, or the banner of your site, or whatever. Can you provide some more detail in what and where the image is?

    Thread Starter jeffsmith

    (@jeffsmith)

    It would be an image on the top of the main section of the page. A comic strip.

    I”d like it on the front of the site, below the banner, but I don’t want it visable while looking at post pages

    Thanks 🙂

    Kafkaesqui

    (@kafkaesqui)

    Two of the simpler ways to do this (running 1.5):

    1. Set up a home.php template in your theme’s directory. Easiest to just copy your index.php. Then edit home.php and insert the image where you want it to appear.

    2. In your theme’s index.php, add the following where the image is to show:

    <?php if(is_home()) : ?>
    <img src="/image/displayed/on/frontpage.jpg" />
    <?php endif; ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image on full site, but not on permalink page?’ is closed to new replies.