Skip to content

Instantly share code, notes, and snippets.

@jgraffin
Last active December 18, 2015 19:10
Show Gist options
  • Save jgraffin/9704968ae1972919ec03 to your computer and use it in GitHub Desktop.
Save jgraffin/9704968ae1972919ec03 to your computer and use it in GitHub Desktop.
Adicionando imagem destacada no fundo da div - pagina interna
$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