• Hi, i have problem with image background, this is my code

    <?php if ( get_background_image() ) : ?>
    	    <div class="full_image">
    			<a href="<?php background_image(); ?>" target="_blank"><img src="<?php bloginfo( 'template_directory' ); ?>/img/full_image.png" /></a>
    			<p>fot. Miros?aw Grobelski<br />
    			Finalista konkursu “Pi?kno przyrody w Krainie Trzech Rzek”</p>
    		</div>
    	<?php endif; // End header image check. ?>

    I want echo title or label or description background image
    https://postimg.org/image/obvs2abjp/

    In wordpress documentation is only function get_background_image() and background_image(). How i get $id background image?

    [Moderator Note: Please ensure that you are embedding links correctly in your posts.]

  • The topic ‘Background image and his attributes’ is closed to new replies.