<?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>Adam Tootle &#187; Wordpress</title>
	<atom:link href="http://www.adamtootle.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adamtootle.com</link>
	<description>Savannah-based web developer, musician, and Christian</description>
	<lastBuildDate>Wed, 13 Jul 2011 19:26:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Plugin Support</title>
		<link>http://www.adamtootle.com/2011/02/plugin-support/</link>
		<comments>http://www.adamtootle.com/2011/02/plugin-support/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 23:40:25 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.adamtootle.com/?p=188</guid>
		<description><![CDATA[I stay so busy that it gets really difficult to try and answer every email that comes in concerning plugins that I&#8217;ve written. Instead of keeping up with who I have answered and who I haven&#8217;t, I have setup a forum to help keep all questions in one area and hopefully generate a user knowledge-base. [...]]]></description>
			<content:encoded><![CDATA[<p>I stay so busy that it gets really difficult to try and answer every email that comes in concerning plugins that I&#8217;ve written. Instead of keeping up with who I have answered and who I haven&#8217;t, I have <a href="http://www.adamtootle.com/forum">setup a forum </a>to help keep all questions in one area and hopefully generate a user knowledge-base. Please refer any future questions to this area and I will answer as soon as I can.</p>
<p>The forum can be found <a href="http://www.adamtootle.com/forum">here</a>.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.adamtootle.com/2011/02/plugin-support/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Plugin+Support&amp;link=http://www.adamtootle.com/2011/02/plugin-support/&amp;notes=I%20stay%20so%20busy%20that%20it%20gets%20really%20difficult%20to%20try%20and%20answer%20every%20email%20that%20comes%20in%20concerning%20plugins%20that%20I%27ve%20written.%20Instead%20of%20keeping%20up%20with%20who%20I%20have%20answered%20and%20who%20I%20haven%27t%2C%20I%20have%20setup%20a%20forum%20to%20help%20keep%20all%20questions%20in%20one%20area%20and%20hopefully%20generate%20a%20user%20knowledge-base.%20P&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Plugin+Support&amp;link=http://www.adamtootle.com/2011/02/plugin-support/&amp;notes=I%20stay%20so%20busy%20that%20it%20gets%20really%20difficult%20to%20try%20and%20answer%20every%20email%20that%20comes%20in%20concerning%20plugins%20that%20I%27ve%20written.%20Instead%20of%20keeping%20up%20with%20who%20I%20have%20answered%20and%20who%20I%20haven%27t%2C%20I%20have%20setup%20a%20forum%20to%20help%20keep%20all%20questions%20in%20one%20area%20and%20hopefully%20generate%20a%20user%20knowledge-base.%20P&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Plugin+Support&amp;link=http://www.adamtootle.com/2011/02/plugin-support/&amp;notes=I%20stay%20so%20busy%20that%20it%20gets%20really%20difficult%20to%20try%20and%20answer%20every%20email%20that%20comes%20in%20concerning%20plugins%20that%20I%27ve%20written.%20Instead%20of%20keeping%20up%20with%20who%20I%20have%20answered%20and%20who%20I%20haven%27t%2C%20I%20have%20setup%20a%20forum%20to%20help%20keep%20all%20questions%20in%20one%20area%20and%20hopefully%20generate%20a%20user%20knowledge-base.%20P&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Plugin+Support&amp;link=http://www.adamtootle.com/2011/02/plugin-support/&amp;notes=I%20stay%20so%20busy%20that%20it%20gets%20really%20difficult%20to%20try%20and%20answer%20every%20email%20that%20comes%20in%20concerning%20plugins%20that%20I%27ve%20written.%20Instead%20of%20keeping%20up%20with%20who%20I%20have%20answered%20and%20who%20I%20haven%27t%2C%20I%20have%20setup%20a%20forum%20to%20help%20keep%20all%20questions%20in%20one%20area%20and%20hopefully%20generate%20a%20user%20knowledge-base.%20P&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Plugin+Support&amp;link=http://www.adamtootle.com/2011/02/plugin-support/&amp;notes=I%20stay%20so%20busy%20that%20it%20gets%20really%20difficult%20to%20try%20and%20answer%20every%20email%20that%20comes%20in%20concerning%20plugins%20that%20I%27ve%20written.%20Instead%20of%20keeping%20up%20with%20who%20I%20have%20answered%20and%20who%20I%20haven%27t%2C%20I%20have%20setup%20a%20forum%20to%20help%20keep%20all%20questions%20in%20one%20area%20and%20hopefully%20generate%20a%20user%20knowledge-base.%20P&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-gmail">
			<a href="http://www.shareaholic.com/api/share/?title=Plugin+Support&amp;link=http://www.adamtootle.com/2011/02/plugin-support/&amp;notes=I%20stay%20so%20busy%20that%20it%20gets%20really%20difficult%20to%20try%20and%20answer%20every%20email%20that%20comes%20in%20concerning%20plugins%20that%20I%27ve%20written.%20Instead%20of%20keeping%20up%20with%20who%20I%20have%20answered%20and%20who%20I%20haven%27t%2C%20I%20have%20setup%20a%20forum%20to%20help%20keep%20all%20questions%20in%20one%20area%20and%20hopefully%20generate%20a%20user%20knowledge-base.%20P&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=52&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=Plugin+Support&amp;link=http://www.adamtootle.com/2011/02/plugin-support/&amp;notes=I%20stay%20so%20busy%20that%20it%20gets%20really%20difficult%20to%20try%20and%20answer%20every%20email%20that%20comes%20in%20concerning%20plugins%20that%20I%27ve%20written.%20Instead%20of%20keeping%20up%20with%20who%20I%20have%20answered%20and%20who%20I%20haven%27t%2C%20I%20have%20setup%20a%20forum%20to%20help%20keep%20all%20questions%20in%20one%20area%20and%20hopefully%20generate%20a%20user%20knowledge-base.%20P&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.shareaholic.com/api/share/?title=Plugin+Support&amp;link=http%3A%2F%2Fwww.adamtootle.com%2F2011%2F02%2Fplugin-support%2F&amp;notes=I%20stay%20so%20busy%20that%20it%20gets%20really%20difficult%20to%20try%20and%20answer%20every%20email%20that%20comes%20in%20concerning%20plugins%20that%20I%27ve%20written.%20Instead%20of%20keeping%20up%20with%20who%20I%20have%20answered%20and%20who%20I%20haven%27t%2C%20I%20have%20setup%20a%20forum%20to%20help%20keep%20all%20questions%20in%20one%20area%20and%20hopefully%20generate%20a%20user%20knowledge-base.%20P&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=78&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.adamtootle.com/2011/02/plugin-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Archive Index Page (with pagination)</title>
		<link>http://www.adamtootle.com/2010/05/custom-archive-index-page-with-pagination/</link>
		<comments>http://www.adamtootle.com/2010/05/custom-archive-index-page-with-pagination/#comments</comments>
		<pubDate>Thu, 27 May 2010 18:59:05 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.adamtootle.com/?p=69</guid>
		<description><![CDATA[Ok, so here&#8217;s something I had a little trouble with a couple of days ago. I just could not get it to work, although the answer was pretty obvious. I was working on creating a custom archive index page on a site and could not get the template the paginate. Here&#8217;s what i found to [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so here&#8217;s something I had a little trouble with a couple of days ago. I just could not get it to work, although the answer was pretty obvious. I was working on creating a custom archive index page on a site and could not get the template the paginate. Here&#8217;s what i found to the quickest way to do it with query_posts():</p>
<pre class="brush: php; title: ; notranslate">

query_posts('cat=3&amp;amp;paged=' . get_query_var( 'paged' ));

if ( have_posts() ) : while ( have_posts() ) : the_post()

// do your thing here

endwhile;

endif;

wp_reset_query();
</pre>
<p>You have to make sure you pass the paged parameter to query_posts(), using get_query_var(&#8216;page&#8217;). This is all I was forgetting. You could set this to something like &#8217;3&#8242;, which would only display the posts that would normally show on page 3 of your paginated archive. Or you could make it dynamic by using get_query_var( &#8216;paged&#8217; ). This will set it to whatever page you might be on at the time, with the URL containing something like /page/2.</p>
<p>And I always reset the query. Often times I am calling on the post ID in the sidebar, so not resetting the query will mess me up. It&#8217;s a good habit to get into when using query_posts().</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.adamtootle.com/2010/05/custom-archive-index-page-with-pagination/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Custom+Archive+Index+Page+%28with+pagination%29&amp;link=http://www.adamtootle.com/2010/05/custom-archive-index-page-with-pagination/&amp;notes=Ok%2C%20so%20here%27s%20something%20I%20had%20a%20little%20trouble%20with%20a%20couple%20of%20days%20ago.%20I%20just%20could%20not%20get%20it%20to%20work%2C%20although%20the%20answer%20was%20pretty%20obvious.%20I%20was%20working%20on%20creating%20a%20custom%20archive%20index%20page%20on%20a%20site%20and%20could%20not%20get%20the%20template%20the%20paginate.%20Here%27s%20what%20i%20found%20to%20the%20quickest%20way%20to%20d&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Custom+Archive+Index+Page+%28with+pagination%29&amp;link=http://www.adamtootle.com/2010/05/custom-archive-index-page-with-pagination/&amp;notes=Ok%2C%20so%20here%27s%20something%20I%20had%20a%20little%20trouble%20with%20a%20couple%20of%20days%20ago.%20I%20just%20could%20not%20get%20it%20to%20work%2C%20although%20the%20answer%20was%20pretty%20obvious.%20I%20was%20working%20on%20creating%20a%20custom%20archive%20index%20page%20on%20a%20site%20and%20could%20not%20get%20the%20template%20the%20paginate.%20Here%27s%20what%20i%20found%20to%20the%20quickest%20way%20to%20d&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Custom+Archive+Index+Page+%28with+pagination%29&amp;link=http://www.adamtootle.com/2010/05/custom-archive-index-page-with-pagination/&amp;notes=Ok%2C%20so%20here%27s%20something%20I%20had%20a%20little%20trouble%20with%20a%20couple%20of%20days%20ago.%20I%20just%20could%20not%20get%20it%20to%20work%2C%20although%20the%20answer%20was%20pretty%20obvious.%20I%20was%20working%20on%20creating%20a%20custom%20archive%20index%20page%20on%20a%20site%20and%20could%20not%20get%20the%20template%20the%20paginate.%20Here%27s%20what%20i%20found%20to%20the%20quickest%20way%20to%20d&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Custom+Archive+Index+Page+%28with+pagination%29&amp;link=http://www.adamtootle.com/2010/05/custom-archive-index-page-with-pagination/&amp;notes=Ok%2C%20so%20here%27s%20something%20I%20had%20a%20little%20trouble%20with%20a%20couple%20of%20days%20ago.%20I%20just%20could%20not%20get%20it%20to%20work%2C%20although%20the%20answer%20was%20pretty%20obvious.%20I%20was%20working%20on%20creating%20a%20custom%20archive%20index%20page%20on%20a%20site%20and%20could%20not%20get%20the%20template%20the%20paginate.%20Here%27s%20what%20i%20found%20to%20the%20quickest%20way%20to%20d&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Custom+Archive+Index+Page+%28with+pagination%29&amp;link=http://www.adamtootle.com/2010/05/custom-archive-index-page-with-pagination/&amp;notes=Ok%2C%20so%20here%27s%20something%20I%20had%20a%20little%20trouble%20with%20a%20couple%20of%20days%20ago.%20I%20just%20could%20not%20get%20it%20to%20work%2C%20although%20the%20answer%20was%20pretty%20obvious.%20I%20was%20working%20on%20creating%20a%20custom%20archive%20index%20page%20on%20a%20site%20and%20could%20not%20get%20the%20template%20the%20paginate.%20Here%27s%20what%20i%20found%20to%20the%20quickest%20way%20to%20d&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-gmail">
			<a href="http://www.shareaholic.com/api/share/?title=Custom+Archive+Index+Page+%28with+pagination%29&amp;link=http://www.adamtootle.com/2010/05/custom-archive-index-page-with-pagination/&amp;notes=Ok%2C%20so%20here%27s%20something%20I%20had%20a%20little%20trouble%20with%20a%20couple%20of%20days%20ago.%20I%20just%20could%20not%20get%20it%20to%20work%2C%20although%20the%20answer%20was%20pretty%20obvious.%20I%20was%20working%20on%20creating%20a%20custom%20archive%20index%20page%20on%20a%20site%20and%20could%20not%20get%20the%20template%20the%20paginate.%20Here%27s%20what%20i%20found%20to%20the%20quickest%20way%20to%20d&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=52&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=Custom+Archive+Index+Page+%28with+pagination%29&amp;link=http://www.adamtootle.com/2010/05/custom-archive-index-page-with-pagination/&amp;notes=Ok%2C%20so%20here%27s%20something%20I%20had%20a%20little%20trouble%20with%20a%20couple%20of%20days%20ago.%20I%20just%20could%20not%20get%20it%20to%20work%2C%20although%20the%20answer%20was%20pretty%20obvious.%20I%20was%20working%20on%20creating%20a%20custom%20archive%20index%20page%20on%20a%20site%20and%20could%20not%20get%20the%20template%20the%20paginate.%20Here%27s%20what%20i%20found%20to%20the%20quickest%20way%20to%20d&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.shareaholic.com/api/share/?title=Custom+Archive+Index+Page+%28with+pagination%29&amp;link=http%3A%2F%2Fwww.adamtootle.com%2F2010%2F05%2Fcustom-archive-index-page-with-pagination%2F&amp;notes=Ok%2C%20so%20here%27s%20something%20I%20had%20a%20little%20trouble%20with%20a%20couple%20of%20days%20ago.%20I%20just%20could%20not%20get%20it%20to%20work%2C%20although%20the%20answer%20was%20pretty%20obvious.%20I%20was%20working%20on%20creating%20a%20custom%20archive%20index%20page%20on%20a%20site%20and%20could%20not%20get%20the%20template%20the%20paginate.%20Here%27s%20what%20i%20found%20to%20the%20quickest%20way%20to%20d&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=78&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.adamtootle.com/2010/05/custom-archive-index-page-with-pagination/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Few Security Measures with WordPress</title>
		<link>http://www.adamtootle.com/2010/05/a-few-security-measures-with-wordpress/</link>
		<comments>http://www.adamtootle.com/2010/05/a-few-security-measures-with-wordpress/#comments</comments>
		<pubDate>Mon, 03 May 2010 23:47:58 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.adamtootle.com/?p=54</guid>
		<description><![CDATA[Again, trying to get a handle on posting regular on here (yeah this is the 4th post in a few months, I&#8217;m really trying!). Here are a few security mearsures I always take when setting up a new WordPress install. Some of these have come from other people as I have come across them. If [...]]]></description>
			<content:encoded><![CDATA[<p>Again, trying to get a handle on posting regular on here (yeah this is the 4th post in a few months, I&#8217;m really trying!). Here are a few security mearsures I always take when setting up a new WordPress install. Some of these have come from other people as I have come across them. If you see anything here that you&#8217;ve seen somewhere else please don&#8217;t think I&#8217;m trying to steal anyone&#8217;s content, I just have no idea where I read some of this stuff, so I have no idea who to credit. That being said, here we go:</p>
<p>1) Change the default table prefix.</p>
<p style="padding-left: 30px;">I always make it a point to change the default table prefix for the database. Anything other than &#8216;wp_&#8217; helps database security. Although I would not recommend using the full site name, something like that would be too easy to guess.</p>
<p>2) Change the default &#8216;admin&#8217; user.</p>
<p style="padding-left: 30px;">You can&#8217;t do this from the admin section of WordPress, so you&#8217;ll have to edit the database using something like phpMyAdmin. Changing the default username to something not easy to guess also helps prevent any potential security breach.</p>
<p>3) Make sure your /wp-content directory and sub-directories each have an index.php file in them.</p>
<p style="padding-left: 30px;">I know this is a standard feature with WordPress now, but I still come across sites from time to time that don&#8217;t have these files (for whatever reason). But having an index.php (even if it&#8217;s blank) will cause someone trying to access something like you&#8217;re plugins directory to call the index file, thus not revealing the file structure and any plugins you may be using. The 3 directories that really need this are /wp-content, /wp-content/plugins, and /wp-content/themes.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.adamtootle.com/2010/05/a-few-security-measures-with-wordpress/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=A+Few+Security+Measures+with+Wordpress&amp;link=http://www.adamtootle.com/2010/05/a-few-security-measures-with-wordpress/&amp;notes=Again%2C%20trying%20to%20get%20a%20handle%20on%20posting%20regular%20on%20here%20%28yeah%20this%20is%20the%204th%20post%20in%20a%20few%20months%2C%20I%27m%20really%20trying%21%29.%20Here%20are%20a%20few%20security%20mearsures%20I%20always%20take%20when%20setting%20up%20a%20new%20Wordpress%20install.%20Some%20of%20these%20have%20come%20from%20other%20people%20as%20I%20have%20come%20across%20them.%20If%20you%20see%20anything&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=A+Few+Security+Measures+with+Wordpress&amp;link=http://www.adamtootle.com/2010/05/a-few-security-measures-with-wordpress/&amp;notes=Again%2C%20trying%20to%20get%20a%20handle%20on%20posting%20regular%20on%20here%20%28yeah%20this%20is%20the%204th%20post%20in%20a%20few%20months%2C%20I%27m%20really%20trying%21%29.%20Here%20are%20a%20few%20security%20mearsures%20I%20always%20take%20when%20setting%20up%20a%20new%20Wordpress%20install.%20Some%20of%20these%20have%20come%20from%20other%20people%20as%20I%20have%20come%20across%20them.%20If%20you%20see%20anything&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=A+Few+Security+Measures+with+Wordpress&amp;link=http://www.adamtootle.com/2010/05/a-few-security-measures-with-wordpress/&amp;notes=Again%2C%20trying%20to%20get%20a%20handle%20on%20posting%20regular%20on%20here%20%28yeah%20this%20is%20the%204th%20post%20in%20a%20few%20months%2C%20I%27m%20really%20trying%21%29.%20Here%20are%20a%20few%20security%20mearsures%20I%20always%20take%20when%20setting%20up%20a%20new%20Wordpress%20install.%20Some%20of%20these%20have%20come%20from%20other%20people%20as%20I%20have%20come%20across%20them.%20If%20you%20see%20anything&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=A+Few+Security+Measures+with+Wordpress&amp;link=http://www.adamtootle.com/2010/05/a-few-security-measures-with-wordpress/&amp;notes=Again%2C%20trying%20to%20get%20a%20handle%20on%20posting%20regular%20on%20here%20%28yeah%20this%20is%20the%204th%20post%20in%20a%20few%20months%2C%20I%27m%20really%20trying%21%29.%20Here%20are%20a%20few%20security%20mearsures%20I%20always%20take%20when%20setting%20up%20a%20new%20Wordpress%20install.%20Some%20of%20these%20have%20come%20from%20other%20people%20as%20I%20have%20come%20across%20them.%20If%20you%20see%20anything&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=A+Few+Security+Measures+with+Wordpress&amp;link=http://www.adamtootle.com/2010/05/a-few-security-measures-with-wordpress/&amp;notes=Again%2C%20trying%20to%20get%20a%20handle%20on%20posting%20regular%20on%20here%20%28yeah%20this%20is%20the%204th%20post%20in%20a%20few%20months%2C%20I%27m%20really%20trying%21%29.%20Here%20are%20a%20few%20security%20mearsures%20I%20always%20take%20when%20setting%20up%20a%20new%20Wordpress%20install.%20Some%20of%20these%20have%20come%20from%20other%20people%20as%20I%20have%20come%20across%20them.%20If%20you%20see%20anything&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-gmail">
			<a href="http://www.shareaholic.com/api/share/?title=A+Few+Security+Measures+with+Wordpress&amp;link=http://www.adamtootle.com/2010/05/a-few-security-measures-with-wordpress/&amp;notes=Again%2C%20trying%20to%20get%20a%20handle%20on%20posting%20regular%20on%20here%20%28yeah%20this%20is%20the%204th%20post%20in%20a%20few%20months%2C%20I%27m%20really%20trying%21%29.%20Here%20are%20a%20few%20security%20mearsures%20I%20always%20take%20when%20setting%20up%20a%20new%20Wordpress%20install.%20Some%20of%20these%20have%20come%20from%20other%20people%20as%20I%20have%20come%20across%20them.%20If%20you%20see%20anything&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=52&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=A+Few+Security+Measures+with+Wordpress&amp;link=http://www.adamtootle.com/2010/05/a-few-security-measures-with-wordpress/&amp;notes=Again%2C%20trying%20to%20get%20a%20handle%20on%20posting%20regular%20on%20here%20%28yeah%20this%20is%20the%204th%20post%20in%20a%20few%20months%2C%20I%27m%20really%20trying%21%29.%20Here%20are%20a%20few%20security%20mearsures%20I%20always%20take%20when%20setting%20up%20a%20new%20Wordpress%20install.%20Some%20of%20these%20have%20come%20from%20other%20people%20as%20I%20have%20come%20across%20them.%20If%20you%20see%20anything&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.shareaholic.com/api/share/?title=A+Few+Security+Measures+with+Wordpress&amp;link=http%3A%2F%2Fwww.adamtootle.com%2F2010%2F05%2Fa-few-security-measures-with-wordpress%2F&amp;notes=Again%2C%20trying%20to%20get%20a%20handle%20on%20posting%20regular%20on%20here%20%28yeah%20this%20is%20the%204th%20post%20in%20a%20few%20months%2C%20I%27m%20really%20trying%21%29.%20Here%20are%20a%20few%20security%20mearsures%20I%20always%20take%20when%20setting%20up%20a%20new%20Wordpress%20install.%20Some%20of%20these%20have%20come%20from%20other%20people%20as%20I%20have%20come%20across%20them.%20If%20you%20see%20anything&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=78&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.adamtootle.com/2010/05/a-few-security-measures-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple way to setup excerpts on your WordPress index page</title>
		<link>http://www.adamtootle.com/2010/02/simple-way-to-setup-excerpts-on-your-wordpress-index-page/</link>
		<comments>http://www.adamtootle.com/2010/02/simple-way-to-setup-excerpts-on-your-wordpress-index-page/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 23:29:49 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[beginner]]></category>
		<category><![CDATA[excerpt]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.adamtootle.com/?p=27</guid>
		<description><![CDATA[This is something I&#8217;ve had to do several times. I&#8217;m pretty sure there are a few plugins to handle this, but changing one line of code is much better than having to load a whole plugin file and execute it. This is an easy way to setup an auto-excerpt for each post on you WordPress [...]]]></description>
			<content:encoded><![CDATA[<p>This is something I&#8217;ve had to do several times. I&#8217;m pretty sure there are a few plugins to handle this, but changing one line of code is much better than having to load a whole plugin file and execute it. This is an easy way to setup an auto-excerpt for each post on you WordPress index (front page of you blog). This way will take a certain length off the front of your posts and display it. If you look into the index.php file of most themes, somewhere in the file you will find a line of php that calls the WordPress function the_content(). This will display the whole post by default. What I normally do is comment this out (remember, never delete anything!) by adding two backslashes before this particular part, like so:</p>
<pre class="brush: php; title: ; notranslate"> // the_content(); </pre>
<p>The next thing to do is call php&#8217;s native substr() method. This will take a given string and strip out a sub-string, given the starting position and length of the sub-string. I use the WordPress function get_the_content() to return the post&#8217;s content, rather than printing it. This is an example of how I&#8217;m using this method on this site:</p>
<pre class="brush: php; title: ; notranslate"> echo substr(get_the_content(), 0, 160) . &quot;...&quot;; </pre>
<p>This basically takes the first 160 characters of a post (starting at position 0), echoes (or prints) it to the browser, and then adds three continuous periods (&#8230;), just to signal that there is more to the post. This is usually enough to get the first sentence or two. This will help keep the length on your index page down and you don&#8217;t have to remember to write an excerpt for every post. You can see this in use of the front page of this site &#8211; <a href="http://www.adamtootle.com">here</a>.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.adamtootle.com/2010/02/simple-way-to-setup-excerpts-on-your-wordpress-index-page/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Simple+way+to+setup+excerpts+on+your+Wordpress+index+page&amp;link=http://www.adamtootle.com/2010/02/simple-way-to-setup-excerpts-on-your-wordpress-index-page/&amp;notes=This%20is%20something%20I%27ve%20had%20to%20do%20several%20times.%20I%27m%20pretty%20sure%20there%20are%20a%20few%20plugins%20to%20handle%20this%2C%20but%20changing%20one%20line%20of%20code%20is%20much%20better%20than%20having%20to%20load%20a%20whole%20plugin%20file%20and%20execute%20it.%20This%20is%20an%20easy%20way%20to%20setup%20an%20auto-excerpt%20for%20each%20post%20on%20you%20Wordpress%20index%20%28front%20page%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Simple+way+to+setup+excerpts+on+your+Wordpress+index+page&amp;link=http://www.adamtootle.com/2010/02/simple-way-to-setup-excerpts-on-your-wordpress-index-page/&amp;notes=This%20is%20something%20I%27ve%20had%20to%20do%20several%20times.%20I%27m%20pretty%20sure%20there%20are%20a%20few%20plugins%20to%20handle%20this%2C%20but%20changing%20one%20line%20of%20code%20is%20much%20better%20than%20having%20to%20load%20a%20whole%20plugin%20file%20and%20execute%20it.%20This%20is%20an%20easy%20way%20to%20setup%20an%20auto-excerpt%20for%20each%20post%20on%20you%20Wordpress%20index%20%28front%20page%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Simple+way+to+setup+excerpts+on+your+Wordpress+index+page&amp;link=http://www.adamtootle.com/2010/02/simple-way-to-setup-excerpts-on-your-wordpress-index-page/&amp;notes=This%20is%20something%20I%27ve%20had%20to%20do%20several%20times.%20I%27m%20pretty%20sure%20there%20are%20a%20few%20plugins%20to%20handle%20this%2C%20but%20changing%20one%20line%20of%20code%20is%20much%20better%20than%20having%20to%20load%20a%20whole%20plugin%20file%20and%20execute%20it.%20This%20is%20an%20easy%20way%20to%20setup%20an%20auto-excerpt%20for%20each%20post%20on%20you%20Wordpress%20index%20%28front%20page%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Simple+way+to+setup+excerpts+on+your+Wordpress+index+page&amp;link=http://www.adamtootle.com/2010/02/simple-way-to-setup-excerpts-on-your-wordpress-index-page/&amp;notes=This%20is%20something%20I%27ve%20had%20to%20do%20several%20times.%20I%27m%20pretty%20sure%20there%20are%20a%20few%20plugins%20to%20handle%20this%2C%20but%20changing%20one%20line%20of%20code%20is%20much%20better%20than%20having%20to%20load%20a%20whole%20plugin%20file%20and%20execute%20it.%20This%20is%20an%20easy%20way%20to%20setup%20an%20auto-excerpt%20for%20each%20post%20on%20you%20Wordpress%20index%20%28front%20page%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Simple+way+to+setup+excerpts+on+your+Wordpress+index+page&amp;link=http://www.adamtootle.com/2010/02/simple-way-to-setup-excerpts-on-your-wordpress-index-page/&amp;notes=This%20is%20something%20I%27ve%20had%20to%20do%20several%20times.%20I%27m%20pretty%20sure%20there%20are%20a%20few%20plugins%20to%20handle%20this%2C%20but%20changing%20one%20line%20of%20code%20is%20much%20better%20than%20having%20to%20load%20a%20whole%20plugin%20file%20and%20execute%20it.%20This%20is%20an%20easy%20way%20to%20setup%20an%20auto-excerpt%20for%20each%20post%20on%20you%20Wordpress%20index%20%28front%20page%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-gmail">
			<a href="http://www.shareaholic.com/api/share/?title=Simple+way+to+setup+excerpts+on+your+Wordpress+index+page&amp;link=http://www.adamtootle.com/2010/02/simple-way-to-setup-excerpts-on-your-wordpress-index-page/&amp;notes=This%20is%20something%20I%27ve%20had%20to%20do%20several%20times.%20I%27m%20pretty%20sure%20there%20are%20a%20few%20plugins%20to%20handle%20this%2C%20but%20changing%20one%20line%20of%20code%20is%20much%20better%20than%20having%20to%20load%20a%20whole%20plugin%20file%20and%20execute%20it.%20This%20is%20an%20easy%20way%20to%20setup%20an%20auto-excerpt%20for%20each%20post%20on%20you%20Wordpress%20index%20%28front%20page%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=52&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=Simple+way+to+setup+excerpts+on+your+Wordpress+index+page&amp;link=http://www.adamtootle.com/2010/02/simple-way-to-setup-excerpts-on-your-wordpress-index-page/&amp;notes=This%20is%20something%20I%27ve%20had%20to%20do%20several%20times.%20I%27m%20pretty%20sure%20there%20are%20a%20few%20plugins%20to%20handle%20this%2C%20but%20changing%20one%20line%20of%20code%20is%20much%20better%20than%20having%20to%20load%20a%20whole%20plugin%20file%20and%20execute%20it.%20This%20is%20an%20easy%20way%20to%20setup%20an%20auto-excerpt%20for%20each%20post%20on%20you%20Wordpress%20index%20%28front%20page%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.shareaholic.com/api/share/?title=Simple+way+to+setup+excerpts+on+your+Wordpress+index+page&amp;link=http%3A%2F%2Fwww.adamtootle.com%2F2010%2F02%2Fsimple-way-to-setup-excerpts-on-your-wordpress-index-page%2F&amp;notes=This%20is%20something%20I%27ve%20had%20to%20do%20several%20times.%20I%27m%20pretty%20sure%20there%20are%20a%20few%20plugins%20to%20handle%20this%2C%20but%20changing%20one%20line%20of%20code%20is%20much%20better%20than%20having%20to%20load%20a%20whole%20plugin%20file%20and%20execute%20it.%20This%20is%20an%20easy%20way%20to%20setup%20an%20auto-excerpt%20for%20each%20post%20on%20you%20Wordpress%20index%20%28front%20page%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=78&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.adamtootle.com/2010/02/simple-way-to-setup-excerpts-on-your-wordpress-index-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

