• At the moment I have 2 banners placed vertically at my website. But this setup of those 2 banners appear on every single page of my website ( https://www.linkage.nl/ ).

    How can I have ‘bannerset A’ on the index page and archive pages, but ‘bannerset B’ on all other pages? For example…

    Something with the templates…But what?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kcire

    (@kcire)

    Hey Moshu,
    This is it! Thanks! As a PHP-rookie I was wondering how to fit the following lines of code into the solution of the conditional text.

    For example the following code:

    <div class="banner">
    a href="https://www.boonika.com/" title="Visit Boonika in a new window."> </div>

    (The a href should be correct, but it’s with a bg-img in a stylesheet and otherwise it wouldn’t be visible what I mean)

    I want to work with:

    <?php
    if (is_single())
    {
    echo 'This is just one of many fabulous entries in the ' . single_cat_title() . ' category!';
    }
    ?>

    Thanks again…

    Thread Starter kcire

    (@kcire)

    Mmhh…This is actually quite perfect!

    Never mind the previous post!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Different banners on every page’ is closed to new replies.