<font color="#333333"><font><font face="arial,helvetica,sans-serif">Anyone ready to write something about Notice: get_theme_data is deprecated since version 3.4! as well? That one is over my head :)</font></font></font><div>

<font color="#333333"><font><font face="arial,helvetica,sans-serif"><br></font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif">Emil<br></font></font></font><br><div class="gmail_quote">

On Mon, Apr 16, 2012 at 6:03 PM, David Law <span dir="ltr">&lt;<a href="mailto:wp-hackers@google-adsense-templates.co.uk">wp-hackers@google-adsense-templates.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Mon, 16 Apr 2012 09:04:58 -0700, you wrote:<br>
<br>
&gt;Can do the same for Custom Headers, but think it will be messy. Anyone<br>
&gt;got a &#39;good&#39; solution up and running?<br>
&gt;<br>
&gt;Hi David!<br>
&gt;<br>
&gt;A new version of P2 was released recently. It has custom header support<br>
&gt;for 3.4 and previous versions.<br>
&gt;<br>
&gt;You can see the code here:<br>
&gt;<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><br>
<br>
</div>Thanks Mike,<br>
<br>
That&#39;s a much simpler code solution than I was thinking of using.<br>
<br>
Think I have it working now.<br>
<br>
For those looking for backwards compatability with the height and<br>
width attributes of the image code within their header.php files this<br>
works<br>
<br>
width=&quot;&lt;?php if(function_exists(&#39;get_custom_header&#39;)) {echo<br>
get_custom_header()-&gt;width;} else {echo HEADER_IMAGE_WIDTH;} ?&gt;&quot;<br>
height=&quot;&lt;?php if(function_exists(&#39;get_custom_header&#39;)) {echo<br>
get_custom_header()-&gt;height;} else {echo HEADER_IMAGE_HEIGHT;} ?&gt;&quot;<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
--<br>
<a href="http://www.stallion-theme.com/" target="_blank">http://www.stallion-theme.com/</a> Stallion WordPress SEO Theme<br>
</font></span><div class="im HOEnZb"><a href="http://www.stallion-theme.com/stallion-wordpress-seo-plugin" target="_blank">http://www.stallion-theme.com/stallion-wordpress-seo-plugin</a> Stallion<br>
WordPress SEO Plugin<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">&gt;-Mike<br>
&gt;_______________________________________________<br>
&gt;theme-reviewers mailing list<br>
&gt;<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
&gt;<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><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>
</div></div></blockquote></div><br></div>