Page Banner Image problem by Calendar point

Discussion in 'Regal WordPress Theme' started by ontwerp83, Sep 25, 2013.

  1. ontwerp83

    ontwerp83 New Member

    Joined:
    May 29, 2013
    Messages:
    6
    Likes Received:
    0
    Problem is solved with this code:
    <div class="banner">
    <?php if($image_url): ?>
    <img src="<?php echo $image_url; ?>"/>
    <?php else : ?>
    <img src="<?php echo get_template_directory_uri(); ?>/images/banner.jpg"/>
    <?php endif; ?>
    </div>

    In the single php I delete the banner
     

Share This Page