<?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>Josh Stauffer&#187; Tech</title>
	<atom:link href="http://www.joshstauffer.com/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joshstauffer.com</link>
	<description>WordPress, Genesis, &#38; Things I Care About</description>
	<lastBuildDate>Sun, 11 Dec 2011 01:08:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Disable Directory Browsing with HostGator</title>
		<link>http://www.joshstauffer.com/disable-directory-browsing-with-hostgator/</link>
		<comments>http://www.joshstauffer.com/disable-directory-browsing-with-hostgator/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 02:59:25 +0000</pubDate>
		<dc:creator>Josh Stauffer</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.joshstauffer.com/?p=578</guid>
		<description><![CDATA[How would you feel if someone could view the contents of all your directories which do not contain an index.html, index.php, or other index file? Personally, I feel like my privacy has been invaded. Time to shed some light. How&#8217;s your setup? Let&#8217;s test. From your browser&#8217;s address bar, navigate to a directory that you [...]


Related posts:<ol><li><a href='http://www.joshstauffer.com/search-for-text-inside-of-php-files-with-vista/' rel='bookmark' title='Permanent Link: Search for Text Inside of PHP Files with Vista'>Search for Text Inside of PHP Files with Vista</a></li>
<li><a href='http://www.joshstauffer.com/godaddy-to-bluehost-to-hostgator/' rel='bookmark' title='Permanent Link: I&#8217;m with <del>GoDaddy</del>, <del>BlueHost</del>, HostGator!'>I&#8217;m with <del>GoDaddy</del>, <del>BlueHost</del>, HostGator!</a></li>
<li><a href='http://www.joshstauffer.com/search-in-file-contents-in-windows/' rel='bookmark' title='Permanent Link: Search in File Contents in Windows'>Search in File Contents in Windows</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.joshstauffer.com%2Fdisable-directory-browsing-with-hostgator%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.joshstauffer.com%2Fdisable-directory-browsing-with-hostgator%2F&amp;source=joshstauffer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft size-thumbnail wp-image-579" title="option-indexes" src="http://www.joshstauffer.com/wp-content/uploads/2011/06/option-indexes-150x150.png" alt="" width="150" height="150" />How would you feel if someone could view the contents of all your directories which do not contain an <code>index.html</code>, <code>index.php</code>, or other index file? Personally, I feel like my privacy has been invaded. Time to shed some light.</p>
<p>How&#8217;s your setup? Let&#8217;s test. From your browser&#8217;s address bar, navigate to a directory that you suspect may not contain an index file (an images folder is usually guilty). For WordPress users, try something like <span style="text-decoration: underline;">http://www.example.com/wp-includes</span>. If you see a list of files, then others can see this too. I don&#8217;t like this. Keep reading.</p>
<p>If you host with HostGator or any other host for that matter, I strongly urge you to disable directory browsing. There are a few ways this can be done. You could edit the <code>.htaccess</code> or <code>httpd.conf</code> files but I feel it&#8217;s easiest to do this in cPanel.</p>
<p>From your cPanel admin, click on `Index Manager`. Select `public_html` from the list of folders, and on the next screen select `No Indexing`, then click save.</p>
<p>Doing this will keep people from seeing a list of files in your directories. Security is good. Be safe.</p>


<p>Related posts:<ol><li><a href='http://www.joshstauffer.com/search-for-text-inside-of-php-files-with-vista/' rel='bookmark' title='Permanent Link: Search for Text Inside of PHP Files with Vista'>Search for Text Inside of PHP Files with Vista</a></li>
<li><a href='http://www.joshstauffer.com/godaddy-to-bluehost-to-hostgator/' rel='bookmark' title='Permanent Link: I&#8217;m with <del>GoDaddy</del>, <del>BlueHost</del>, HostGator!'>I&#8217;m with <del>GoDaddy</del>, <del>BlueHost</del>, HostGator!</a></li>
<li><a href='http://www.joshstauffer.com/search-in-file-contents-in-windows/' rel='bookmark' title='Permanent Link: Search in File Contents in Windows'>Search in File Contents in Windows</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.joshstauffer.com/disable-directory-browsing-with-hostgator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I&#8217;m with GoDaddy, BlueHost, HostGator!</title>
		<link>http://www.joshstauffer.com/godaddy-to-bluehost-to-hostgator/</link>
		<comments>http://www.joshstauffer.com/godaddy-to-bluehost-to-hostgator/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 03:14:02 +0000</pubDate>
		<dc:creator>Josh Stauffer</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.joshstauffer.com/?p=466</guid>
		<description><![CDATA[In roughly six months time, I&#8217;ve managed to switch my web hosting from GoDaddy to BlueHost and have ultimately ended up with HostGator. Here are some thoughts concerning my journey. I hosted my websites with GoDaddy for several years before making my first hosting switch last September. At the time, I was satisfied with GoDaddy&#8217;s [...]


Related posts:<ol><li><a href='http://www.joshstauffer.com/disable-directory-browsing-with-hostgator/' rel='bookmark' title='Permanent Link: Disable Directory Browsing with HostGator'>Disable Directory Browsing with HostGator</a></li>
<li><a href='http://www.joshstauffer.com/wordpress-godaddy-permalinks-and-404s/' rel='bookmark' title='Permanent Link: WordPress, GoDaddy, Permalinks, and 404&#8242;s'>WordPress, GoDaddy, Permalinks, and 404&#8242;s</a></li>
<li><a href='http://www.joshstauffer.com/best-firefox-extensions/' rel='bookmark' title='Permanent Link: Best Firefox Extensions'>Best Firefox Extensions</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.joshstauffer.com%2Fgodaddy-to-bluehost-to-hostgator%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.joshstauffer.com%2Fgodaddy-to-bluehost-to-hostgator%2F&amp;source=joshstauffer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In roughly six months time, I&#8217;ve managed to switch my web hosting from GoDaddy to BlueHost and have ultimately ended up with HostGator. Here are some thoughts concerning my journey.</p>
<p>I hosted my websites with GoDaddy for several years before making my first hosting switch last September. At the time, I was satisfied with GoDaddy&#8217;s hosting control panel (which many don&#8217;t care for) and I thought the history snapshot feature in the file manager was great. Plus the fact that they would prorate some of their services made them the best fit for me. I can honestly say I was satisfied with my GoDaddy shared hosting account. Then I started having some load issues and the most frustrating thing to me was that others I knew that were on the same plan didn&#8217;t experience the same problems I faced. Without getting into too much detail, I began looking for my next web host.</p>
<p>After reading numerous reviews and considering the <a href="http://wordpress.org/hosting/">WordPress Web Hosting</a> recommendations, I decided to make a move to BlueHost. This was one of those changes that made me question why I didn&#8217;t make a move sooner. My sites seemed to load quicker, cPanel became my new best friend, and the support was better than expected (live chat makes a difference). Everything was great until my sites started going down almost daily. Had my move from GoDaddy to BlueHost proved not to be a step in the right direction, I probably wouldn&#8217;t have abandoned ship so quickly.</p>
<p>I figured I&#8217;d give HostGator a shot since they seem to have pretty good reviews and they came highly recommended by a few people I know. The move was very simple especially with the cPanel experience I picked up as a BlueHost customer. I pay a little more per month so hopefully &#8220;you get what you pay for.&#8221; Before I made the move from BlueHost, I ran some performance tests. I planned on comparing the results against HostGator but there wasn&#8217;t much difference in the statistical results. However, it is my perception that my sites load much quicker than they ever have before which I am very pleased about.</p>
<p>In conclusion, I&#8217;d have to admit that each web host has their pro&#8217;s and con&#8217;s (even GoDaddy). When deciding who to go with, you should compare your needs with what each company offers, read plenty of reviews (avoid affiliate review sites), and ask for the opinions of people you trust. There&#8217;s one tip I&#8217;ll leave with you that proved to be very helpful to me. Get real-time feedback by searching Twitter. For instance, you could search phrases like &#8220;<a href="http://twitter.com/#!/search/bluehost%20down">bluehost down</a>&#8220;, &#8220;<a href="http://twitter.com/#!/search/godaddy%20down">godaddy down</a>&#8220;, &#8220;<a href="http://twitter.com/#!/search/hostgator%20down">hostgator down</a>&#8220;, etc. Try it!</p>


<p>Related posts:<ol><li><a href='http://www.joshstauffer.com/disable-directory-browsing-with-hostgator/' rel='bookmark' title='Permanent Link: Disable Directory Browsing with HostGator'>Disable Directory Browsing with HostGator</a></li>
<li><a href='http://www.joshstauffer.com/wordpress-godaddy-permalinks-and-404s/' rel='bookmark' title='Permanent Link: WordPress, GoDaddy, Permalinks, and 404&#8242;s'>WordPress, GoDaddy, Permalinks, and 404&#8242;s</a></li>
<li><a href='http://www.joshstauffer.com/best-firefox-extensions/' rel='bookmark' title='Permanent Link: Best Firefox Extensions'>Best Firefox Extensions</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.joshstauffer.com/godaddy-to-bluehost-to-hostgator/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Time Flies: Track When You Last Did Something</title>
		<link>http://www.joshstauffer.com/time-flies-track-when-you-last-did-something/</link>
		<comments>http://www.joshstauffer.com/time-flies-track-when-you-last-did-something/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 04:18:48 +0000</pubDate>
		<dc:creator>Josh Stauffer</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mobile Apps]]></category>
		<category><![CDATA[Productivity]]></category>

		<guid isPermaLink="false">http://www.joshstauffer.com/?p=382</guid>
		<description><![CDATA[Time Flies is a iPhone app used to keep track of how long it has been since you did something. Use it to keep track of the things you need to remember, the things you do too often, and all those things that you just don’t do often enough. I just installed this app and [...]


Related posts:<ol><li><a href='http://www.joshstauffer.com/track-404s-with-google-analytics/' rel='bookmark' title='Permanent Link: Simple Way to Track 404 Error Pages with Google Analytics'>Simple Way to Track 404 Error Pages with Google Analytics</a></li>
<li><a href='http://www.joshstauffer.com/browser-renderings/' rel='bookmark' title='Permanent Link: Browser Renderings'>Browser Renderings</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.joshstauffer.com%2Ftime-flies-track-when-you-last-did-something%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.joshstauffer.com%2Ftime-flies-track-when-you-last-did-something%2F&amp;source=joshstauffer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignnone size-full wp-image-383" title="time-flies-app" src="http://www.joshstauffer.com/wp-content/uploads/2010/11/time-flies-app.jpg" alt="Time Flies iPhone App" width="384" height="754" /></p>
<p>Time Flies is a iPhone app used to keep track of how long it has been since you did something. Use it to keep track of the things you need to remember, the things you do too often, and all those things that you just don’t do often enough.</p>
<p>I just installed this app and I know it is going to be incredibly useful.</p>
<p>Find out more from the <a href="http://timeflies.absentdesign.com/" target="_blank">developer&#8217;s website</a> or the <a href="http://itunes.apple.com/us/app/time-flies/id401464766?mt=8" target="_blank">App Store</a>.</p>


<p>Related posts:<ol><li><a href='http://www.joshstauffer.com/track-404s-with-google-analytics/' rel='bookmark' title='Permanent Link: Simple Way to Track 404 Error Pages with Google Analytics'>Simple Way to Track 404 Error Pages with Google Analytics</a></li>
<li><a href='http://www.joshstauffer.com/browser-renderings/' rel='bookmark' title='Permanent Link: Browser Renderings'>Browser Renderings</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.joshstauffer.com/time-flies-track-when-you-last-did-something/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ternary Operators Anyone?</title>
		<link>http://www.joshstauffer.com/ternary-operators-anyone/</link>
		<comments>http://www.joshstauffer.com/ternary-operators-anyone/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 00:51:43 +0000</pubDate>
		<dc:creator>Josh Stauffer</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.joshstauffer.com/?p=378</guid>
		<description><![CDATA[While reading through the WordPress Coding Standards, I read some good advice to follow when using ternary operators. To keep things from getting confusing when using ternary operators, always have the statements test for true instead of false. // (if statement is true) ? (do this) : (if false, do this); $basketballteam = ( 'lakers' [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.joshstauffer.com%2Fternary-operators-anyone%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.joshstauffer.com%2Fternary-operators-anyone%2F&amp;source=joshstauffer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>While reading through the <a href="http://codex.wordpress.org/WordPress_Coding_Standards" target="_blank">WordPress Coding Standards</a>, I read some good advice to follow when using <a title="Ternary Operations" href="http://en.wikipedia.org/wiki/Ternary_operation" target="_blank">ternary</a> operators.</p>
<p>To keep things from getting confusing when using ternary operators, always have the statements test for true instead of false.</p>
<pre><code>// (if statement is true) ? (do this) : (if false, do this);
$basketballteam = ( 'lakers' == $team ) ? 'champions' : 'blah';</code></pre>
<p>In the example above, you&#8217;ll notice that the variable is on the right side of the comparison. This way, if an equal sign is omitted, a parse error will be thrown and execution will halt. If you can save one bug, do it. <img src='http://www.joshstauffer.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshstauffer.com/ternary-operators-anyone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple Way to Track 404 Error Pages with Google Analytics</title>
		<link>http://www.joshstauffer.com/track-404s-with-google-analytics/</link>
		<comments>http://www.joshstauffer.com/track-404s-with-google-analytics/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 01:11:41 +0000</pubDate>
		<dc:creator>Josh Stauffer</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.joshstauffer.com/?p=135</guid>
		<description><![CDATA[Sometimes visitors to your site may receive a 404 Error or &#8220;Page Not Found&#8221;. This may happen when they click on a link that no longer exists or perhaps they typed the address incorrectly. If it&#8217;s a business website, a 404 Page Not Found could mean lost money but no matter the type of site, [...]


Related posts:<ol><li><a href='http://www.joshstauffer.com/how-to-install-google-analytics-on-wordpress/' rel='bookmark' title='Permanent Link: How to Install Google Analytics on WordPress'>How to Install Google Analytics on WordPress</a></li>
<li><a href='http://www.joshstauffer.com/wordpress-godaddy-permalinks-and-404s/' rel='bookmark' title='Permanent Link: WordPress, GoDaddy, Permalinks, and 404&#8242;s'>WordPress, GoDaddy, Permalinks, and 404&#8242;s</a></li>
<li><a href='http://www.joshstauffer.com/ways-to-use-document-write/' rel='bookmark' title='Permanent Link: JavaScript: 3 Ways to Use document.write'>JavaScript: 3 Ways to Use document.write</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.joshstauffer.com%2Ftrack-404s-with-google-analytics%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.joshstauffer.com%2Ftrack-404s-with-google-analytics%2F&amp;source=joshstauffer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Sometimes visitors to your site may receive a 404 Error or &#8220;Page Not Found&#8221;. This may happen when they click on a link that no longer exists or perhaps they typed the address incorrectly. If it&#8217;s a business website, a 404 Page Not Found could mean lost money but no matter the type of site, visitors hate 404 Errors. Unfortunately, they will typically leave your site instead of try to find the page they were intending to see.</p>
<p>With this understanding, tracking 404 Error Pages and correcting those errors is good practice and should help keep your visitors happy. Best of all, there&#8217;s a simple way to setup Google Analytics to <a href="http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=86927" target="_blank">track</a> those pesky 404s for us.</p>
<p>Since I&#8217;m a WordPress lover, the code below is specifically meant for WordPress websites although the code can be easily modified for any website platform you use.</p>
<h2>Here&#8217;s the code to use</h2>
<pre><code>&lt;script type=&quot;text/javascript&quot;&gt;

	var _gaq = _gaq || [];
	_gaq.push([&#39;_setAccount&#39;, &#39;UA-XXXXXXX-X&#39;]);
	&lt;?php if ( is_404() ) { ?&gt;
	_gaq.push([&#39;_trackPageview&#39;, &#39;/404.html?page=&#39; + document.location.pathname + document.location.search + &#39;&amp;from=&#39; + document.referrer]);
	&lt;?php } else { ?&gt;
	_gaq.push([&#39;_trackPageview&#39;]);
	&lt;?php } ?&gt;

	(function() {
		var ga = document.createElement(&#39;script&#39;); ga.type = &#39;text/javascript&#39;; ga.async = true;
		ga.src = (&#39;https:&#39; == document.location.protocol ? &#39;https://ssl&#39; : &#39;http://www&#39;) + &#39;.google-analytics.com/ga.js&#39;;
		var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(ga, s);
	})();

&lt;/script&gt;</code></pre>
<p>Be sure to replace <tt>UA-XXXXXXX-X</tt> with your Analytics Web Property ID.</p>
<p>Basically what&#8217;s happening above is we use the WordPress <a href="http://codex.wordpress.org/Function_Reference/is_404" target="_blank"><tt>is_404()</tt></a> conditional tag to check if there&#8217;s a 404 error. If an 404 Page Not Found error occurs, this code is output:</p>
<pre><code>_gaq.push([&#39;_trackPageview&#39;, &#39;/404.html?page=&#39; + document.location.pathname + document.location.search + &#39;&amp;from=&#39; + document.referrer]);</code></pre>
<p>And for all other pages, this code is output:</p>
<pre><code>_gaq.push([&#39;_trackPageview&#39;]);</code></pre>
<p>And it&#8217;s really as simple as that. <img src='http://www.joshstauffer.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://www.joshstauffer.com/how-to-install-google-analytics-on-wordpress/' rel='bookmark' title='Permanent Link: How to Install Google Analytics on WordPress'>How to Install Google Analytics on WordPress</a></li>
<li><a href='http://www.joshstauffer.com/wordpress-godaddy-permalinks-and-404s/' rel='bookmark' title='Permanent Link: WordPress, GoDaddy, Permalinks, and 404&#8242;s'>WordPress, GoDaddy, Permalinks, and 404&#8242;s</a></li>
<li><a href='http://www.joshstauffer.com/ways-to-use-document-write/' rel='bookmark' title='Permanent Link: JavaScript: 3 Ways to Use document.write'>JavaScript: 3 Ways to Use document.write</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.joshstauffer.com/track-404s-with-google-analytics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search in File Contents in Windows</title>
		<link>http://www.joshstauffer.com/search-in-file-contents-in-windows/</link>
		<comments>http://www.joshstauffer.com/search-in-file-contents-in-windows/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 04:30:35 +0000</pubDate>
		<dc:creator>Josh Stauffer</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.joshstauffer.com/?p=342</guid>
		<description><![CDATA[Problem By default, Windows will not search the contents of certain file types. This makes it very frustrating for anyone trying to locate the occurrence of words or phrases within a group of files. A Few Details First off, I am running Windows 7 and since I am a PHP developer, the solutions I provide [...]


Related posts:<ol><li><a href='http://www.joshstauffer.com/search-for-text-inside-of-php-files-with-vista/' rel='bookmark' title='Permanent Link: Search for Text Inside of PHP Files with Vista'>Search for Text Inside of PHP Files with Vista</a></li>
<li><a href='http://www.joshstauffer.com/open-links-in-new-windows/' rel='bookmark' title='Permanent Link: Open Links in New Windows'>Open Links in New Windows</a></li>
<li><a href='http://www.joshstauffer.com/see-websites-search-engine-result-for-a-specific-keyword/' rel='bookmark' title='Permanent Link: See Website&#8217;s Search Engine Result for a Specific Keyword'>See Website&#8217;s Search Engine Result for a Specific Keyword</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.joshstauffer.com%2Fsearch-in-file-contents-in-windows%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.joshstauffer.com%2Fsearch-in-file-contents-in-windows%2F&amp;source=joshstauffer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<h2>Problem</h2>
<p>By default, Windows will not search the contents of certain file types. This makes it very frustrating for anyone trying to locate the occurrence of words or phrases within a group of files.</p>
<h2>A Few Details</h2>
<p>First off, I am running Windows 7 and since I am a PHP developer, the solutions I provide will allow you to search the file contents of PHP files. However, this should work for other file types that Windows has trouble searching within.</p>
<p>A while back, I solved this problem and was able to <a href="http://www.joshstauffer.com/search-for-text-inside-of-php-files-with-vista/">search for text inside of PHP files</a> but that was when I had Windows Search Indexing enabled.</p>
<p>Now, I&#8217;ve installed a fresh copy of Windows 7 and disabled Search Indexing in hopes of improving my system&#8217;s performance. To get this to work it requires you make a few minor changes to the Registry but please use caution when doing so. Incorrect changes to the Registry can cripple Windows.</p>
<h2>Solution</h2>
<ol>
<li>Press &#8216;WinKey + R&#8217; and type regedit then hit &#8216;Enter&#8217;.</li>
<li>Expand the &#8216;HKEY_CLASSES_ROOT&#8217; list and scroll down until you see &#8216;.php&#8217;.</li>
<li>Right click on &#8216;.php&#8217; and select New &gt;Key.</li>
<li>Rename the newly created key &#8216;PersistentHandler&#8217;.</li>
<li>With the &#8216;PersistentHandler&#8217; key selected, set the value of (Default) to<br />
&#8216;<code>{5E941D80-BF96-11CD-B579-08002B30BFEB}</code>&#8216; without the single quotes.</li>
<li>Exit out of the Registry.</li>
<li>Restart your computer.</li>
</ol>
<p>The end result will look something like this&#8230;</p>
<div id="attachment_343" class="wp-caption aligncenter" style="width: 610px"><img class="size-full wp-image-343" title="search-in-file-contents" src="http://www.joshstauffer.com/wp-content/uploads/2010/10/search-in-file-contents.gif" alt="" width="600" height="200" /><p class="wp-caption-text">Search in File Contents</p></div>
<p style="text-align: center;">


<p>Related posts:<ol><li><a href='http://www.joshstauffer.com/search-for-text-inside-of-php-files-with-vista/' rel='bookmark' title='Permanent Link: Search for Text Inside of PHP Files with Vista'>Search for Text Inside of PHP Files with Vista</a></li>
<li><a href='http://www.joshstauffer.com/open-links-in-new-windows/' rel='bookmark' title='Permanent Link: Open Links in New Windows'>Open Links in New Windows</a></li>
<li><a href='http://www.joshstauffer.com/see-websites-search-engine-result-for-a-specific-keyword/' rel='bookmark' title='Permanent Link: See Website&#8217;s Search Engine Result for a Specific Keyword'>See Website&#8217;s Search Engine Result for a Specific Keyword</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.joshstauffer.com/search-in-file-contents-in-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Best WordPress Real Estate Themes</title>
		<link>http://www.joshstauffer.com/best-wordpress-real-estate-themes/</link>
		<comments>http://www.joshstauffer.com/best-wordpress-real-estate-themes/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 19:28:39 +0000</pubDate>
		<dc:creator>Josh Stauffer</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Real Estate]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[WordPress Themes]]></category>

		<guid isPermaLink="false">http://www.joshstauffer.com/?p=199</guid>
		<description><![CDATA[If you&#8217;re looking for the best WordPress real estate themes then you&#8217;ll be glad you found this collection of the themes I put together. You may be wanting more of a corporate real estate site or even your very own personal site that lists the real estate properties that you deal with. Either way, in [...]


Related posts:<ol><li><a href='http://www.joshstauffer.com/build-your-own-wicked-wordpress-themes-review/' rel='bookmark' title='Permanent Link: Build Your Own Wicked WordPress Themes &#8211; Review'>Build Your Own Wicked WordPress Themes &#8211; Review</a></li>
<li><a href='http://www.joshstauffer.com/free-genesis-child-themes/' rel='bookmark' title='Permanent Link: Free Genesis Child Themes'>Free Genesis Child Themes</a></li>
<li><a href='http://www.joshstauffer.com/i-created-a-wordpress-theme/' rel='bookmark' title='Permanent Link: I Created a WordPress Theme'>I Created a WordPress Theme</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.joshstauffer.com%2Fbest-wordpress-real-estate-themes%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.joshstauffer.com%2Fbest-wordpress-real-estate-themes%2F&amp;source=joshstauffer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img style="float: left; margin: 0 15px 10px 0;" src="http://www.joshstauffer.com/images/best-real-estate-themes-pic.jpg" alt="Real Estate WordPress Themes" width="160" height="120" />If you&#8217;re looking for the <strong>best WordPress real estate themes</strong> then you&#8217;ll be glad you found this collection of the themes I put together. You may be wanting more of a corporate real estate site or even your very own personal site that lists the real estate properties that you deal with. Either way, in the list below you&#8217;ll find real estate WordPress themes that satisfy both desires.</p>
<p>Practically ALL of these real estate themes have different color options to choose from, lifetime support &amp; upgrades, are search engine optimized, and are extremely affordable. These reasons alone will help differentiate yourself or company and allow you to <strong>rise above the competition</strong>. But don&#8217;t take my word for it, see for yourself!</p>
<h2>Main Street Theme</h2>
<p><a title="Main Street Real Estate Theme" rel="nofollow" href="http://www.joshstauffer.com/go/main-street-theme.php" target="_blank"><img class="themeclip" title="Main Street Real Estate WordPress Theme" src="http://www.joshstauffer.com/images/gorillathemes-main-street-small.jpg" alt="Main Street Theme" width="560" height="200" /></a></p>
<p><strong>Main Street Real Estate Theme</strong> by <a rel="nofollow" href="http://www.joshstauffer.com/go/gorilla-themes.php" target="_blank"><strong>Gorilla Themes</strong></a></p>
<p><strong>Price:</strong> $79.95</p>
<p><a rel="nofollow" href="http://www.joshstauffer.com/go/main-street-theme.php" target="_blank"><strong>Demo &amp; Information</strong></a> | <a rel="nofollow" href="http://www.joshstauffer.com/go/main-street-theme.php" target="_blank"><strong>Download</strong></a> | <a class="fancybox" href="http://www.joshstauffer.com/images/gorillathemes-main-street.jpg"><strong>Preview Theme</strong></a></p>
<h2>AgentPress Theme</h2>
<p><a title="AgentPress Real Estate Theme" rel="nofollow" href="http://www.joshstauffer.com/go/agentpress-theme.php" target="_blank"><img class="themeclip" title="AgentPress Real Estate WordPress Theme" src="http://www.joshstauffer.com/images/agentpress-studiopress-small.jpg" alt="AgentPress Theme" width="560" height="200" /></a></p>
<p><strong>AgentPress Real Estate Theme</strong> by <a rel="nofollow" href="/go/studiopress/" target="_blank"><strong>StudioPress</strong></a></p>
<p><strong>Price:</strong> $99.95</p>
<p><a rel="nofollow" href="http://www.joshstauffer.com/go/agentpress-theme.php" target="_blank"><strong>Demo &amp; Information</strong></a> | <a rel="nofollow" href="http://www.joshstauffer.com/go/agentpress-theme.php" target="_blank"><strong>Download</strong></a> | <a class="fancybox" href="http://www.joshstauffer.com/images/agentpress-studiopress.jpg"><strong>Preview Theme</strong></a></p>
<h2>Broker Theme</h2>
<p><a title="Broker Real Estate Theme" rel="nofollow" href="http://www.joshstauffer.com/go/broker-theme.php" target="_blank"><img class="themeclip" title="Broker Real Estate WordPress Theme" src="http://www.joshstauffer.com/images/broker-gorilla-themes-small.jpg" alt="Broker Theme" width="560" height="200" /></a></p>
<p><strong>Broker Real Estate Theme</strong> by <a rel="nofollow" href="http://www.joshstauffer.com/go/gorilla-themes.php" target="_blank"><strong>Gorilla Themes</strong></a></p>
<p><strong>Price:</strong> $79.95</p>
<p><a rel="nofollow" href="http://www.joshstauffer.com/go/broker-theme.php" target="_blank"><strong>Demo &amp; Information</strong></a> | <a rel="nofollow" href="http://www.joshstauffer.com/go/broker-theme.php" target="_blank"><strong>Download</strong></a> | <a class="fancybox" href="http://www.joshstauffer.com/images/broker-gorilla-themes.jpg"><strong>Preview Theme</strong></a></p>
<h2>Bel Air Theme</h2>
<p><a title="Bel Air Real Estate Theme" rel="nofollow" href="http://www.joshstauffer.com/go/bel-air-theme.php" target="_blank"><img class="themeclip" title="Bel Air Real Estate WordPress Theme" src="http://www.joshstauffer.com/images/bel-air-gorilla-themes-small.jpg" alt="Bel Air Theme" width="560" height="200" /></a></p>
<p><strong>Bel Air Real Estate Theme</strong> by <a rel="nofollow" href="http://www.joshstauffer.com/go/gorilla-themes.php" target="_blank"><strong>Gorilla Themes</strong></a></p>
<p><strong>Price:</strong> $79.95</p>
<p><a rel="nofollow" href="http://www.joshstauffer.com/go/bel-air-theme.php" target="_blank"><strong>Demo &amp; Information</strong></a> | <a rel="nofollow" href="http://www.joshstauffer.com/go/bel-air-theme.php" target="_blank"><strong>Download</strong></a> | <a class="fancybox" href="http://www.joshstauffer.com/images/bel-air-gorilla-themes.jpg"><strong>Preview Theme</strong></a></p>
<h2>deCasa Theme</h2>
<p><a title="deCasa Real Estate Theme" rel="nofollow" href="http://www.joshstauffer.com/go/decasa-theme.php" target="_blank"><img class="themeclip" title="deCasa Real Estate WordPress Theme" src="http://www.joshstauffer.com/images/decasa-themeshift-small.jpg" alt="deCasa Theme" width="560" height="200" /></a></p>
<p><strong>deCasa Real Estate Theme</strong> by <a rel="nofollow" href="http://www.joshstauffer.com/go/themeshift.php" target="_blank"><strong>ThemeShift</strong></a></p>
<p><strong>Price:</strong> €39</p>
<p><a rel="nofollow" href="http://www.joshstauffer.com/go/decasa-theme.php" target="_blank"><strong>Demo &amp; Information</strong></a> | <a rel="nofollow" href="http://www.joshstauffer.com/go/decasa-theme.php" target="_blank"><strong>Download</strong></a> | <a class="fancybox" href="http://www.joshstauffer.com/images/decasa-themeshift.jpg"><strong>Preview Theme</strong></a></p>
<h2>Homeowner Theme</h2>
<p><a title="Homeowner Real Estate Theme" rel="nofollow" href="http://www.joshstauffer.com/go/homeowner-theme.php" target="_blank"><img class="themeclip" title="Homeowner Real Estate WordPress Theme" src="http://www.joshstauffer.com/images/homeowner-gorilla-themes-small.jpg" alt="Homeowner Theme" width="560" height="200" /></a></p>
<p><strong>Homeowner Real Estate Theme</strong> by <a rel="nofollow" href="http://www.joshstauffer.com/go/gorilla-themes.php" target="_blank"><strong>Gorilla Themes</strong></a></p>
<p><strong>Price:</strong> $79.95</p>
<p><a rel="nofollow" href="http://www.joshstauffer.com/go/homeowner-theme.php" target="_blank"><strong>Demo &amp; Information</strong></a> | <a rel="nofollow" href="http://www.joshstauffer.com/go/homeowner-theme.php" target="_blank"><strong>Download</strong></a> | <a class="fancybox" href="http://www.joshstauffer.com/images/homeowner-gorilla-themes.jpg"><strong>Preview Theme</strong></a></p>
<h2>Open House Theme</h2>
<p><a title="Open House Real Estate Theme" rel="nofollow" href="http://www.joshstauffer.com/go/open-house-theme.php" target="_blank"><img class="themeclip" title="Open House Real Estate WordPress Theme" src="http://www.joshstauffer.com/images/open-house-gorilla-themes-small.jpg" alt="Open House Theme" width="560" height="200" /></a></p>
<p><strong>Open House Real Estate Theme</strong> by <a rel="nofollow" href="http://www.joshstauffer.com/go/gorilla-themes.php" target="_blank"><strong>Gorilla Themes</strong></a></p>
<p><strong>Price:</strong> $79.95</p>
<p><a rel="nofollow" href="http://www.joshstauffer.com/go/open-house-theme.php" target="_blank"><strong>Demo &amp; Information</strong></a> | <a rel="nofollow" href="http://www.joshstauffer.com/go/open-house-theme.php" target="_blank"><strong>Download</strong></a> | <a class="fancybox" href="http://www.joshstauffer.com/images/open-house-gorilla-themes.jpg"><strong>Preview Theme</strong></a></p>
<h2>Real Estate Theme</h2>
<p><a title="Real Estate Theme" rel="nofollow" href="http://www.joshstauffer.com/go/real-estate-theme-tf17730.php" target="_blank"><img class="themeclip" title="Real Estate WordPress Theme" src="http://www.joshstauffer.com/images/real-estate-theme-themeforest-17730-small.jpg" alt="Real Estate Theme" width="560" height="200" /></a></p>
<p><strong>Real Estate Theme</strong> by <a rel="nofollow" href="http://www.joshstauffer.com/go/themeforest.php" target="_blank"><strong>ThemeForest</strong></a></p>
<p><strong>Price:</strong> $35</p>
<p><a rel="nofollow" href="http://www.joshstauffer.com/go/real-estate-theme-tf17730-demo.php" target="_blank"><strong>Demo &amp; Information</strong></a> | <a rel="nofollow" href="http://www.joshstauffer.com/go/real-estate-theme-tf17730.php" target="_blank"><strong>Download</strong></a> | <a class="fancybox" href="http://www.joshstauffer.com/images/real-estate-theme-themeforest-17730.jpg"><strong>Preview Theme</strong></a></p>
<h2>Real Estate Theme</h2>
<p><a title="Real Estate Theme" rel="nofollow" href="http://www.joshstauffer.com/go/real-estate-theme-tf59729.php" target="_blank"><img class="themeclip" title="Real Estate WordPress Theme" src="http://www.joshstauffer.com/images/real-estate-theme-themeforest-59729-small.jpg" alt="Real Estate Theme" width="560" height="200" /></a></p>
<p><strong>Real Estate Theme</strong> by <a rel="nofollow" href="http://www.joshstauffer.com/go/themeforest.php" target="_blank"><strong>ThemeForest</strong></a></p>
<p><strong>Price:</strong> $25</p>
<p><a rel="nofollow" href="http://www.joshstauffer.com/go/real-estate-theme-tf59729-demo.php" target="_blank"><strong>Demo &amp; Information</strong></a> | <a rel="nofollow" href="http://www.joshstauffer.com/go/real-estate-theme-tf59729.php" target="_blank"><strong>Download</strong></a> | <a class="fancybox" href="http://www.joshstauffer.com/images/real-estate-theme-themeforest-59729.jpg"><strong>Preview Theme</strong></a></p>
<h2>Realist Theme</h2>
<p><a title="Realist Real Estate Theme" rel="nofollow" href="http://www.joshstauffer.com/go/realist-theme.php" target="_blank"><img class="themeclip" title="Realist Real Estate WordPress Theme" src="http://www.joshstauffer.com/images/realist-themeforest-63073-small.jpg" alt="Realist Theme" width="560" height="200" /></a></p>
<p><strong>Realist Real Estate Theme</strong> by <a rel="nofollow" href="http://www.joshstauffer.com/go/themeforest.php" target="_blank"><strong>ThemeForest</strong></a></p>
<p><strong>Price:</strong> $25</p>
<p><a rel="nofollow" href="http://www.joshstauffer.com/go/realist-theme-demo.php" target="_blank"><strong>Demo &amp; Information</strong></a> | <a rel="nofollow" href="http://www.joshstauffer.com/go/realist-theme.php" target="_blank"><strong>Download</strong></a> | <a class="fancybox" href="http://www.joshstauffer.com/images/realist-themeforest-63073.jpg"><strong>Preview Theme</strong></a></p>
<h2>Smooth Theme</h2>
<p><a title="Smooth Real Estate Theme" rel="nofollow" href="http://www.joshstauffer.com/go/smooth-real-estate-theme.php" target="_blank"><img class="themeclip" title="Smooth Real Estate WordPress Theme" src="http://www.joshstauffer.com/images/smooth-gorilla-themes-small.jpg" alt="Smooth Theme" width="560" height="200" /></a></p>
<p><strong>Smooth Real Estate Theme</strong> by <a rel="nofollow" href="http://www.joshstauffer.com/go/gorilla-themes.php" target="_blank"><strong>Gorilla Themes</strong></a></p>
<p><strong>Price:</strong> $79.95</p>
<p><a rel="nofollow" href="http://www.joshstauffer.com/go/smooth-real-estate-theme.php" target="_blank"><strong>Demo &amp; Information</strong></a> | <a rel="nofollow" href="http://www.joshstauffer.com/go/smooth-real-estate-theme.php" target="_blank"><strong>Download</strong></a> | <a class="fancybox" href="http://www.joshstauffer.com/images/smooth-gorilla-themes.jpg"><strong>Preview Theme</strong></a></p>
<h2>Villa Grande Theme</h2>
<p><a title="Villa Grande Real Estate Theme" rel="nofollow" href="http://www.joshstauffer.com/go/villa-grande-theme.php" target="_blank"><img class="themeclip" title="Villa Grande Real Estate WordPress Theme" src="http://www.joshstauffer.com/images/villa-grande-themeforest-53688-small.jpg" alt="Villa Grande Theme" width="560" height="200" /></a></p>
<p><strong>Villa Grande Real Estate Theme</strong> by <a rel="nofollow" href="http://www.joshstauffer.com/go/themeforest.php" target="_blank"><strong>ThemeForest</strong></a></p>
<p><strong>Price:</strong> $30</p>
<p><a rel="nofollow" href="http://www.joshstauffer.com/go/villa-grande-theme-demo.php" target="_blank"><strong>Demo &amp; Information</strong></a> | <a rel="nofollow" href="http://www.joshstauffer.com/go/villa-grande-theme.php" target="_blank"><strong>Download</strong></a> | <a class="fancybox" href="http://www.joshstauffer.com/images/villa-grande-themeforest-53688.jpg"><strong>Preview Theme</strong></a></p>
<h2>WP Pro Real Estate Theme</h2>
<p><a title="WP Pro Real Estate Theme" rel="nofollow" href="http://www.joshstauffer.com/go/wp-pro-real-estate-theme.php" target="_blank"><img class="themeclip" title="WP Pro Real Estate WordPress Theme" src="http://www.joshstauffer.com/images/wp-pro-real-estate-themeforest-23761-small.jpg" alt="WP Pro Theme" width="560" height="200" /></a></p>
<p><strong>WP Pro Real Estate Theme</strong> by <a rel="nofollow" href="http://www.joshstauffer.com/go/themeforest.php" target="_blank"><strong>ThemeForest</strong></a></p>
<p><strong>Price:</strong> $25</p>
<p><a rel="nofollow" href="http://www.joshstauffer.com/go/wp-pro-real-estate-theme-demo.php" target="_blank"><strong>Demo &amp; Information</strong></a> | <a rel="nofollow" href="http://www.joshstauffer.com/go/wp-pro-real-estate-theme.php" target="_blank"><strong>Download</strong></a> | <a class="fancybox" href="http://www.joshstauffer.com/images/wp-pro-real-estate-themeforest-23761.jpg"><strong>Preview Theme</strong></a></p>


<p>Related posts:<ol><li><a href='http://www.joshstauffer.com/build-your-own-wicked-wordpress-themes-review/' rel='bookmark' title='Permanent Link: Build Your Own Wicked WordPress Themes &#8211; Review'>Build Your Own Wicked WordPress Themes &#8211; Review</a></li>
<li><a href='http://www.joshstauffer.com/free-genesis-child-themes/' rel='bookmark' title='Permanent Link: Free Genesis Child Themes'>Free Genesis Child Themes</a></li>
<li><a href='http://www.joshstauffer.com/i-created-a-wordpress-theme/' rel='bookmark' title='Permanent Link: I Created a WordPress Theme'>I Created a WordPress Theme</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.joshstauffer.com/best-wordpress-real-estate-themes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Cashvertising</title>
		<link>http://www.joshstauffer.com/cashvertising/</link>
		<comments>http://www.joshstauffer.com/cashvertising/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 04:54:53 +0000</pubDate>
		<dc:creator>Josh Stauffer</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.joshstauffer.com/?p=188</guid>
		<description><![CDATA[Lately I&#8217;ve been doing a lot of studying, specifically on the topic of affiliate marketing. I have been recommended by several people to buy the book Cashvertising by Drew Eric Whitman. I&#8217;ve heard nothing but good things about this book and am excited to sit down and read it. Can&#8217;t wait to apply what I [...]


Related posts:<ol><li><a href='http://www.joshstauffer.com/apply-css-transparency-to-images/' rel='bookmark' title='Permanent Link: Apply CSS Transparency to Images'>Apply CSS Transparency to Images</a></li>
<li><a href='http://www.joshstauffer.com/build-your-own-wicked-wordpress-themes-review/' rel='bookmark' title='Permanent Link: Build Your Own Wicked WordPress Themes &#8211; Review'>Build Your Own Wicked WordPress Themes &#8211; Review</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.joshstauffer.com%2Fcashvertising%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.joshstauffer.com%2Fcashvertising%2F&amp;source=joshstauffer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Lately I&#8217;ve been doing a lot of studying, specifically on the topic of affiliate marketing. I have been recommended by several people to buy the book Cashvertising by Drew Eric Whitman. I&#8217;ve heard nothing but good things about this book and am excited to sit down and read it. Can&#8217;t wait to apply what I will learn to my marketing endeavors.</p>
<p><a href="http://www.joshstauffer.com/go/cashvertising.php">CA$HVERTISING: How to Use More than 100 Secrets of Ad-Agency Psychology to Make Big Money Selling Anything to Anyone</a><img src="http://www.assoc-amazon.com/e/ir?t=joshstaucom-20&#038;l=as2&#038;o=1&#038;a=1601630328" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p><img class="aligncenter" src="http://www.cashvertising.com/images/book_cover.jpg" alt="Cashvertising" /></p>


<p>Related posts:<ol><li><a href='http://www.joshstauffer.com/apply-css-transparency-to-images/' rel='bookmark' title='Permanent Link: Apply CSS Transparency to Images'>Apply CSS Transparency to Images</a></li>
<li><a href='http://www.joshstauffer.com/build-your-own-wicked-wordpress-themes-review/' rel='bookmark' title='Permanent Link: Build Your Own Wicked WordPress Themes &#8211; Review'>Build Your Own Wicked WordPress Themes &#8211; Review</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.joshstauffer.com/cashvertising/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Post Slug in WordPress</title>
		<link>http://www.joshstauffer.com/get-post-slug-in-wordpress/</link>
		<comments>http://www.joshstauffer.com/get-post-slug-in-wordpress/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 21:49:54 +0000</pubDate>
		<dc:creator>Josh Stauffer</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.joshstauffer.com/?p=173</guid>
		<description><![CDATA[I needed to get just the post slug for a project I have been working on. I found several sites that had similar ways of getting the post slug but I came up with an approach that utilizes WordPress&#8217; get_permalink() and PHP&#8217;s basename(). The common approach: $post_obj = $wp_query-&#62;get_queried_object(); $post_ID = $post_obj-&#62;ID; $post_title = $post_obj-&#62;post_title; [...]


Related posts:<ol><li><a href='http://www.joshstauffer.com/wordpress-stop-changing-my-html-code/' rel='bookmark' title='Permanent Link: WordPress, stop changing my HTML code!'>WordPress, stop changing my HTML code!</a></li>
<li><a href='http://www.joshstauffer.com/display-the-latest-posts-with-wordpress/' rel='bookmark' title='Permanent Link: Display the Latest Posts with WordPress'>Display the Latest Posts with WordPress</a></li>
<li><a href='http://www.joshstauffer.com/sample-content-for-genesis-theme-development/' rel='bookmark' title='Permanent Link: Sample Content for Genesis Theme Development'>Sample Content for Genesis Theme Development</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.joshstauffer.com%2Fget-post-slug-in-wordpress%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.joshstauffer.com%2Fget-post-slug-in-wordpress%2F&amp;source=joshstauffer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I needed to get just the post slug for a project I have been working on. I found <a href="http://wordpress.nataliejost.com/dev/get-post-slug/" target="_blank">several</a> <a href="http://www.wenderhost.com/2007/08/wordpress-tip-find-the-current-page-slug/" target="_blank">sites</a> that had similar ways of getting the post slug but I came up with an approach that utilizes WordPress&#8217; <a href="http://codex.wordpress.org/Template_Tags/get_permalink" target="_blank">get_permalink()</a> and PHP&#8217;s <a href="http://us3.php.net/manual/en/function.basename.php" target="_blank">basename()</a>.</p>
<p><span id="more-173"></span></p>
<p><strong>The common approach:</strong></p>
<pre><code>
$post_obj = $wp_query-&gt;get_queried_object();
$post_ID = $post_obj-&gt;ID;
$post_title = $post_obj-&gt;post_title;
$post_slug = $post_obj-&gt;post_name;
</code>
</pre>
<p><strong>My approach:</strong></p>
<pre><code>
$slug = basename(get_permalink());
</code>
</pre>


<p>Related posts:<ol><li><a href='http://www.joshstauffer.com/wordpress-stop-changing-my-html-code/' rel='bookmark' title='Permanent Link: WordPress, stop changing my HTML code!'>WordPress, stop changing my HTML code!</a></li>
<li><a href='http://www.joshstauffer.com/display-the-latest-posts-with-wordpress/' rel='bookmark' title='Permanent Link: Display the Latest Posts with WordPress'>Display the Latest Posts with WordPress</a></li>
<li><a href='http://www.joshstauffer.com/sample-content-for-genesis-theme-development/' rel='bookmark' title='Permanent Link: Sample Content for Genesis Theme Development'>Sample Content for Genesis Theme Development</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.joshstauffer.com/get-post-slug-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>49</slash:comments>
		</item>
		<item>
		<title>Free Silhouette Images</title>
		<link>http://www.joshstauffer.com/free-silhouette-images/</link>
		<comments>http://www.joshstauffer.com/free-silhouette-images/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 15:26:44 +0000</pubDate>
		<dc:creator>Josh Stauffer</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Free Stuff]]></category>
		<category><![CDATA[Graphics]]></category>

		<guid isPermaLink="false">http://www.joshstauffer.com/?p=148</guid>
		<description><![CDATA[There have been several times in the past that I can remember designing something and thinking that using a silhouette image would be cool. I often abandon this idea because I can never find what I am looking for and for the price that I want it&#8230; FREE. Finding free silhouette images just became a [...]


Related posts:<ol><li><a href='http://www.joshstauffer.com/apply-css-transparency-to-images/' rel='bookmark' title='Permanent Link: Apply CSS Transparency to Images'>Apply CSS Transparency to Images</a></li>
<li><a href='http://www.joshstauffer.com/free-genesis-child-themes/' rel='bookmark' title='Permanent Link: Free Genesis Child Themes'>Free Genesis Child Themes</a></li>
<li><a href='http://www.joshstauffer.com/neat-pop-up-windows-for-images/' rel='bookmark' title='Permanent Link: Neat Pop-up Windows for Images'>Neat Pop-up Windows for Images</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.joshstauffer.com%2Ffree-silhouette-images%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.joshstauffer.com%2Ffree-silhouette-images%2F&amp;source=joshstauffer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>There have been several times in the past that I can remember designing something and thinking that using a silhouette image would be cool. I often abandon this idea because I can never find what I am looking for and for the price that I want it&#8230; FREE.</p>
<p>Finding free silhouette images just became a little easier. I now have <a href="http://www.hongkiat.com/blog/85-free-high-quality-silhouette-sets/" target="_blank" title="85 Free High Quality Silhouette Sets">&#8220;85 Free High Quality Silhouette Sets&#8221;</a> to choose from, thanks to Hongkiat.</p>


<p>Related posts:<ol><li><a href='http://www.joshstauffer.com/apply-css-transparency-to-images/' rel='bookmark' title='Permanent Link: Apply CSS Transparency to Images'>Apply CSS Transparency to Images</a></li>
<li><a href='http://www.joshstauffer.com/free-genesis-child-themes/' rel='bookmark' title='Permanent Link: Free Genesis Child Themes'>Free Genesis Child Themes</a></li>
<li><a href='http://www.joshstauffer.com/neat-pop-up-windows-for-images/' rel='bookmark' title='Permanent Link: Neat Pop-up Windows for Images'>Neat Pop-up Windows for Images</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.joshstauffer.com/free-silhouette-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

