<?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: Return a list of sites on the network</title>
	<atom:link href="http://wpmututorials.com/how-to/return-a-list-of-sites-on-the-network/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpmututorials.com/how-to/return-a-list-of-sites-on-the-network/</link>
	<description>WordPress multisite how to - making sense of the network feature from what was wordpress mu</description>
	<lastBuildDate>Thu, 26 Jan 2012 22:51:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Russ</title>
		<link>http://wpmututorials.com/how-to/return-a-list-of-sites-on-the-network/#comment-11366</link>
		<dc:creator>Russ</dc:creator>
		<pubDate>Mon, 06 Dec 2010 16:14:51 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=428#comment-11366</guid>
		<description>Hello,

Thanks for the great code snippet, Andrea!

I have the following code listing all of my 3.0 network sites via a page template, with each blog&#039;s title hyper-linked to the site (then a line break after each one). 

The problem I&#039;m having is that it&#039;s grabbing the title of my main blog for all sites instead of each individual sites title.


            
&lt;?php $blog_list = get_blog_list( 0, &#039;all&#039; );
foreach ($blog_list AS $blog) {
echo  &quot;&lt;a&gt;&quot; . $blog_title . &quot;&lt;/a&gt;&quot; . &#039;&#039;;
}
?&gt;

I can&#039;t seem to figure out how to grab network site titles instead of my main site. 

Thanks for any help.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Thanks for the great code snippet, Andrea!</p>
<p>I have the following code listing all of my 3.0 network sites via a page template, with each blog&#8217;s title hyper-linked to the site (then a line break after each one). </p>
<p>The problem I&#8217;m having is that it&#8217;s grabbing the title of my main blog for all sites instead of each individual sites title.</p>
<p>&lt;?php $blog_list = get_blog_list( 0, &#039;all&#039; );<br />
foreach ($blog_list AS $blog) {<br />
echo  &quot;<a>&#8221; . $blog_title . &#8220;</a>&#8221; . &#8221;;<br />
}<br />
?&gt;</p>
<p>I can&#8217;t seem to figure out how to grab network site titles instead of my main site. </p>
<p>Thanks for any help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://wpmututorials.com/how-to/return-a-list-of-sites-on-the-network/#comment-10360</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Thu, 09 Sep 2010 01:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=428#comment-10360</guid>
		<description>The SWT plugin has a checkbox to use the main site/blog as the tags blog. If you use a separate tags blog, it&#039;s only hidden from search engines to prevent issues with duplicate content. Otherwise it&#039;s publicly accessible.</description>
		<content:encoded><![CDATA[<p>The SWT plugin has a checkbox to use the main site/blog as the tags blog. If you use a separate tags blog, it&#8217;s only hidden from search engines to prevent issues with duplicate content. Otherwise it&#8217;s publicly accessible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Gwyer</title>
		<link>http://wpmututorials.com/how-to/return-a-list-of-sites-on-the-network/#comment-10340</link>
		<dc:creator>David Gwyer</dc:creator>
		<pubDate>Tue, 07 Sep 2010 19:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=428#comment-10340</guid>
		<description>Ahh, OK just been reading over an e-mail from Lorelle. The reason she suggested a new Plugin approach was the fact that to use the sitewide tags Plugin you have to live with having to create a &#039;hidden&#039; blog.

This then pulls in all the content to it, and then you have to do queries and such to pull from that to the portal/gateway blog. I believe this approach is not considered that efficient etc. and so a more direct way is desired.

Not sure how accurate I am on the above, my multisite terminology is not upto scratch yet. Still very much finding my feet.

What is your opinion of the sitewide tags Plugin? Do you love it, put up with it, secretly wish for something better etc? :)

Not having the user experience of WordPress multisite it is hard for me to evaluate from an initial impression.</description>
		<content:encoded><![CDATA[<p>Ahh, OK just been reading over an e-mail from Lorelle. The reason she suggested a new Plugin approach was the fact that to use the sitewide tags Plugin you have to live with having to create a &#8216;hidden&#8217; blog.</p>
<p>This then pulls in all the content to it, and then you have to do queries and such to pull from that to the portal/gateway blog. I believe this approach is not considered that efficient etc. and so a more direct way is desired.</p>
<p>Not sure how accurate I am on the above, my multisite terminology is not upto scratch yet. Still very much finding my feet.</p>
<p>What is your opinion of the sitewide tags Plugin? Do you love it, put up with it, secretly wish for something better etc? <img src='http://wpmututorials.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Not having the user experience of WordPress multisite it is hard for me to evaluate from an initial impression.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Gwyer</title>
		<link>http://wpmututorials.com/how-to/return-a-list-of-sites-on-the-network/#comment-10339</link>
		<dc:creator>David Gwyer</dc:creator>
		<pubDate>Tue, 07 Sep 2010 19:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=428#comment-10339</guid>
		<description>Don&#039;t ask me, I&#039;m new to this multisite thing! :)

It is a great new feature, wish I had taken a look a while ago. I will look into the Plugin you suggested. Thanks.</description>
		<content:encoded><![CDATA[<p>Don&#8217;t ask me, I&#8217;m new to this multisite thing! <img src='http://wpmututorials.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It is a great new feature, wish I had taken a look a while ago. I will look into the Plugin you suggested. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrea</title>
		<link>http://wpmututorials.com/how-to/return-a-list-of-sites-on-the-network/#comment-10336</link>
		<dc:creator>andrea</dc:creator>
		<pubDate>Tue, 07 Sep 2010 18:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=428#comment-10336</guid>
		<description>If you&#039;re trying to aggregate all the posts to the front... why not use sitewide tags plugin?</description>
		<content:encoded><![CDATA[<p>If you&#8217;re trying to aggregate all the posts to the front&#8230; why not use sitewide tags plugin?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Gwyer</title>
		<link>http://wpmututorials.com/how-to/return-a-list-of-sites-on-the-network/#comment-10324</link>
		<dc:creator>David Gwyer</dc:creator>
		<pubDate>Mon, 06 Sep 2010 12:41:09 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=428#comment-10324</guid>
		<description>Just as a quick experiment I just put the get_blog_list() function into a (very) simple Plugin as a shortcode and it works OK. However, this function is now deprecated so is not an option to use now.

This is not a big problem though as there are a lot of other useful internal multisite related functions to consume, and I plan to write some of my own as wrappers around custom queries.

In-fact I have been discussing with Lorelle about a large scale Plugin that would be an efficient way to aggregate network blog info onto the front portal page.

I am a bit limited at the moment as I am just dipping my toe into the network feature of WordPress and so my lack of experience/knowledge is hindering me somewhat but soon I hope to be able to put together something more useful!

Any specific requests to add to the list?</description>
		<content:encoded><![CDATA[<p>Just as a quick experiment I just put the get_blog_list() function into a (very) simple Plugin as a shortcode and it works OK. However, this function is now deprecated so is not an option to use now.</p>
<p>This is not a big problem though as there are a lot of other useful internal multisite related functions to consume, and I plan to write some of my own as wrappers around custom queries.</p>
<p>In-fact I have been discussing with Lorelle about a large scale Plugin that would be an efficient way to aggregate network blog info onto the front portal page.</p>
<p>I am a bit limited at the moment as I am just dipping my toe into the network feature of WordPress and so my lack of experience/knowledge is hindering me somewhat but soon I hope to be able to put together something more useful!</p>
<p>Any specific requests to add to the list?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan</title>
		<link>http://wpmututorials.com/how-to/return-a-list-of-sites-on-the-network/#comment-10123</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Sat, 31 Jul 2010 23:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=428#comment-10123</guid>
		<description>Is there a plugin for this? It would be really helpful..: )</description>
		<content:encoded><![CDATA[<p>Is there a plugin for this? It would be really helpful..: )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asshu</title>
		<link>http://wpmututorials.com/how-to/return-a-list-of-sites-on-the-network/#comment-10108</link>
		<dc:creator>Asshu</dc:creator>
		<pubDate>Fri, 30 Jul 2010 09:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=428#comment-10108</guid>
		<description>It is very useful for me.</description>
		<content:encoded><![CDATA[<p>It is very useful for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrea</title>
		<link>http://wpmututorials.com/how-to/return-a-list-of-sites-on-the-network/#comment-10027</link>
		<dc:creator>andrea</dc:creator>
		<pubDate>Thu, 22 Jul 2010 21:32:48 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=428#comment-10027</guid>
		<description>Could have a look at this list-all-redux plugin too.
http://wpmututorials.com/plugins/newest-blogs-widget/

this was just an internal function I came across &amp; figured I should write about. :)</description>
		<content:encoded><![CDATA[<p>Could have a look at this list-all-redux plugin too.<br />
<a href="http://wpmututorials.com/plugins/newest-blogs-widget/" rel="nofollow">http://wpmututorials.com/plugins/newest-blogs-widget/</a></p>
<p>this was just an internal function I came across &#038; figured I should write about. <img src='http://wpmututorials.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Bishop</title>
		<link>http://wpmututorials.com/how-to/return-a-list-of-sites-on-the-network/#comment-10026</link>
		<dc:creator>Michael Bishop</dc:creator>
		<pubDate>Thu, 22 Jul 2010 21:10:11 +0000</pubDate>
		<guid isPermaLink="false">http://wpmututorials.com/?p=428#comment-10026</guid>
		<description>Would be nice if that was easily extended to be able to sort the list other than by ID or latest updated.</description>
		<content:encoded><![CDATA[<p>Would be nice if that was easily extended to be able to sort the list other than by ID or latest updated.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

