<?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: How to Add the Media Manager Menu to the Theme Preview Interface	</title>
	<atom:link href="https://www.shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/feed" rel="self" type="application/rss+xml" />
	<link>https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface</link>
	<description>Adventures in WordPress</description>
	<lastBuildDate>Fri, 07 Mar 2014 16:00:55 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9</generator>
	<item>
		<title>
		By: Agustin		</title>
		<link>https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-95316</link>

		<dc:creator><![CDATA[Agustin]]></dc:creator>
		<pubDate>Fri, 07 Mar 2014 16:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=11989#comment-95316</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-95315&quot;&gt;Agustin&lt;/a&gt;.

Please forget i ask for this help, for some dumb reason I put this:

&lt;code&gt;$my_image_controls[] =  my_add_image_control(&#039;shiba_header_image&#039;, &#039;Header Image&#039;);&lt;/code&gt;

instead of:

&lt;code&gt;$my_image_controls[&#039;shiba_header_image&#039;] =  my_add_image_control(&#039;shiba_header_image&#039;, &#039;Header Image&#039;);&lt;/code&gt;

now is obvious why the controllerName was empty, had 0 not empty...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-95315">Agustin</a>.</p>
<p>Please forget i ask for this help, for some dumb reason I put this:</p>
<p><code>$my_image_controls[] =  my_add_image_control('shiba_header_image', 'Header Image');</code></p>
<p>instead of:</p>
<p><code>$my_image_controls['shiba_header_image'] =  my_add_image_control('shiba_header_image', 'Header Image');</code></p>
<p>now is obvious why the controllerName was empty, had 0 not empty&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Agustin		</title>
		<link>https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-95315</link>

		<dc:creator><![CDATA[Agustin]]></dc:creator>
		<pubDate>Fri, 07 Mar 2014 15:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=11989#comment-95315</guid>

					<description><![CDATA[Hi, first i want to say thankyou for this great article.

I wan to ask you some help, i followed this tut as well, and get the media manager, but when i select an image and press &quot;insert into skin&quot; button i get this error: 

TypeError: controller is undefined
controller.thumbnailSrc(attachment.attributes.url);

And i see the controllerName is empty, can you guide me a little.

Thanks for any help, by the way i&#039;m with wp 3.8.1]]></description>
			<content:encoded><![CDATA[<p>Hi, first i want to say thankyou for this great article.</p>
<p>I wan to ask you some help, i followed this tut as well, and get the media manager, but when i select an image and press &#8220;insert into skin&#8221; button i get this error: </p>
<p>TypeError: controller is undefined<br />
controller.thumbnailSrc(attachment.attributes.url);</p>
<p>And i see the controllerName is empty, can you guide me a little.</p>
<p>Thanks for any help, by the way i&#8217;m with wp 3.8.1</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: nobug		</title>
		<link>https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-87209</link>

		<dc:creator><![CDATA[nobug]]></dc:creator>
		<pubDate>Fri, 01 Nov 2013 13:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=11989#comment-87209</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-80731&quot;&gt;Neroth&lt;/a&gt;.

Man you saved my day! wp_print_media_templates was required indeed.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-80731">Neroth</a>.</p>
<p>Man you saved my day! wp_print_media_templates was required indeed.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Neroth		</title>
		<link>https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-80731</link>

		<dc:creator><![CDATA[Neroth]]></dc:creator>
		<pubDate>Tue, 17 Sep 2013 14:36:24 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=11989#comment-80731</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-76661&quot;&gt;Sam&lt;/a&gt;.

Hi you need the media templates :) !

function add_media_manager_template_to_customizer() {
	wp_print_media_templates();
}

add_action( &#039;customize_controls_print_footer_scripts&#039;, &#039;add_media_manager_template_to_customizer&#039; );]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-76661">Sam</a>.</p>
<p>Hi you need the media templates 🙂 !</p>
<p>function add_media_manager_template_to_customizer() {<br />
	wp_print_media_templates();<br />
}</p>
<p>add_action( &#8216;customize_controls_print_footer_scripts&#8217;, &#8216;add_media_manager_template_to_customizer&#8217; );</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: san		</title>
		<link>https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-78477</link>

		<dc:creator><![CDATA[san]]></dc:creator>
		<pubDate>Wed, 14 Aug 2013 16:37:41 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=11989#comment-78477</guid>

					<description><![CDATA[Hello, i am trying to make it working but i get error. can you tell me what i need to change to make it work with my theme. 

thanks.]]></description>
			<content:encoded><![CDATA[<p>Hello, i am trying to make it working but i get error. can you tell me what i need to change to make it work with my theme. </p>
<p>thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-76698</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Thu, 11 Jul 2013 20:36:23 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=11989#comment-76698</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-76661&quot;&gt;Sam&lt;/a&gt;.

Sounds like there may be a missing file, some core file that needs to be included.

I use the code in my &lt;a href=&quot;http://shibashake.com/wordpress-theme/genesis-skins&quot; rel=&quot;nofollow&quot;&gt;Genesis Skins&lt;/a&gt; and &lt;a href=&quot;http://shibashake.com/wordpress-theme/shiba-skins&quot; rel=&quot;nofollow&quot;&gt;Shiba Skins&lt;/a&gt; themes, both of which run on 3.5. Feel free to have a look at the source. Shiba Skins is probably easier to look at since it is built on top of TwentyTwelve.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-76661">Sam</a>.</p>
<p>Sounds like there may be a missing file, some core file that needs to be included.</p>
<p>I use the code in my <a href="http://shibashake.com/wordpress-theme/genesis-skins" rel="nofollow">Genesis Skins</a> and <a href="http://shibashake.com/wordpress-theme/shiba-skins" rel="nofollow">Shiba Skins</a> themes, both of which run on 3.5. Feel free to have a look at the source. Shiba Skins is probably easier to look at since it is built on top of TwentyTwelve.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sam		</title>
		<link>https://shibashake.com/wp/how-to-add-the-media-manager-menu-to-the-theme-preview-interface/comment-page-1#comment-76661</link>

		<dc:creator><![CDATA[Sam]]></dc:creator>
		<pubDate>Thu, 11 Jul 2013 06:27:33 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=11989#comment-76661</guid>

					<description><![CDATA[I followed your tutorial which is impressively clean and object oriented
And found a problem that I was running into before

Uncaught TypeError: Cannot call method &#039;replace&#039; of undefined 
Now, this is happening in underscore.js and only inside of the Customizer

Not sure if this is just an issue with 3.5 but I greatly appreciated the help regardless]]></description>
			<content:encoded><![CDATA[<p>I followed your tutorial which is impressively clean and object oriented<br />
And found a problem that I was running into before</p>
<p>Uncaught TypeError: Cannot call method &#8216;replace&#8217; of undefined<br />
Now, this is happening in underscore.js and only inside of the Customizer</p>
<p>Not sure if this is just an issue with 3.5 but I greatly appreciated the help regardless</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using disk: enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn.shibashake.com
Minified using disk
Database Caching 3/29 queries in 0.015 seconds using disk (Request-wide modification query)

Served from: www.shibashake.com @ 2026-07-05 11:11:26 by W3 Total Cache
-->