I&#39;ll try to get one of my plugins that uses `get_theme_data` backward compatibility and `wp_get_theme` uploaded later today ...<br>... working examples always help me to sort out these issues much quicker.<br><br>I&#39;ve a post or two to write as well on WPFirstAid that will take an example or two into effect as well.<br>

<br><br clear="all">Cais.<br>
<br><br><div class="gmail_quote">On Tue, Apr 17, 2012 at 1:58 AM, Konstantin Obenland <span dir="ltr">&lt;<a href="mailto:konstantin@obenland.it">konstantin@obenland.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div bgcolor="#FFFFFF"><div>What I did in The Bootstrap was defining get_ custom_header():</div><div><br></div><div><br></div><div><table style="border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-color:rgb(221,221,221);border-bottom-color:rgb(221,221,221);border-left-color:rgb(221,221,221);border-top-width:0px;border-top-style:initial;border-top-color:initial;empty-cells:show;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:auto;margin-bottom:0px;margin-left:auto;table-layout:fixed;width:959px">

<tbody><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L155" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">155</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"></td></tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif">

<th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L156" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">156</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><font face="Helvetica"><span style="font-size:17px"><span style="font-weight:bold">if</span> <span>(</span> <span style="font-weight:bold">!</span> <span>function_exists</span><span>(</span> <span>&#39;get_custom_header&#39;</span> <span>)</span> <span>)</span> <span style="font-weight:bold">:</span></span></font></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L157" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">157</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><span style="font-size:17px"><font face="Helvetica">/**</font></span></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L158" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">158</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><span style="font-size:17px"><font face="Helvetica"> * Get the header image data.</font></span></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L159" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">159</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><span style="font-size:17px"><font face="Helvetica"> *</font></span></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L160" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">160</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><span style="font-size:17px"><font face="Helvetica"> * @author      Automattic</font></span></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L161" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">161</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><span style="font-size:17px"><font face="Helvetica"> * @since       <a href="tel:1.2.5%20-%2011.04.2012" style="text-decoration:none;border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(187,187,187)" target="_blank">1.2.5 - 11.04.2012</a></font></span></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L162" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">162</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><span style="font-size:17px"><font face="Helvetica"> *</font></span></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L163" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">163</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><span style="font-size:17px"><font face="Helvetica"> * @return      object</font></span></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L164" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">164</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><span style="font-size:17px"><font face="Helvetica"> */</font></span></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L165" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">165</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><font face="Helvetica"><span style="font-size:17px"><span style="font-weight:bold">function</span> <span style="font-weight:bold">get_custom_header</span><span>()</span> <span>{</span></span></font></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L166" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">166</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><font face="Helvetica"><span style="font-size:17px">         <span style="font-weight:bold">return</span> <span>(</span><span>object</span><span>)</span> <span style="font-weight:bold">array</span><span>(</span></span></font></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L167" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">167</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><font face="Helvetica"><span style="font-size:17px">                <span>&#39;url&#39;</span>           <span style="font-weight:bold">=&gt;</span> <span>get_header_image</span><span>(),</span></span></font></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L168" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">168</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><font face="Helvetica"><span style="font-size:17px">                <span>&#39;thumbnail_url&#39;</span> <span style="font-weight:bold">=&gt;</span> <span>get_header_image</span><span>(),</span></span></font></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L169" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">169</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><font face="Helvetica"><span style="font-size:17px">                <span>&#39;width&#39;</span>         <span style="font-weight:bold">=&gt;</span> <span>HEADER_IMAGE_WIDTH</span><span>,</span></span></font></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L170" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">170</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><font face="Helvetica"><span style="font-size:17px">                <span>&#39;height&#39;</span>        <span style="font-weight:bold">=&gt;</span> <span>HEADER_IMAGE_HEIGHT</span><span>,</span></span></font></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L171" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">171</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><font face="Helvetica"><span style="font-size:17px">        <span>);</span></span></font></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L172" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">172</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><span style="font-size:17px"><font face="Helvetica">}</font></span></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L173" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">173</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><font face="Helvetica"><span style="font-size:17px"><span style="font-weight:bold">endif</span><span>;</span> <span style="font-style:italic">// get_custom_header</span></span></font></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<font style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" color="#000000" face="Helvetica"><a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L174" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank">17</a>4</font></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><font face="Helvetica"><span style="font-style:italic;font-size:17px"></span></font></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"><th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L175" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">175</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"></td></tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif">

<th style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif;border-right-width:1px;border-right-style:solid;border-right-color:rgb(215,215,215);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,136);font-size:11px;background-image:initial;background-color:rgb(238,238,221);color:rgb(136,136,102);font-weight:normal;padding-top:0px;padding-right:0.5em;padding-bottom:0px;padding-left:0.5em;text-align:right;vertical-align:top;background-repeat:initial initial">

<a href="http://themes.trac.wordpress.org/browser/the-bootstrap/1.2.5/inc/custom-header.php?rev=19995#L176" style="text-decoration:none;border-bottom-style:none;border-top-style:none;border-right-style:none;border-left-style:none;border-width:initial;border-color:initial;font-size:17px" target="_blank"><font color="#000000" face="Helvetica">176</font></a></th>

<td style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:1px;font:normal normal normal 11px/normal monospace;padding-bottom:1px;background-repeat:initial initial;background-image:initial"><span style="font-style:italic;font-size:17px"><font face="Helvetica">/* End of file custom-header.php */</font></span></td>

</tr><tr style="font:normal normal normal 13px/normal Verdana,Arial,&#39;Bitstream Vera Sans&#39;,Helvetica,sans-serif"></tr></tbody></table><br><br>Sent from my iPhone</div><div><div class="h5"><div><br>On Apr 17, 2012, at 1:03, David Law &lt;<a href="mailto:wp-hackers@google-adsense-templates.co.uk" target="_blank">wp-hackers@google-adsense-templates.co.uk</a>&gt; wrote:<br>

<br></div><div></div><blockquote type="cite"><div><span>On Mon, 16 Apr 2012 09:04:58 -0700, you wrote:</span><br><span></span><br><blockquote type="cite"><span>Can do the same for Custom Headers, but think it will be messy. Anyone </span><br>

</blockquote><blockquote type="cite"><span>got a &#39;good&#39; solution up and running?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Hi David!</span><br></blockquote>

<blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>A new version of P2 was released recently. It has custom header support </span><br></blockquote><blockquote type="cite"><span>for 3.4 and previous versions.</span><br>

</blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>You can see the code here:</span><br></blockquote><blockquote type="cite"><span><a href="http://themes.svn.wordpress.org/p2/1.4.0/inc/custom-header.php" target="_blank">http://themes.svn.wordpress.org/p2/1.4.0/inc/custom-header.php</a></span><br>

</blockquote><span></span><br><span>Thanks Mike,</span><br><span></span><br><span>That&#39;s a much simpler code solution than I was thinking of using.</span><br><span></span><br><span>Think I have it working now.</span><br>

<span></span><br><span>For those looking for backwards compatability with the height and</span><br><span>width attributes of the image code within their header.php files this</span><br><span>works</span><br><span></span><br>

<span>width=&quot;&lt;?php if(function_exists(&#39;get_custom_header&#39;)) {echo</span><br><span>get_custom_header()-&gt;width;} else {echo HEADER_IMAGE_WIDTH;} ?&gt;&quot;</span><br><span>height=&quot;&lt;?php if(function_exists(&#39;get_custom_header&#39;)) {echo</span><br>

<span>get_custom_header()-&gt;height;} else {echo HEADER_IMAGE_HEIGHT;} ?&gt;&quot;</span><br><span></span><br><span>David</span><br><span>-- </span><br><span><a href="http://www.stallion-theme.com/" target="_blank">http://www.stallion-theme.com/</a> Stallion WordPress SEO Theme</span><br>

<span><a href="http://www.stallion-theme.com/stallion-wordpress-seo-plugin" target="_blank">http://www.stallion-theme.com/stallion-wordpress-seo-plugin</a> Stallion</span><br><span>WordPress SEO Plugin</span><br><span></span><br>

<span></span><br><blockquote type="cite"><span>-Mike</span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>theme-reviewers mailing list</span><br>

</blockquote><blockquote type="cite"><span><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a></span><br></blockquote><blockquote type="cite"><span><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a></span><br>

</blockquote><span>_______________________________________________</span><br><span>theme-reviewers mailing list</span><br><span><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a></span><br>

<span><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a></span><br></div></blockquote></div></div></div><br>_______________________________________________<br>


theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br>