<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"><<a href="mailto:wp-hackers@google-adsense-templates.co.uk">wp-hackers@google-adsense-templates.co.uk</a>></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>
>Can do the same for Custom Headers, but think it will be messy. Anyone<br>
>got a 'good' solution up and running?<br>
><br>
>Hi David!<br>
><br>
>A new version of P2 was released recently. It has custom header support<br>
>for 3.4 and previous versions.<br>
><br>
>You can see the code here:<br>
><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'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="<?php if(function_exists('get_custom_header')) {echo<br>
get_custom_header()->width;} else {echo HEADER_IMAGE_WIDTH;} ?>"<br>
height="<?php if(function_exists('get_custom_header')) {echo<br>
get_custom_header()->height;} else {echo HEADER_IMAGE_HEIGHT;} ?>"<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">>-Mike<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>
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>