<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WordPress &#34;Must-Use&#34; Tutorials&#187; how to</title>
	<atom:link href="http://wpmututorials.com/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpmututorials.com</link>
	<description>WordPress multisite how to - making sense of the network feature from what was wordpress mu</description>
	<lastBuildDate>Fri, 06 Jan 2012 13:36:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>How to make a theme demo site</title>
		<link>http://wpmututorials.com/how-to/theme-demo-sites/</link>
		<comments>http://wpmututorials.com/how-to/theme-demo-sites/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 18:20:33 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[customers]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[paid]]></category>
		<category><![CDATA[premium]]></category>
		<category><![CDATA[shop]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[white label]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=647</guid>
		<description><![CDATA[One thing I get asked occasionally, which is really easy to do, is how do you make a theme demo site? Maybe you&#8217;re getting into the premium theme business (jump in, just do something different ), maybe you have a bunch of pro / developer packages and just want a white label site for your [...]]]></description>
			<content:encoded><![CDATA[<p>One thing I get asked occasionally, which is really easy to do, is how do you make a theme demo site? Maybe you&#8217;re getting into the <a href="http://studiopress.com">premium theme</a> business (jump in, just do something different <img src='http://wpmututorials.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ), maybe you have a bunch of pro / developer packages and just want a white label site for your clients to choose themes from.</p>
<p>How do you set this up?</p>
<p>Easy-peasy &#8211; just <a href="http://wpebooks.com/2010/09/how-to-enable-multisite-in-wordpress/">install multisite</a>.</p>
<p>Sure, there&#8217;s a few little extras, but that&#8217;s the bulk of the work. You can choose to change your main site into a network, or you can install multisite off in a subfolder or subdomain so it&#8217;s separate from your main site, and pick the subfolder install for ease of use and so it looks like just pages off the main install. Your visitors will not really notice a difference, especially if the main site in the network has a theme that matches your original single site. With it separate, you can also let some clients in the whole install without letting them in to your main (separated) site. Access to sub sites can be controlled on a per user basis (this is built in to multisite remember).</p>
<p>So now you have multisite set up &#8211; let&#8217;s say on a subdomain. Just install all the themes you want to demo. I usually do it in bulk using FTP, then I go network enable all the themes.</p>
<p><a href="http://wpmututorials.com/files/2011/12/12899633.jpg"><img src="http://wpmututorials.com/files/2011/12/12899633.jpg" alt="" title="network enable all the things" width="302" height="264" class="alignnone size-full wp-image-649" /></a></p>
<p>Now, create your sub sites. I give each site the name of the theme &#8211; that makes it easy to remember and almost painfully obvious. WordPress.com even does the same thing for its <a href="http://theme.wordpress.com/">theme demos</a>. (click the &#8220;See it in action&#8221; button on any theme there.) </p>
<p>Visit the admin area of each site, activate the required theme, import the demo content, drag some widgets around, do some menus &#8211; whatever you like. The good part is here you can have generic text for all or use special demo text on each site, listing the theme&#8217;s features.</p>
<p>For navigating between the sub sites, you can use <a href="http://wordpress.org/extend/plugins/diamond-multisite-widgets/">Diamond multisite widgets</a> and use the blog listing widget on every site to go back and forth between them. Or use custom links on your custom menu and type in each blog link.</p>
<p>But hey &#8211; that also sounds like work. You could set up one demo site and assuming you want to use most of the same content, use a plugin like the <a href="http://wpebooks.com/replicator/" title="multisite replicator - copies sites within a network">Replicator</a> to make a copy of that template site every time you create a new site. Our <a href="http://wpebooks.com/aggregating-global-content/">Network Home pages ebook</a> also has a section on how to include a site listing that updates itself.</p>
<p>Another use-case for this same setup is if you are developing several themes at once. Why use separate installs? Slap up multisite somewhere, close off registration &#8211; even <a href="http://wordpress.org/extend/plugins/network-privacy/">lock it down via privacy plugins</a> and work away in happiness. The admin bar makes it super easy to switch between sub sites.</p>
<p>So &#8211; who is going to try this first? </p>
<hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WordPress &quot;Must-Use&quot; Tutorials</a>, 2012. |
<a href="http://wpmututorials.com/how-to/theme-demo-sites/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/theme-demo-sites/#comments">5 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/theme-demo-sites/&title=How to make a theme demo site">del.icio.us</a>
<br/>
Post tags: <a href="http://wpmututorials.com/tag/client/" rel="tag">client</a>, <a href="http://wpmututorials.com/tag/customers/" rel="tag">customers</a>, <a href="http://wpmututorials.com/tag/demo/" rel="tag">demo</a>, <a href="http://wpmututorials.com/tag/paid/" rel="tag">paid</a>, <a href="http://wpmututorials.com/tag/premium/" rel="tag">premium</a>, <a href="http://wpmututorials.com/tag/shop/" rel="tag">shop</a>, <a href="http://wpmututorials.com/tag/themes/" rel="tag">Themes</a>, <a href="http://wpmututorials.com/tag/white-label/" rel="tag">white label</a><br/>
</small></p>
<p><strong>Check out <a href="http://wpebooks.com">WPeBooks.com</a> for multisite plugins & ebooks.</strong></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/theme-demo-sites/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Where do people sign up in multisite?</title>
		<link>http://wpmututorials.com/how-to/where-do-people-sign-up-in-multisite/</link>
		<comments>http://wpmututorials.com/how-to/where-do-people-sign-up-in-multisite/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 17:36:57 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[registration]]></category>
		<category><![CDATA[signup]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=638</guid>
		<description><![CDATA[I&#8217;ve been asked this a few times, as it is not obvious from the admin area where users are supposed to go to sign up &#8211; either for a user or a new site in multisite. You can change the registration settings under Network Admin -> Settings. For members of the public, direct to them [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been asked this a few times, as it is not obvious from the admin area where users are supposed to go to sign up &#8211; either for a user or a new site in multisite.</p>
<p>You can change the registration settings under Network Admin -> Settings. For members of the public, direct to them to yourdomain.com/wp-signup.php.</p>
<p>Yes, this gives you a signup page almost exactly like the one at WordPress.com. <img src='http://wpmututorials.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Any attempts to visit the single WP registration link will be redirected to this signup link on the main site.</p>
<hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WordPress &quot;Must-Use&quot; Tutorials</a>, 2011. |
<a href="http://wpmututorials.com/how-to/where-do-people-sign-up-in-multisite/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/where-do-people-sign-up-in-multisite/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/where-do-people-sign-up-in-multisite/&title=Where do people sign up in multisite?">del.icio.us</a>
<br/>
Post tags: <a href="http://wpmututorials.com/tag/registration/" rel="tag">registration</a>, <a href="http://wpmututorials.com/tag/signup/" rel="tag">signup</a><br/>
</small></p>
<p><strong>Check out <a href="http://wpebooks.com">WPeBooks.com</a> for multisite plugins & ebooks.</strong></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/where-do-people-sign-up-in-multisite/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>switch themes with a filter</title>
		<link>http://wpmututorials.com/how-to/switch-themes-with-a-filter/</link>
		<comments>http://wpmututorials.com/how-to/switch-themes-with-a-filter/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 14:00:00 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[filters]]></category>
		<category><![CDATA[mu-plugins]]></category>
		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=488</guid>
		<description><![CDATA[A while back someone asked on twitter if there were an easy way to change all sites in a network to a different one. Yes, that&#8217;s fairly easy to do with a simple plugin that you put in the mu-plugins* folder. function ra_switch_to_twentyten() { global $wpdb; $last_id = get_site_option( 'ra_twentyten', 1 ); if( $last_id &#60; [...]]]></description>
			<content:encoded><![CDATA[<p>A while back someone asked on twitter if there were an easy way to change all sites in a network to a different one. Yes, that&#8217;s fairly easy to do with a simple plugin that you put in the mu-plugins* folder.</p>
<pre class="brush: plain; title: ;">function ra_switch_to_twentyten() {
	global $wpdb;

	$last_id = get_site_option( 'ra_twentyten', 1 );
	if( $last_id &lt; 0 )
		return;

	$next_id = $wpdb-&gt;get_var( $wpdb-&gt;prepare( &quot;SELECT blog_id FROM $wpdb-&gt;blogs WHERE blog_id &gt; %d LIMIT 1&quot;, $last_id ) );
	if( !$next_id ) {
		update_site_option( 'ra_twentyten', -1 );
		return;
	}
	switch_to_blog( $next_id );
	if( 'default' == get_option( 'template' ) ) {
			update_option( 'template', 'twentyten' );
			update_option( 'stylesheet', 'twentyten' );
			update_option( 'current_theme', '' );
	}
	restore_current_blog();

	update_site_option( 'ra_twentyten', $next_id );
}
add_action( 'init', 'ra_switch_to_twentyten' );</pre>
<p>You need to leave this in the mu-plugins folder long enough for the plugin to cycle through all the blogs in the network. Then the code can be removed. In the above case, every site  would eventually be switched to Twenty Ten.</p>
<p>* See <a href="http://wpmututorials.com/basics/what-is-the-mu-plugins-folder/">What is the mu-plugins folder</a> if you are unfamiliar.</p>
<hr />
<p><small>© Ron for <a href="http://wpmututorials.com">WordPress &quot;Must-Use&quot; Tutorials</a>, 2011. |
<a href="http://wpmututorials.com/how-to/switch-themes-with-a-filter/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/switch-themes-with-a-filter/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/switch-themes-with-a-filter/&title=switch themes with a filter">del.icio.us</a>
<br/>
Post tags: <a href="http://wpmututorials.com/tag/filters/" rel="tag">filters</a>, <a href="http://wpmututorials.com/tag/mu-plugins/" rel="tag">mu-plugins</a>, <a href="http://wpmututorials.com/tag/themes/" rel="tag">Themes</a><br/>
</small></p>
<p><strong>Check out <a href="http://wpebooks.com">WPeBooks.com</a> for multisite plugins & ebooks.</strong></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/switch-themes-with-a-filter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enable a theme for one site only</title>
		<link>http://wpmututorials.com/how-to/enable-a-theme-for-one-site-only/</link>
		<comments>http://wpmututorials.com/how-to/enable-a-theme-for-one-site-only/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 14:29:20 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
				<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=589</guid>
		<description><![CDATA[Sometimes in a WordPress network, you may wish to have a theme enabled just for one site, and restrict access to this theme by other sites. The main blog is a good example, because you do not want users able to choose the exact same layout as the main blog with any custom coding it [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes in a WordPress network, you may wish to have a theme enabled just for one site, and restrict access to this theme by other sites. The main blog is a good example, because you do not want users able to choose the exact same layout as the main blog with any custom coding it may have.</p>
<p>First, make sure the theme is not enabled network-wide. If you have just uploaded the theme, it will be like this by default. If it is already enabled, you need to visit Network Admin -> Themes. There&#8217;s two handy sections to show which themes are enabled and which are not. </p>
<p><a href="http://wpmututorials.com/files/2011/06/enabled-themes-screenshot.png"><img src="http://wpmututorials.com/files/2011/06/enabled-themes-screenshot-300x206.png" alt="" title="enabled-themes-screenshot" width="300" height="206" class="alignnone size-medium wp-image-590" /></a></p>
<p>Just click the &#8220;Network Disable&#8221; link if there is one. </p>
<p>To enable the theme for use on just one site, go to Network Admin > Sites. Find the site in question, hover over the name to drop down menus, and click Edit. This will bring you to a page to edit all variables for this blog.</p>
<p><a href="http://wpmututorials.com/files/2011/06/edit-site-themes.png"><img src="http://wpmututorials.com/files/2011/06/edit-site-themes-300x231.png" alt="" title="edit-site-themes" width="300" height="231" class="alignnone size-medium wp-image-591" /></a></p>
<p>There are tabs to break down the options into sections. Click on the Themes tab and you&#8217;ll be presented with a list of all disabled themes installed on the network. This list will also include themes that are enabled for single sub sites. Check the one you’d like to enable for this blog, scroll down, and click the Apply button.</p>
<p>When the admin of this site goes to their Appearance menu, they should now see the new theme as available for activation. Other site admins will not be able to see it in their Appearance menus. You can test this as a super admin by visiting the backend admin area of the site in question.</p>
<p>If a theme is active on any sub site, and the Super Admin network disables the theme, the site using that theme will remain unchanged. In other words, the theme will stay active on the site. It is only when the site owner switches away from that theme to another, that the disabled theme will be removed from the Appearance menu.</p>
<hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WordPress &quot;Must-Use&quot; Tutorials</a>, 2011. |
<a href="http://wpmututorials.com/how-to/enable-a-theme-for-one-site-only/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/enable-a-theme-for-one-site-only/#comments">3 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/enable-a-theme-for-one-site-only/&title=Enable a theme for one site only">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><strong>Check out <a href="http://wpebooks.com">WPeBooks.com</a> for multisite plugins & ebooks.</strong></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/enable-a-theme-for-one-site-only/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Close Comments across the network</title>
		<link>http://wpmututorials.com/how-to/close-comments-across-the-network/</link>
		<comments>http://wpmututorials.com/how-to/close-comments-across-the-network/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 15:50:58 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
				<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=568</guid>
		<description><![CDATA[Before I get into the how, I think I may need to explain the why. One of the tough job in running a large network of sites with multisite is controlling spam on the sub sites. Add that to users who come and go, abandoning their blogs with open settings, and very quickly your database(s) [...]]]></description>
			<content:encoded><![CDATA[<p>Before I get into the how, I think I may need to explain the why. <img src='http://wpmututorials.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>One of the tough job in running a large network of sites with multisite is controlling spam on the sub sites. Add that to users who come and go, abandoning their blogs with open settings, and very quickly your database(s) start filling up with spam and more spam. It&#8217;s like a spamfest in there.</p>
<p>I won&#8217;t get too deep in cleanup or management of spam comments in this post, but what I will cover is how to close comments on all old blogs in one swoop. This is the one thing that will stop the flood so you have time for cleanup.</p>
<p>Drop this code in <a href="http://wpmututorials.com/basics/what-is-the-mu-plugins-folder/">the mu-plugins folder</a> and it will close the comments on all blogs that haven&#8217;t been posted to in over 90 days, on all posts over 90 days old. </p>
<pre class="brush: php; title: ;">
&lt;?php
/*
close comments globally
*/

function ra_switch_comments_off() {
	global $wpdb;

	$last_id = get_site_option( 'ra_comments_off', 1 );
	if( $last_id &lt; 0 )
		return;

	$next_id = $wpdb-&gt;get_var( $wpdb-&gt;prepare( &quot;SELECT blog_id FROM $wpdb-&gt;blogs WHERE blog_id &gt; %d LIMIT 1&quot;, $last_id ) );
	if( !$next_id ) {
		update_site_option( 'ra_comments_off', -1 );
		return;
	}
	switch_to_blog( $next_id );
	if( '1' != get_option( 'close_comments_for_old_posts' ) ) {
		$post = $wpdb-&gt;get_var( &quot;SELECT ID FROM $wpdb-&gt;posts WHERE post_status = 'publish' AND DATE_ADD(post_date, INTERVAL 8 MONTH) &gt; NOW() LIMIT 1&quot; );
		if( empty( $post ) ) {
			update_option( 'close_comments_for_old_posts', '1' );
			update_option( 'close_comments_days_old', '90' );
		}
	}
	restore_current_blog();

	update_site_option( 'ra_comments_off', $next_id );
}
add_action( 'init', 'ra_switch_comments_off' );
</pre>
<p>You can leave it there to keep on rocking, or you can remove it. You can even edit the value to change it from 90 days to somethign else.</p>
<p>WARNING: this *<strong>WILL</strong>* override each site&#8217;s individual settings, mostly because we&#8217;re tossed it in mu-plugins and we&#8217;re accessing each site individually to update the database. Use this only if you really need it.</p>
<hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WordPress &quot;Must-Use&quot; Tutorials</a>, 2011. |
<a href="http://wpmututorials.com/how-to/close-comments-across-the-network/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/close-comments-across-the-network/#comments">7 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/close-comments-across-the-network/&title=Close Comments across the network">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><strong>Check out <a href="http://wpebooks.com">WPeBooks.com</a> for multisite plugins & ebooks.</strong></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/close-comments-across-the-network/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>View Blog ID</title>
		<link>http://wpmututorials.com/how-to/view-blog-id/</link>
		<comments>http://wpmututorials.com/how-to/view-blog-id/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 13:58:52 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
				<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=559</guid>
		<description><![CDATA[Astute users of multisite have noticed that the blog ID column is no longer visible in network admin. You can still see the blog ID when you hover over the site name, however. Frank at wpengineer has written up a quick mu-plugin if you&#8217;re happier with the whole column showing up. Check it out. View [...]]]></description>
			<content:encoded><![CDATA[<p>Astute users of multisite have noticed that the blog ID column is no longer visible in network admin. You can still see the blog ID when you hover over the site name, however.</p>
<p>Frank at wpengineer has written up a quick mu-plugin if you&#8217;re happier with the whole column showing up. Check it out.</p>
<p><a href="http://wpengineer.com/2188/view-blog-id-in-wordpress-multisite/">View blog ID in wordpress multisite</a></p>
<hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WordPress &quot;Must-Use&quot; Tutorials</a>, 2011. |
<a href="http://wpmututorials.com/how-to/view-blog-id/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/view-blog-id/#comments">3 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/view-blog-id/&title=View Blog ID">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><strong>Check out <a href="http://wpebooks.com">WPeBooks.com</a> for multisite plugins & ebooks.</strong></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/view-blog-id/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Firefox search engine plugins for WordPress</title>
		<link>http://wpmututorials.com/how-to/where-can-i-find/firefox-search-engine-plugins-for-wordpress/</link>
		<comments>http://wpmututorials.com/how-to/where-can-i-find/firefox-search-engine-plugins-for-wordpress/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 14:00:00 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
				<category><![CDATA[Where can I find...?]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=490</guid>
		<description><![CDATA[Contrary to popular belief, I do not have the entire codex and support forum contents in my head. There are a couple of tools that make searching for WordPress specific information a whole lot faster, and my job as tech support a whole lot easier. Even if you&#8217;re not looking up plugins and codex references [...]]]></description>
			<content:encoded><![CDATA[<p>Contrary to popular belief, I do not have the entire codex and support forum contents in my head. There are a couple of tools that make searching for WordPress specific information a whole lot faster, and my job as tech support a whole lot easier.</p>
<p>Even if you&#8217;re not looking up plugins and codex references for clients, customers or users, if you&#8217;re a dev these may make your job (or hobby) just a little bit faster &#038; easier.</p>
<p><a href="http://wplookup.com/">WPLookup</a> and <a href="http://wpseek.com/">WPseek</a> both look up functions and their usage, both also have their own extensions for the Firefox search box.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/161987/">WP Codex</a> searches the codex. One less click. <img src='http://wpmututorials.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/10058/">WordPress Plugins</a> is a handy way to search the plugin repo for that one you were trying to remember. (oops, link now busted, great. <a href="https://addons.mozilla.org/en-US/firefox/addon/wordpress-search-suggest/">Alternate is here</a>.)</p>
<p>Both of those are a *lot* faster than simply bookmarking the search page.</p>
<hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WordPress &quot;Must-Use&quot; Tutorials</a>, 2011. |
<a href="http://wpmututorials.com/how-to/where-can-i-find/firefox-search-engine-plugins-for-wordpress/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/where-can-i-find/firefox-search-engine-plugins-for-wordpress/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/where-can-i-find/firefox-search-engine-plugins-for-wordpress/&title=Firefox search engine plugins for WordPress">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><strong>Check out <a href="http://wpebooks.com">WPeBooks.com</a> for multisite plugins & ebooks.</strong></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/where-can-i-find/firefox-search-engine-plugins-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using a hosts file</title>
		<link>http://wpmututorials.com/how-to/using-a-hosts-file/</link>
		<comments>http://wpmututorials.com/how-to/using-a-hosts-file/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 19:10:10 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[hosts]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=531</guid>
		<description><![CDATA[One of our handy development trick is the judicious use of the hosts file on our local computer. This file controls access to various domains by the use of specifying alternative IP addresses. Usually, this file has very few entries, with the most common being this one: 127.0.0.1 localhost Look familiar? This is how your [...]]]></description>
			<content:encoded><![CDATA[<p>One of our handy development trick is the judicious use of the hosts file on our local computer. This file controls access to various domains by the use of specifying alternative IP addresses. Usually, this file has very few entries, with the most common being this one:</p>
<blockquote><p>127.0.0.1  localhost </p></blockquote>
<p>Look familiar? This is how your computer gets a local, or home, IP address. Typing in that IP will always point back to your local computer.</p>
<p>The way you can use this to your advantage is to point any domain out there back to your computer. There are plenty of posts out there explaining how to set up a local development copy of your site. This is something we also do a lot of. We use the hosts file to specify some (basically fake) domain names so we can set up different install to test a lot of different things. For example, my local machine has an AMD64 processor, so we set up a local domain called amd64.local in my hosts file. At a glance, I know I&#8217;m working locally, and I have the benefit of working on something other than just &#8220;localhost&#8221;.</p>
<p>So far, everything has been pretty straightforward. Here comes the fun part.<br />
<em><br />
You can actually specify a real live domain in the hosts file to point to your local machine.</em></p>
<blockquote><p>127.0.0.1  yourdomain.com</p></blockquote>
<p>on a new line.</p>
<p>The only person this affects is anyone using your computer, and you can quickly change this at any time. Why would you do this? (Here&#8217;s the juicy bit). In multisite, to run a development version, it can be really tedious to make changes and fix the database every single time, as the domain is listed in numerous tables.</p>
<p>Mostly, you can set up a copy of your live network on your local machine, not have to change any files (maybe wp-config to get to the local db) and just change the hosts file so you can see your local copy. As if it were live.</p>
<p>This way, you can test an upgrade locally, or new plugins, or extensive changes, before you go breaking things on a live site. You&#8217;ll be able to figure out fixes without the added pressure of a site being down.</p>
<p>When you wish to view the live site again, just edit the hosts file again and remove the line you added. Yes, you do have to flip back and forth, but it is a lot less work than the alternative.</p>
<p>In Windows 7, the file is located at C:\Windows\system32\drivers\etc\ .<br />
On a Mac, the file is in /etc/hosts.</p>
<hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WordPress &quot;Must-Use&quot; Tutorials</a>, 2011. |
<a href="http://wpmututorials.com/how-to/using-a-hosts-file/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/using-a-hosts-file/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/using-a-hosts-file/&title=Using a hosts file">del.icio.us</a>
<br/>
Post tags: <a href="http://wpmututorials.com/tag/development/" rel="tag">development</a>, <a href="http://wpmututorials.com/tag/hosts/" rel="tag">hosts</a>, <a href="http://wpmututorials.com/tag/testing/" rel="tag">testing</a>, <a href="http://wpmututorials.com/tag/wpmu/" rel="tag">wpmu</a><br/>
</small></p>
<p><strong>Check out <a href="http://wpebooks.com">WPeBooks.com</a> for multisite plugins & ebooks.</strong></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/using-a-hosts-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adding a menu to the new network admin</title>
		<link>http://wpmututorials.com/how-to/adding-a-menu-to-the-new-network-admin/</link>
		<comments>http://wpmututorials.com/how-to/adding-a-menu-to-the-new-network-admin/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 22:55:13 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
				<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=516</guid>
		<description><![CDATA[Coming in 3.1, the Super Admin menu will be shuffled off to its own admin area, thus making the distinction really clear between global network actions and site-specific ones. I wrote about this back here. &#8220;But Andrea,&#8221; some of you have said, &#8220;My menus for my plugin are in the wrong place, how do I [...]]]></description>
			<content:encoded><![CDATA[<p>Coming in 3.1, the Super Admin menu will be shuffled off to its own admin area, thus making the distinction really clear between global network actions and site-specific ones. I wrote about this <a href="http://wpmututorials.com/news/new-features/network-admin/">back here</a>.</p>
<p>&#8220;But Andrea,&#8221; some of you have said, &#8220;My menus for my plugin are in the wrong place, how do I fix it?&#8221; Fear not, for I have hunted down a lovely example for you.</p>
<p>Note in the <a href="http://plugins.trac.wordpress.org/changeset/316597/wordpress-mu-domain-mapping">trunk version of the domain mapping plugin (revision 316597)</a> there is support to add that plugin&#8217;s menus to the network admin area. Settings is a good spot.</p>
<pre class="brush: php; title: ;">
function dm_network_pages() {
 	      add_submenu_page('settings.php', 'Domain Mapping', 'Domain Mapping', 'manage_options', 'dm_admin_page', 'dm_admin_page');
 		      add_submenu_page('settings.php', 'Domains', 'Domains', 'manage_options', 'dm_domains_admin', 'dm_domains_admin');
 		}
 		add_action( 'network_admin_menu', 'dm_network_pages' ); 
</pre>
<p>The action you&#8217;re going to use now and in the future is network_admin_menu. Add to whatever menu area you deem appropriate. What used to be submenu items in Super Admin is mostly a top-level menu item in network admin. Snazzy stuff.</p>
<hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WordPress &quot;Must-Use&quot; Tutorials</a>, 2010. |
<a href="http://wpmututorials.com/how-to/adding-a-menu-to-the-new-network-admin/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/adding-a-menu-to-the-new-network-admin/#comments">4 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/adding-a-menu-to-the-new-network-admin/&title=Adding a menu to the new network admin">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><strong>Check out <a href="http://wpebooks.com">WPeBooks.com</a> for multisite plugins & ebooks.</strong></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/adding-a-menu-to-the-new-network-admin/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to disable multisite</title>
		<link>http://wpmututorials.com/how-to/how-to-disable-multisite/</link>
		<comments>http://wpmututorials.com/how-to/how-to-disable-multisite/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 12:34:48 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
				<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=465</guid>
		<description><![CDATA[Running multiple sites like this may not be for everyone. You may have decided to switch back. It&#8217;s pretty easy, so here&#8217;s how. Delete any extra sites you may have created. Move the content and users to the main blog or wherever you desire. Remove the lines we added in the wp-config.php file. Restore the [...]]]></description>
			<content:encoded><![CDATA[<p>Running multiple sites like this may not be for everyone. You may have decided to switch back. It&#8217;s pretty easy, so here&#8217;s how.</p>
<p>Delete any extra sites you may have created. Move the content and users to the main blog or wherever you desire.</p>
<p>Remove the lines we added in the wp-config.php file.</p>
<p>Restore the .htaccess file to the default. One the multisite lines are gone from the config file, you can usually restore these by resaving the permalinks.</p>
<p>Drop these global tables in the database:<br />
wp_blogs<br />
wp_blog_versions<br />
wp_registration_log<br />
wp_signups<br />
wp_site<br />
wp_sitemeta</p>
<p>This is an excerpt from the free ebook <a href="http://wpebooks.com/2010/09/how-to-enable-multisite-in-wordpress/">Create a Network in WordPress</a>.</p>
<hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WordPress &quot;Must-Use&quot; Tutorials</a>, 2010. |
<a href="http://wpmututorials.com/how-to/how-to-disable-multisite/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/how-to-disable-multisite/#comments">12 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/how-to-disable-multisite/&title=How to disable multisite">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><strong>Check out <a href="http://wpebooks.com">WPeBooks.com</a> for multisite plugins & ebooks.</strong></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/how-to-disable-multisite/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

