<?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>digitalnature &#187; multisite</title>
	<atom:link href="https://digitalnature.eu/blog/tag/multisite/feed/" rel="self" type="application/rss+xml" />
	<link>https://digitalnature.eu</link>
	<description>Rise Above the Ordinary</description>
	<lastBuildDate>Fri, 11 Sep 2015 15:02:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Site wide posts, comments &amp; tags</title>
		<link>https://digitalnature.eu/blog/2011/08/05/site-wide-posts-comments-tags/</link>
		<comments>https://digitalnature.eu/blog/2011/08/05/site-wide-posts-comments-tags/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 17:43:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[multisite]]></category>

		<guid isPermaLink="false">http://digitalnature.eu/?p=683</guid>
		<description><![CDATA[I needed a solution for searching posts from all blogs that are set up on a website, and after testing a few plugins that claimed that are able to do this (and 1GB database queries), I ended up creating my own&#8230;
It&#8217;s called &#8220;Site-wide Content&#8221;, and what it does is basically add a copy of the post or  [...]]]></description>
			<content:encoded><![CDATA[<p>I needed a solution for searching posts from all blogs that are set up on a website, and after testing a few plugins that claimed that are able to do this (and 1GB database queries), I ended up creating my own&#8230;</p>
<p>It&#8217;s called &#8220;Site-wide Content&#8221;, and what it does is basically add a copy of the post or comment that was just published in a custom database table. This allows us to efficiently query a single table, instead of making a complex query for dozens, maybe hundreds of tables.</p>
<p>Currently there&#8217;s no widget support built-in, just API (similar to the <a href="http://codex.wordpress.org/Class_Reference/WP_Query" rel="external">WP Query</a> class). However Atom themes like Mystique have built-in support for this plugin, right now only in the &#8220;Posts&#8221; and &#8220;Recent Comments&#8221; widgets:</p>
<div class="clear-block">
<p><a href="http://digitalnature.eu/wp-content/uploads/2011/08/swc1.png"><img class="alignleft size-thumbnail wp-image-684" title="swc1" src="http://digitalnature.eu/wp-content/uploads/2011/08/swc1-150x150.png" alt="" width="150" height="150" /></a></p>
<p><a href="http://digitalnature.eu/wp-content/uploads/2011/08/swc2.png"><img class="size-thumbnail wp-image-685 alignleft" title="swc2" src="http://digitalnature.eu/wp-content/uploads/2011/08/swc2-150x150.png" alt="" width="150" height="150" /></a></p>
</div>
<p>It&#8217;s not yet ready, but I&#8217;ll be updating this article when it is <img src='https://digitalnature.eu/wp-content/themes/digitalnature/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>https://digitalnature.eu/blog/2011/08/05/site-wide-posts-comments-tags/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
	</channel>
</rss>
