Select a specific header or random header image for each content item or archive page.
To make it work in your
header.php file all you need is a
header_image() call like so:
<img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />
header.php for reference.
Whether to show the default header (true) or to look for a specifically selected header for the current request.
All attachments with the meta key
_header_image. An array with the query vars.
The array with all registered headers.
The url to the currently active header image.
Requires: 3.2 or higher
Compatible up to: 3.6.1
Last Updated: 2013-4-3
1 of 5 support threads in the last two months have been resolved.
Got something to say? Need help?