Forums

result of field - image to background (1 post)

  1. W.P. Ginfo
    Member
    Posted 10 months ago #

    I used a field called 'banner' and placed the following code to retrieve and place in in the right place of the page successfully. How do I make sure the image is put / remains in the background?

    <div class="banner">
    <img src='<?php echo get_post_meta($post->ID, 'banner', true); ?>' />
    </div>

Reply

You must log in to post.

About this Topic