Header Image is a theme feature, it depends on how to implement this feature to your current theme.
For a good example, you can check default TwentyEleven theme.
Custom header is defined in functions.php by add_custom_image_header function.
And then you check how to display it in header.php line 78-97.
This will work on the page itself, but won’t get you anything when viewing a blog post (single.php) – and that’s what mpc want’s to do. He needs the ID of blog page when viewing a single blog post to decide which sidebar should be displayed.
If you create a blog posts page from Settings > Reading page, you can get the page id with
<?php echo get_option('page_for_posts'); ?>
I assume you use a Blog page template to show your blog posts. If yes, it means that the page is not the post parent.
Usually i use a global variable to get current page id before get_header function. for example:
<php /** * Template Name: Blog */ global $wp_query, $current_page_id; $current_page_id = $wp_query->get_queried_object_id(); get_header(); ?>
so, we can call it anywhere…
<?php global $current_page_id; echo $current_page_id; ?>
In some situations, it is possible…
For example, if we are talking about a wordpress theme, you have to check the “Software Version” information from this item. You can check, does it support the latest version of Wordpress?
Some of wordpress themes were released some months ago and support Wordpress 3.1. When Wordpress 3.2 was released, the author didn’t have time to update his theme. And of course, when you use Wordpress 3.2, there are some possible theme issues..
do you mean XML Sitemap?
if yes, i will recommend Yoast Wordpress SEO plugin http://wordpress.org/extend/plugins/wordpress-seo/