Created
February 27, 2015 20:37
-
-
Save AleeRojas/8304d34f13aba404c7b4 to your computer and use it in GitHub Desktop.
Todas las imagenes de custom header
This file contains hidden or 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
<?php | |
if (!is_random_header_image()) { | |
$imagenes = get_uploaded_header_images(); | |
foreach ($imagenes as $imagen) { | |
$url = $imagen['url']; | |
echo '<img src="'.$url.'" height="'.get_custom_header()->height.'" width="'.get_custom_header()->width.'"/>'; | |
} | |
} else { | |
echo '<img src="'.get_header_image().'" height="'.get_custom_header()->height.'" width="'.get_custom_header()->width.'" alt="" />'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment