<?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: Stopping Clients From Switching Their WordPress Theme</title>
	<atom:link href="http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/</link>
	<description>Music To Your Eyes</description>
	<lastBuildDate>Thu, 02 Feb 2012 21:42:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: WordPress十大优秀技巧 &#124; BOSS Blog!</title>
		<link>http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/#comment-5227</link>
		<dc:creator>WordPress十大优秀技巧 &#124; BOSS Blog!</dc:creator>
		<pubDate>Fri, 30 Dec 2011 12:38:20 +0000</pubDate>
		<guid isPermaLink="false">http://soulsizzle.com/?p=203#comment-5227</guid>
		<description>[...] 来源: http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/ [...]</description>
		<content:encoded><![CDATA[<p>[...] 来源: <a href="http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/" rel="nofollow">http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: turbocharger</title>
		<link>http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/#comment-5175</link>
		<dc:creator>turbocharger</dc:creator>
		<pubDate>Mon, 17 Oct 2011 16:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://soulsizzle.com/?p=203#comment-5175</guid>
		<description>Good – I should definitely say I&#039;m impressed with your blog.
 I had no trouble navigating through all the tabs as well as related info.
 The site ended up being truly simple to access. Excellent job..</description>
		<content:encoded><![CDATA[<p>Good – I should definitely say I&#8217;m impressed with your blog.<br />
 I had no trouble navigating through all the tabs as well as related info.<br />
 The site ended up being truly simple to access. Excellent job..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sherm</title>
		<link>http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/#comment-4221</link>
		<dc:creator>Sherm</dc:creator>
		<pubDate>Mon, 25 Jul 2011 06:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://soulsizzle.com/?p=203#comment-4221</guid>
		<description>Things have changed a little in Wordpress 3.2.1 (I can&#039;t speak for previous versions) and the Editor menu is no longer included in the array. In order to remove it, simply edit wp-admin/menu.php and comment out line 174

//add_submenu_page(&#039;themes.php&#039;, _x(&#039;Editor&#039;, &#039;theme editor&#039;), _x(&#039;Editor&#039;, &#039;theme editor&#039;), &#039;edit_themes&#039;, &#039;theme-editor.php&#039;); 

Dion:
When I want to remove whole admin panels I use the follow code:

function remove_menus () {
  global $menu;
  
	$restricted = array(__(&#039;Dashboard&#039;), __(&#039;Posts&#039;), __(&#039;Media&#039;), __(&#039;Links&#039;), __(&#039;Pages&#039;), __(&#039;Appearance&#039;), __(&#039;Tools&#039;), __(&#039;Users&#039;), __(&#039;Settings&#039;), __(&#039;Comments&#039;), __(&#039;Plugins&#039;));
	end ($menu);
	while (prev($menu)){
		$value = explode(&#039; &#039;,$menu[key($menu)][0]);
		if(in_array($value[0] != NULL?$value[0]:&quot;&quot; , $restricted)){unset($menu[key($menu)]);}
	}
}
add_action(&#039;admin_menu&#039;, &#039;remove_menus&#039;);

Simply remove the items from the $restricted array that you want to still have visible. Anything left inside the array will be removed. I usually remove the Plugins panel, and the Themes, and Editor submenus from the Appearance panel.</description>
		<content:encoded><![CDATA[<p>Things have changed a little in WordPress 3.2.1 (I can&#8217;t speak for previous versions) and the Editor menu is no longer included in the array. In order to remove it, simply edit wp-admin/menu.php and comment out line 174</p>
<p>//add_submenu_page(&#8216;themes.php&#8217;, _x(&#8216;Editor&#8217;, &#8216;theme editor&#8217;), _x(&#8216;Editor&#8217;, &#8216;theme editor&#8217;), &#8216;edit_themes&#8217;, &#8216;theme-editor.php&#8217;); </p>
<p>Dion:<br />
When I want to remove whole admin panels I use the follow code:</p>
<p>function remove_menus () {<br />
  global $menu;</p>
<p>	$restricted = array(__(&#8216;Dashboard&#8217;), __(&#8216;Posts&#8217;), __(&#8216;Media&#8217;), __(&#8216;Links&#8217;), __(&#8216;Pages&#8217;), __(&#8216;Appearance&#8217;), __(&#8216;Tools&#8217;), __(&#8216;Users&#8217;), __(&#8216;Settings&#8217;), __(&#8216;Comments&#8217;), __(&#8216;Plugins&#8217;));<br />
	end ($menu);<br />
	while (prev($menu)){<br />
		$value = explode(&#8216; &#8216;,$menu[key($menu)][0]);<br />
		if(in_array($value[0] != NULL?$value[0]:&#8221;" , $restricted)){unset($menu[key($menu)]);}<br />
	}<br />
}<br />
add_action(&#8216;admin_menu&#8217;, &#8216;remove_menus&#8217;);</p>
<p>Simply remove the items from the $restricted array that you want to still have visible. Anything left inside the array will be removed. I usually remove the Plugins panel, and the Themes, and Editor submenus from the Appearance panel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bebek Kameralari</title>
		<link>http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/#comment-4001</link>
		<dc:creator>Bebek Kameralari</dc:creator>
		<pubDate>Wed, 20 Jul 2011 11:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://soulsizzle.com/?p=203#comment-4001</guid>
		<description>It’s very useful for me to study CSS. Thank you very much.</description>
		<content:encoded><![CDATA[<p>It’s very useful for me to study CSS. Thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dsc Alarm Sistemleri</title>
		<link>http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/#comment-4000</link>
		<dc:creator>Dsc Alarm Sistemleri</dc:creator>
		<pubDate>Wed, 20 Jul 2011 11:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://soulsizzle.com/?p=203#comment-4000</guid>
		<description>Things should be delayed till the point they are needed. Thanks for sharing, very nice article.</description>
		<content:encoded><![CDATA[<p>Things should be delayed till the point they are needed. Thanks for sharing, very nice article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ny giants rumors</title>
		<link>http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/#comment-3821</link>
		<dc:creator>ny giants rumors</dc:creator>
		<pubDate>Fri, 15 Jul 2011 20:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://soulsizzle.com/?p=203#comment-3821</guid>
		<description>Super good post, i totally love this blog, keep on it</description>
		<content:encoded><![CDATA[<p>Super good post, i totally love this blog, keep on it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matias</title>
		<link>http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/#comment-1444</link>
		<dc:creator>Matias</dc:creator>
		<pubDate>Sat, 12 Mar 2011 13:25:29 +0000</pubDate>
		<guid isPermaLink="false">http://soulsizzle.com/?p=203#comment-1444</guid>
		<description>Truly great! Thanks for sharing. :-)</description>
		<content:encoded><![CDATA[<p>Truly great! Thanks for sharing. <img src='http://soulsizzle.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dion GeBorde</title>
		<link>http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/#comment-609</link>
		<dc:creator>Dion GeBorde</dc:creator>
		<pubDate>Fri, 05 Nov 2010 11:35:42 +0000</pubDate>
		<guid isPermaLink="false">http://soulsizzle.com/?p=203#comment-609</guid>
		<description>Hey Ryan, nice tutorial. 

I&#039;m digging into my functions.php file with a vengeance, making all kinds of customizations for client sites, but I&#039;m really a php newbie, and have a couple questions:

1. You said you dug around the Wordpress code base to find &quot;Add New Themes&quot;. How did you do that? Specifically, where did you go to find the whole code base and what tool or process did you use to search it?

2. I&#039;m currently using WP 3.0.1 and there are two submenus in the Appearance tab that are not located in /menu.php, nor am I able to find a specific tutorial on them, namely &quot;Widgets&quot; and &quot;Menu&quot;. Do you have a great tutorial, or would you be willing to do one, on removing those? Thanks again!</description>
		<content:encoded><![CDATA[<p>Hey Ryan, nice tutorial. </p>
<p>I&#8217;m digging into my functions.php file with a vengeance, making all kinds of customizations for client sites, but I&#8217;m really a php newbie, and have a couple questions:</p>
<p>1. You said you dug around the WordPress code base to find &#8220;Add New Themes&#8221;. How did you do that? Specifically, where did you go to find the whole code base and what tool or process did you use to search it?</p>
<p>2. I&#8217;m currently using WP 3.0.1 and there are two submenus in the Appearance tab that are not located in /menu.php, nor am I able to find a specific tutorial on them, namely &#8220;Widgets&#8221; and &#8220;Menu&#8221;. Do you have a great tutorial, or would you be willing to do one, on removing those? Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fort Collins</title>
		<link>http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/#comment-594</link>
		<dc:creator>Fort Collins</dc:creator>
		<pubDate>Fri, 29 Oct 2010 22:19:25 +0000</pubDate>
		<guid isPermaLink="false">http://soulsizzle.com/?p=203#comment-594</guid>
		<description>Wicked Nice. That will save a lot of &quot;re-do&quot; time.. Thank you!</description>
		<content:encoded><![CDATA[<p>Wicked Nice. That will save a lot of &#8220;re-do&#8221; time.. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Top WordPress hacks of 2010&#124;72DPI Design™</title>
		<link>http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/#comment-348</link>
		<dc:creator>Top WordPress hacks of 2010&#124;72DPI Design™</dc:creator>
		<pubDate>Thu, 05 Aug 2010 17:15:42 +0000</pubDate>
		<guid isPermaLink="false">http://soulsizzle.com/?p=203#comment-348</guid>
		<description>[...] Source: http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Source: <a href="http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/" rel="nofollow">http://soulsizzle.com/quick-tips/stopping-clients-from-switching-their-wordpress-theme/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

