First, I have a static page for homepage and for blog page too. I created a custom box for pages to setup unique background image for the pages. My idea is working on all page templates, but on blog page something wrong.
header.php is same on all page
<head>
{...}
<?php $values = get_post_custom( $post->ID ); ?>
<style type="text/css">
body { background-image:url("<?php echo $values['background_image_meta'][0]; ?>"); }
</style>
{...}
</head>
$post
variable or it isn't set to what you expect to be. Add debugging information and more detail about the problem.Notice: Undefined index: background_image_meta
I turned on the debug, this is the result.