<?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: Switch_Theme vs. Theme Switching	</title>
	<atom:link href="https://www.shibashake.com/wp/switch_theme-vs-theme-switching/feed" rel="self" type="application/rss+xml" />
	<link>https://shibashake.com/wp/switch_theme-vs-theme-switching</link>
	<description>Adventures in WordPress</description>
	<lastBuildDate>Sat, 02 Feb 2013 16:42:04 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9</generator>
	<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/switch_theme-vs-theme-switching/comment-page-1#comment-12447</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Sat, 17 Mar 2012 19:38:19 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=9437#comment-12447</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/switch_theme-vs-theme-switching/comment-page-1#comment-12355&quot;&gt;Sean Langlands&lt;/a&gt;.

Hello Sean,

I have a working example of this in my Shiba Widgets plugin. It is a bit more complex than what is shown here, but contains all of the elements described. If you want, you can check it out by looking at the &lt;strong&gt;shiba-widget-gettheme.php&lt;/strong&gt; file.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/switch_theme-vs-theme-switching/comment-page-1#comment-12355">Sean Langlands</a>.</p>
<p>Hello Sean,</p>
<p>I have a working example of this in my Shiba Widgets plugin. It is a bit more complex than what is shown here, but contains all of the elements described. If you want, you can check it out by looking at the <strong>shiba-widget-gettheme.php</strong> file.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sean Langlands		</title>
		<link>https://shibashake.com/wp/switch_theme-vs-theme-switching/comment-page-1#comment-12355</link>

		<dc:creator><![CDATA[Sean Langlands]]></dc:creator>
		<pubDate>Tue, 13 Mar 2012 19:57:02 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=9437#comment-12355</guid>

					<description><![CDATA[I have the same problem as RADU but with using the add_filters. It doesn&#039;t seem to act like a child theme. Any way around this?]]></description>
			<content:encoded><![CDATA[<p>I have the same problem as RADU but with using the add_filters. It doesn&#8217;t seem to act like a child theme. Any way around this?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sergey		</title>
		<link>https://shibashake.com/wp/switch_theme-vs-theme-switching/comment-page-1#comment-10411</link>

		<dc:creator><![CDATA[Sergey]]></dc:creator>
		<pubDate>Tue, 10 Jan 2012 14:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=9437#comment-10411</guid>

					<description><![CDATA[I found an error in your code.

39,40 strings in &quot;theme_redirect&quot; function. They call functions that does not exists. Error in functions names.]]></description>
			<content:encoded><![CDATA[<p>I found an error in your code.</p>
<p>39,40 strings in &#8220;theme_redirect&#8221; function. They call functions that does not exists. Error in functions names.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Radu		</title>
		<link>https://shibashake.com/wp/switch_theme-vs-theme-switching/comment-page-1#comment-8293</link>

		<dc:creator><![CDATA[Radu]]></dc:creator>
		<pubDate>Mon, 14 Nov 2011 16:54:25 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=9437#comment-8293</guid>

					<description><![CDATA[I can&#039;t seem to get this to work. :(

I made a theme with several child themes and I need to be able to change them when certain events are triggered. Thing is, since the theme I&#039;m trying to load is a child theme, it should naturally preserve the functions defined in the functions.php parent theme folder. 

If I do this the wp-admin back-end, it works perfectly. However, if I try changing it via switch_theme(), which according to this article does the exact same thing, all the functions in the parent functions.php file are lost and cannot be accesed in the child theme. 

Any ideas why this happens? 
Thank you in advance,
Radu]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t seem to get this to work. 🙁</p>
<p>I made a theme with several child themes and I need to be able to change them when certain events are triggered. Thing is, since the theme I&#8217;m trying to load is a child theme, it should naturally preserve the functions defined in the functions.php parent theme folder. </p>
<p>If I do this the wp-admin back-end, it works perfectly. However, if I try changing it via switch_theme(), which according to this article does the exact same thing, all the functions in the parent functions.php file are lost and cannot be accesed in the child theme. </p>
<p>Any ideas why this happens?<br />
Thank you in advance,<br />
Radu</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 0/73 objects using disk
Page Caching using disk: enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn.shibashake.com
Lazy Loading (feed)
Minified using disk
Database Caching using disk (Request-wide modification query)

Served from: www.shibashake.com @ 2024-12-14 20:53:00 by W3 Total Cache
-->