<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Giving your users changeable or custom headers in themes</title>
	<atom:link href="http://wpmututorials.com/how-to/giving-your-users-changeable-custom-headers/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpmututorials.com/how-to/giving-your-users-changeable-custom-headers/</link>
	<description>WordPressMU how to - tips, hints, tricks and explainations for multiple blogs in WordPress</description>
	<lastBuildDate>Tue, 09 Mar 2010 11:27:20 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tony Stark</title>
		<link>http://wpmututorials.com/how-to/giving-your-users-changeable-custom-headers/#comment-6067</link>
		<dc:creator>Tony Stark</dc:creator>
		<pubDate>Fri, 29 Jan 2010 00:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=65#comment-6067</guid>
		<description>Thanks for the reply. 

I looked into wp-admin/custom-header.php and it looks like it&#039;s happening on the crop.  So I tested uploading a png with the correct size and sure enough it maintains its png/transparency. 

I can&#039;t figure out what to edit in custom-header.php though. 

I do see under function step_3 is:

&#039;post_mime_type&#039; =&gt; &#039;image/jpeg&#039;,

which i tried editing to say &quot;$type&quot; or &quot;image/png&quot; or &quot;png&quot;, but nothing changes it still converts to a .jpeg, even when elimanate that string entirely. Somewhere is a function that converts but I can&#039;t read the php code that gives it away. 

At least I can make a tutorial or a notes page to instruct people to crop it to the default size prior to the upload.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply. </p>
<p>I looked into wp-admin/custom-header.php and it looks like it&#8217;s happening on the crop.  So I tested uploading a png with the correct size and sure enough it maintains its png/transparency. </p>
<p>I can&#8217;t figure out what to edit in custom-header.php though. </p>
<p>I do see under function step_3 is:</p>
<p>&#8216;post_mime_type&#8217; =&gt; &#8216;image/jpeg&#8217;,</p>
<p>which i tried editing to say &#8220;$type&#8221; or &#8220;image/png&#8221; or &#8220;png&#8221;, but nothing changes it still converts to a .jpeg, even when elimanate that string entirely. Somewhere is a function that converts but I can&#8217;t read the php code that gives it away. </p>
<p>At least I can make a tutorial or a notes page to instruct people to crop it to the default size prior to the upload.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrea</title>
		<link>http://wpmututorials.com/how-to/giving-your-users-changeable-custom-headers/#comment-6062</link>
		<dc:creator>andrea</dc:creator>
		<pubDate>Thu, 28 Jan 2010 23:03:42 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=65#comment-6062</guid>
		<description>The custom header API that you&#039;re hooking into with this code is in the core. So that conversion is core, not in the code above.</description>
		<content:encoded><![CDATA[<p>The custom header API that you&#8217;re hooking into with this code is in the core. So that conversion is core, not in the code above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Stark</title>
		<link>http://wpmututorials.com/how-to/giving-your-users-changeable-custom-headers/#comment-6061</link>
		<dc:creator>Tony Stark</dc:creator>
		<pubDate>Thu, 28 Jan 2010 22:56:33 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=65#comment-6061</guid>
		<description>Question:  

Can this be edited so that when a user uploads a png with transparency it will maintain a png and thus its transparency?

Right now, it automatically converts to jpeg and turns the background black.</description>
		<content:encoded><![CDATA[<p>Question:  </p>
<p>Can this be edited so that when a user uploads a png with transparency it will maintain a png and thus its transparency?</p>
<p>Right now, it automatically converts to jpeg and turns the background black.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrea</title>
		<link>http://wpmututorials.com/how-to/giving-your-users-changeable-custom-headers/#comment-6058</link>
		<dc:creator>andrea</dc:creator>
		<pubDate>Thu, 28 Jan 2010 21:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=65#comment-6058</guid>
		<description>It&#039;s not meant to be a cookie cutter hack. :) I think the post states that the *example code* still needs to be edited for your particular theme. It;s meant as a means to understand the process, so you&#039;re not just copy/pasting code in will-nilly with no idea what it&#039;s supposed to do.

I don&#039;t envy your theme list. Sure they haven&#039;t been done already?</description>
		<content:encoded><![CDATA[<p>It&#8217;s not meant to be a cookie cutter hack. <img src='http://wpmututorials.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I think the post states that the *example code* still needs to be edited for your particular theme. It;s meant as a means to understand the process, so you&#8217;re not just copy/pasting code in will-nilly with no idea what it&#8217;s supposed to do.</p>
<p>I don&#8217;t envy your theme list. Sure they haven&#8217;t been done already?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Stark</title>
		<link>http://wpmututorials.com/how-to/giving-your-users-changeable-custom-headers/#comment-6057</link>
		<dc:creator>Tony Stark</dc:creator>
		<pubDate>Thu, 28 Jan 2010 21:17:06 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=65#comment-6057</guid>
		<description>fyi, this is NOT a cookie cutter hack. 

I&#039;ve used this one 5 or themes and just starting to get over the learning curve.  I still got 50 or so more themes to do. 

So far, every theme has required significant edits in the style.css and header.php files, as well as editing the example function.php file.

Why the example in the post is different than the actual one used is beyond me. 

More tips are listed here.

http://mu.wordpress.org/forums/topic/13723

Thanks for getting me on the right track.</description>
		<content:encoded><![CDATA[<p>fyi, this is NOT a cookie cutter hack. </p>
<p>I&#8217;ve used this one 5 or themes and just starting to get over the learning curve.  I still got 50 or so more themes to do. </p>
<p>So far, every theme has required significant edits in the style.css and header.php files, as well as editing the example function.php file.</p>
<p>Why the example in the post is different than the actual one used is beyond me. </p>
<p>More tips are listed here.</p>
<p><a href="http://mu.wordpress.org/forums/topic/13723" rel="nofollow">http://mu.wordpress.org/forums/topic/13723</a></p>
<p>Thanks for getting me on the right track.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tmo</title>
		<link>http://wpmututorials.com/how-to/giving-your-users-changeable-custom-headers/#comment-6025</link>
		<dc:creator>tmo</dc:creator>
		<pubDate>Wed, 27 Jan 2010 22:11:47 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=65#comment-6025</guid>
		<description>Sorry to bug you..  I had the same image from other custom header theme then uploaded same image again and it threw error with both images...same name.  cleared both tried again, smooth sailing!  thanks</description>
		<content:encoded><![CDATA[<p>Sorry to bug you..  I had the same image from other custom header theme then uploaded same image again and it threw error with both images&#8230;same name.  cleared both tried again, smooth sailing!  thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://wpmututorials.com/how-to/giving-your-users-changeable-custom-headers/#comment-6007</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Tue, 26 Jan 2010 23:17:21 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=65#comment-6007</guid>
		<description>Hi Andrea-  Did this once on a theme and it worked first try.  No tried on another and it works on front end but in admin area i get this:


Warning: Cannot modify header information - headers already sent by (output started at /home/content/71/4743871/html/wp-content/themes/tstore/functions.php:45) in /home/content/71/4743871/html/wp-includes/functions.php on line 792

Warning: Cannot modify header information - headers already sent by (output started at /home/content/71/4743871/html/wp-content/themes/tstore/functions.php:45) in /home/content/71/4743871/html/wp-includes/functions.php on line 793

can you help? thanks!</description>
		<content:encoded><![CDATA[<p>Hi Andrea-  Did this once on a theme and it worked first try.  No tried on another and it works on front end but in admin area i get this:</p>
<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at /home/content/71/4743871/html/wp-content/themes/tstore/functions.php:45) in /home/content/71/4743871/html/wp-includes/functions.php on line 792</p>
<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at /home/content/71/4743871/html/wp-content/themes/tstore/functions.php:45) in /home/content/71/4743871/html/wp-includes/functions.php on line 793</p>
<p>can you help? thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dandam</title>
		<link>http://wpmututorials.com/how-to/giving-your-users-changeable-custom-headers/#comment-6006</link>
		<dc:creator>dandam</dc:creator>
		<pubDate>Tue, 26 Jan 2010 22:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=65#comment-6006</guid>
		<description>Many thanks! 

Would be great to link to this from http://codex.wordpress.org/Appearance_Header_Image_and_Color_SubPanel 

With your permission, I&#039;ll share the code there by way of a more detailed entry.

Again, many many thanks!</description>
		<content:encoded><![CDATA[<p>Many thanks! </p>
<p>Would be great to link to this from <a href="http://codex.wordpress.org/Appearance_Header_Image_and_Color_SubPanel" rel="nofollow">http://codex.wordpress.org/Appearance_Header_Image_and_Color_SubPanel</a> </p>
<p>With your permission, I&#8217;ll share the code there by way of a more detailed entry.</p>
<p>Again, many many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sid</title>
		<link>http://wpmututorials.com/how-to/giving-your-users-changeable-custom-headers/#comment-5356</link>
		<dc:creator>sid</dc:creator>
		<pubDate>Thu, 07 Jan 2010 16:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=65#comment-5356</guid>
		<description>Thanks so much Andrea, It worked after a copied the code from your sample functions.php</description>
		<content:encoded><![CDATA[<p>Thanks so much Andrea, It worked after a copied the code from your sample functions.php</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrea</title>
		<link>http://wpmututorials.com/how-to/giving-your-users-changeable-custom-headers/#comment-4456</link>
		<dc:creator>andrea</dc:creator>
		<pubDate>Mon, 14 Dec 2009 22:02:50 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=65#comment-4456</guid>
		<description>&quot;and drop the header image in my theme folder,&quot;

The code above adds a menu to the backend of WP. the header gets uploaded there, it doesn&#039;t go in the theme folder.

Anything done in that menu is only specific for that blog.</description>
		<content:encoded><![CDATA[<p>&#8220;and drop the header image in my theme folder,&#8221;</p>
<p>The code above adds a menu to the backend of WP. the header gets uploaded there, it doesn&#8217;t go in the theme folder.</p>
<p>Anything done in that menu is only specific for that blog.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
