Last active
December 18, 2015 19:10
-
-
Save jgraffin/9704968ae1972919ec03 to your computer and use it in GitHub Desktop.
Adicionando imagem destacada no fundo da div - pagina interna
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$imagem_destacada = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); | |
background-image: url('<?php echo $imagem ?>') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment