<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: use Wordpress to set the header &#62; custom header in power blog theme</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Fri, 24 May 2013 07:47:45 +0000</pubDate>

<item>
<title>ScottNix on "use Wordpress to set the header &#62; custom header in power blog theme"</title>
<link>http://themeshaper.com/forums/topic/use-wordpress-to-set-the-header-gt-custom-header-in-power-blog-theme#post-27501</link>
<pubDate>Fri, 13 Jul 2012 16:11:17 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">27501@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;The Thematic Forums have moved to &#60;a href=&#34;http://thematictheme.com/forums&#34; rel=&#34;nofollow&#34;&#62;http://thematictheme.com/forums&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;To make it so you can use the custom header image, reference &#60;a href=&#34;http://codex.wordpress.org/Custom_Headers&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Custom_Headers&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Which is basically something like this.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$headerargs = array(
    &#38;#39;flex-width&#38;#39;    =&#38;gt; true,
    &#38;#39;width&#38;#39;         =&#38;gt; 960,
    &#38;#39;flex-height&#38;#39;    =&#38;gt; true,
    &#38;#39;height&#38;#39;        =&#38;gt; 150,
    &#38;#39;default-image&#38;#39; =&#38;gt; get_stylesheet_directory_uri() . &#38;#39;/images/header.png&#38;#39;,
);
add_theme_support( &#38;#39;custom-header&#38;#39;, $headerargs );

function childtheme_add_header_image() { ?&#38;gt;
&#38;lt;img src=&#38;quot;&#38;lt;?php header_image(); ?&#38;gt;&#38;quot; height=&#38;quot;&#38;lt;?php echo get_custom_header()-&#38;gt;height; ?&#38;gt;&#38;quot; width=&#38;quot;&#38;lt;?php echo get_custom_header()-&#38;gt;width; ?&#38;gt;&#38;quot; alt=&#38;quot;&#38;quot; /&#38;gt;
&#38;lt;?php }
add_action(&#38;#39;thematic_header&#38;#39;, &#38;#39;childtheme_add_header_image&#38;#39;, 6);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You will need to add (or make sure you already have) a /images/ folder and header.png file which would be the default. This is just an example, as far as doing &#34;random&#34; that depends on how it would be set up and is probably somewhat of a pain, it is up to you to figure out that. :P
&#60;/p&#62;</description>
</item>
<item>
<title>buxx on "use Wordpress to set the header &#62; custom header in power blog theme"</title>
<link>http://themeshaper.com/forums/topic/use-wordpress-to-set-the-header-gt-custom-header-in-power-blog-theme#post-27499</link>
<pubDate>Fri, 13 Jul 2012 10:54:19 +0000</pubDate>
<dc:creator>buxx</dc:creator>
<guid isPermaLink="false">27499@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;On &#60;a href=&#34;http://www.buxx.nl&#34; rel=&#34;nofollow&#34;&#62;www.buxx.nl&#60;/a&#62; I use the powerblog theme, and if I want another image in the header, i must edit it in de .css file.&#60;br /&#62;
How can I use the 'custom header' funtion pf Wordpress to easily edit the headerimage, and even load it at random?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
