I'm trying to add custom headers to a child theme for Twenty Eleven. The headers are just resized default headers, but my code isn't showing the headers in the admin for some reason.
Anyone see anythign wrong with the code I'm using?
I'm trying to add custom headers to a child theme for Twenty Eleven. The headers are just resized default headers, but my code isn't showing the headers in the admin for some reason.
Anyone see anythign wrong with the code I'm using?
it could be that these 'spaceholders' &s in the parent theme work within single quotes -
'url' => '%s/images/headers/wheel.jpg',
while a string variable like in your child theme code would need double quotes:
'url' => "$orange/images/headers/wheel.jpg",
or string concatenation:
'url' => $orange.'/images/headers/wheel.jpg',
http://us2.php.net/manual/en/function.echo.php
(couldn't find a better resource)
That was it,it works fine now, thanks
You must log in to post.