<?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>Make Money Online with Super Affiliate Rosalind Gardner&#187; site map</title>
	<atom:link href="http://netprofitstoday.com/blog/tag/site-map/feed/" rel="self" type="application/rss+xml" />
	<link>http://netprofitstoday.com/blog</link>
	<description>Author of the best-selling affiliate marketing training book shares free money-making affiliate tips.</description>
	<lastBuildDate>Fri, 18 May 2012 13:03:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Create a Unique Site Map for Your WordPress Blog</title>
		<link>http://netprofitstoday.com/blog/create-a-unique-site-map-for-your-wordpress-blog/</link>
		<comments>http://netprofitstoday.com/blog/create-a-unique-site-map-for-your-wordpress-blog/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 21:30:59 +0000</pubDate>
		<dc:creator>Rosalind Gardner</dc:creator>
				<category><![CDATA[How to Blog / Build a Site]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Design Tips]]></category>
		<category><![CDATA[site map]]></category>
		<category><![CDATA[Wordpress Tutorials]]></category>
		<category><![CDATA[Working with Wordpress]]></category>

		<guid isPermaLink="false">http://www.netprofitstoday.com/blog/?p=5265</guid>
		<description><![CDATA[Daniel recently asked the following question about WordPress blog site maps, and the site map created for use on this blog in particular: I have a question about the NetProfit&#8217;s sitemap, that I see is also being used as a 404 not found page. Was the sitemap created manually or by using some type of [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fnetprofitstoday.com%2Fblog%2Fcreate-a-unique-site-map-for-your-wordpress-blog%2F' data-shr_title='Create+a+Unique+Site+Map+for+Your+Wordpress+Blog'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fnetprofitstoday.com%2Fblog%2Fcreate-a-unique-site-map-for-your-wordpress-blog%2F' data-shr_title='Create+a+Unique+Site+Map+for+Your+Wordpress+Blog'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fnetprofitstoday.com%2Fblog%2Fcreate-a-unique-site-map-for-your-wordpress-blog%2F' data-shr_title='Create+a+Unique+Site+Map+for+Your+Wordpress+Blog'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p><img style="float: right; padding: 0px 0px 10px 10px" src="http://netprofitstoday.com/images/300-map.png" border="0" alt="" />Daniel recently asked the following question about WordPress blog site maps, and the <a href="http://netprofitstoday.com/blog/site-map/" target="_blank">site map</a> created for use on this blog in particular:</p>
<blockquote><p>I have a question about the NetProfit&#8217;s sitemap, that I see is also being used as a 404 not found page. Was the sitemap created manually or by using some type of an automated system or sitemap generator? Cause if I can, I&#8217;d like to create one for my website? Please advise. I&#8217;d appreciate it. Thanks in advance!</p></blockquote>
<p>The site map on this blog was created with some minor manual modifications to the default site map that came with the <a href="http://netprofitstoday.com/go/studiopress" target="_blank">Lifestyle</a> theme, a file named page-archive.php.</p>
<p>The  site map that comes with the default WordPress theme is called the Archive Page Template and the file is named archives.php.</p>
<p>Here is the coding in the default WordPress template.</p>
<blockquote><p>&lt;?php<br />
/**<br />
* @package WordPress<br />
* @subpackage Default_Theme<br />
*/<br />
/*<br />
Template Name: Archives<br />
*/<br />
?&gt;</p>
<p>&lt;?php get_header(); ?&gt;</p>
<p>&lt;div id=&#8221;content&#8221;&gt;</p>
<p>&lt;?php get_search_form(); ?&gt;</p>
<p>&lt;h2&gt;Archives by Month:&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;?php wp_get_archives(&#8216;type=monthly&#8217;); ?&gt;<br />
&lt;/ul&gt;</p>
<p>&lt;h2&gt;Archives by Subject:&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;?php wp_list_categories(); ?&gt;<br />
&lt;/ul&gt;</p>
<p>&lt;/div&gt;</p>
<p>&lt;?php get_footer(); ?&gt;</p></blockquote>
<p>Here is the coding for the current NPT site map, named site-map.php. Coding  will be deciphered later in this post.</p>
<blockquote><p>&lt;?php<br />
/*<br />
<strong>Template Name: Site Map</strong><br />
*/<br />
?&gt;</p>
<p>&lt;?php get_header(); ?&gt;</p>
<p>&lt;div id=&#8221;content&#8221;&gt;</p>
<p>&lt;div id=&#8221;contentleft&#8221;&gt;</p>
<p>&lt;div&gt;</p>
<p>&lt;?php include(TEMPLATEPATH.&#8221;/breadcrumb.php&#8221;);?&gt;<br />
&lt;h1&gt;&lt;img src=&#8221;http://netprofitstoday.com/images/300-map.png&#8221;   style=&#8221;float: right; padding: 0px 0px 10px 10px&#8221;  border=&#8221;0&#8243;&gt;Archives and Site Map&lt;/h1&gt;<br />
&lt;h2&gt;<strong>Main Pages</strong>&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;?php wp_list_pages(&#8216;title_li=&amp;depth=2&amp;exclude=2938,1683&#8242;); ?&gt;<br />
&lt;/ul&gt;<br />
&lt;h2&gt;<strong>Popular Posts</strong>&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;<br />
&lt;?php wp_list_bookmarks(&#8216;title_li=&amp;categorize=0&amp;category=831&#8242;); ?&gt;<br />
&lt;/li&gt;</p>
<p>&lt;/ul&gt;</p>
<p>&lt;hr&gt;<br />
&lt;h2&gt;<strong>Last 25 Posts</strong>&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;?php wp_get_archives(&#8216;type=postbypost&amp;limit=25&#8242;); ?&gt;<br />
&lt;/ul&gt;</p>
<p>&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</p>
<p>&lt;?php include(TEMPLATEPATH.&#8221;/sidebar.php&#8221;);?&gt;</p>
<p>&lt;/div&gt;</p>
<p>&lt;!&#8211; The main column ends  &#8211;&gt;</p>
<p>&lt;?php get_footer(); ?&gt;</p></blockquote>
<h3>Main Pages</h3>
<p>To list all the pages on your blog, you would use the code:</p>
<blockquote>
<pre>&lt;?php wp_list_pages('title_li='); ?&gt;</pre>
</blockquote>
<p>Because I wanted to show subpages (depth) and not show (exclude) others, I used the following code:</p>
<blockquote><p>&lt;?php wp_list_pages(&#8216;title_li=&amp;depth=2&amp;exclude=2938,1683&#8242;);</p></blockquote>
<p>depth=2 specifies that I want the subpages to show 2 levels deep.</p>
<p>For more information about visit the <a href="http://codex.wordpress.org/Template_Tags/wp_list_pages" target="_blank">Template Tags/wp list pages</a> page on the WordPress Codex.</p>
<h3>Popular Posts</h3>
<p>The list of most popular posts is generated by a links (bookmarks) list, all filed under the &#8216;Popular&#8217; category, numbered 831.</p>
<blockquote><p><code>&lt;?php wp_list_bookmarks('title_li=&amp;categorize=0&amp;category=831'); ?&gt;</code></p></blockquote>
<p>For more information about the coding used to display bookmarks, see <a href="http://codex.wordpress.org/wp_list_bookmarks" target="_blank">Template Tags/wp list bookmarks</a> on the Codex.</p>
<h3>Last 25 Posts</h3>
<p>To create a list of the most recent 25 posts, I use the following code.</p>
<blockquote><p>&lt;?php wp_get_archives(&#8216;type=postbypost&amp;limit=25&#8242;); ?&gt;</p></blockquote>
<p>To learn more about coding bookmarks lists visit <a href="http://codex.wordpress.org/Template_Tags/wp_get_archives" target="_blank">Template Tags/wp get archives</a> on the WordPress Codes.</p>
<p>Or, you could always just use a <a href="http://wordpress.org/extend/plugins/google-sitemap-generator/" target="_blank">site map plugin</a>, but you won&#8217;t have the same latitude as you do when you hardcode the template. <img src='http://netprofitstoday.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<div class="shr-publisher-5265"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><img src="http://netprofitstoday.com/blog/?ak_action=api_record_view&id=5265&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://netprofitstoday.com/blog/create-a-unique-site-map-for-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

