<?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>Houston Web Design &#38; Development &#187; WordPress</title>
	<atom:link href="http://www.jbwebdev.com/blog/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jbwebdev.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 04 Aug 2010 21:12:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Free WordPress Template from JBWEBDEV</title>
		<link>http://www.jbwebdev.com/blog/free-wordpress-template-from-jbwebdev/</link>
		<comments>http://www.jbwebdev.com/blog/free-wordpress-template-from-jbwebdev/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 04:36:11 +0000</pubDate>
		<dc:creator>Jon B</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.jbwebdev.com/blog/?p=582</guid>
		<description><![CDATA[I&#8217;ve been meaning to put out my very own WordPress theme but haven&#8217;t had much time to fully devote to it. Well at long last, here it is&#8230;a free WordPress template which I titled &#8220;OceanicFlight&#8221;, because I&#8217;m a big Lost fan! Do what you want with it, it&#8217;s all yours free of charge. I do [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jbwebdev.com/blog/wp-content/uploads/2010/03/06/OceanicFlight.zip"><img src="http://www.jbwebdev.com/blog/wp-content/uploads/2010/03/screenshot.png" alt="Free WordPress Template" title="Free WordPress Template" width="300" height="225" class="alignright size-full wp-image-583" style="margin-left:10px;border:none" /></a>I&#8217;ve been meaning to put out my very own WordPress theme but haven&#8217;t had much time to fully devote to it. </p>
<p>Well at long last, here it is&#8230;a free WordPress template which I titled &#8220;OceanicFlight&#8221;, because I&#8217;m a big Lost fan! </p>
<p>Do what you want with it, it&#8217;s all yours free of charge. I do have a link at the footer of the template, I ask that you do not remove it, but if you really must remove it, then at least add my site to your blog roll. </p>
<p>This theme is widget ready, has 2 sidebars and it is easily customizable.</p>
<div style="text-align:center;margin-bottom:16px"><script type="text/javascript"><!--
google_ad_client = "pub-6622030104526779";
/* 468x60, created 3/6/10 */
google_ad_slot = "8612731235";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p>[ <a href="http://www.jbwebdev.com/blog/wp-content/uploads/2010/03/06/OceanicFlight.zip">Download</a> ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jbwebdev.com/blog/free-wordpress-template-from-jbwebdev/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Adding Social Media Icons On Certain Posts</title>
		<link>http://www.jbwebdev.com/blog/social-media-icons/</link>
		<comments>http://www.jbwebdev.com/blog/social-media-icons/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 00:19:17 +0000</pubDate>
		<dc:creator>Jon B</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[digg]]></category>
		<category><![CDATA[mixx]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Stumble Upon]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.jbwebdev.com/blog/?p=416</guid>
		<description><![CDATA[There are many WordPress plugins out there that allow you to display various social media buttons on your posts making it very simple for your readers to share and submit your article to various social media websites. While this is a great way to promote your blog posts, the buttons do not serve a purpose [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.jbwebdev.com/blog/wp-content/uploads/2009/07/social-media.jpg" alt="social-media" title="social-media" width="250" height="250" class="right size-full wp-image-417" />There are many <a href="http://www.jbwebdev.com/blog/wordpress/">WordPress</a> plugins out there that allow you to display various social media buttons on your posts making it very simple for your readers to share and submit your article to various social media websites.</p>
<p>While this is a great way to promote your blog posts, the buttons do not serve a purpose if you simply have an announcement to make on a post.</p>
<p>It would be great if we can turn the option on and off as needed, right?. Well by using WordPress&#8217; custom fields and a little bit of PHP coding, we can display or not display these social media icons.</p>
<p><span id="more-416"></span></p>
<h2>Let&#8217;s get to it</h2>
<p><strong>Step 1</strong> &#8211; Download the <a href="http://sexybookmarks.net/">SexyBookmarks</a> plugin, upload it into your plugins folder and activate it.</p>
<p><strong>Step 2</strong> &#8211; Go into the plugin settings and modify the settings. You can reorder the icons by clicking and dragging. Check mark the ones you want to display.</p>
<p><img src="http://www.jbwebdev.com/blog/wp-content/uploads/2009/07/social11.jpg" alt="social1" title="social1" width="544" height="232" class="alignnone size-full wp-image-434" /></p>
<p>In the <strong>Placement</strong> option, select <strong>Manually Insert</strong>.</p>
<p><img src="http://www.jbwebdev.com/blog/wp-content/uploads/2009/07/social21.jpg" alt="social2" title="social2" width="544" height="232" class="alignnone size-full wp-image-435" /></p>
<p><strong>Step 3</strong> &#8211; Go into your Themes folder and find single.php. Open the file and locate The following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>The above code displays the title of your blog post. If you want the social media icons to appear right above title, then copy the code below and place it before the title.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>get_post_meta<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;socialmedia&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> 
     <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'selfserv_sexy'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> selfserv_sexy<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>If you want the plugin to display at the bottom of your post, then paste the above code right after:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> the_content<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p><strong>Step 4</strong> &#8211; In the Admin panel, open up one of your posts or create a new one.  Scroll down to the Custom Fields section, click Enter New, name it <strong>socialmedia</strong> and give it a value of 1 or yes or whatever value you prefer, it really doesn&#8217;t matter as long as you input a value in there. Click the Add Custom field button to save it. You should now see a custom field called social media with a value of 1 or whatever value you chose. </p>
<p><img src="http://www.jbwebdev.com/blog/wp-content/uploads/2009/07/social3.jpg" alt="social3" title="social3" width="540" height="169" class="alignnone size-full wp-image-445" /></p>
<p>From now on whenever you want to display your social media icons, simply scroll down to the Custom Fields section, click on the name drop-down, select <strong>socialmedia</strong> and give it any value.</p>
<p><img src="http://www.jbwebdev.com/blog/wp-content/uploads/2009/07/social4.jpg" alt="social4" title="social4" width="540" height="169" class="alignnone size-full wp-image-446" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jbwebdev.com/blog/social-media-icons/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How To Remove Categories From Your URL</title>
		<link>http://www.jbwebdev.com/blog/remove-categories-from-your-url/</link>
		<comments>http://www.jbwebdev.com/blog/remove-categories-from-your-url/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 21:43:50 +0000</pubDate>
		<dc:creator>Jon B</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://jbwebdev.com/blog/?p=336</guid>
		<description><![CDATA[WordPress is my favorite blogging platform but it&#8217;s not perfect by all means. There&#8217;s still a number of features I would like to see in WordPress, one of them is having the categories to not appear in my url. I&#8217;ve seen and tried various plugins and WordPress hacks but I&#8217;m not completely satisfied with the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://jbwebdev.com/blog/wp-content/uploads/2009/04/wp.png" alt="WordPress" title="WordPress" width="200" height="200" style="float:right;border:none" /></p>
<p><strong>WordPress </strong>is my favorite blogging platform but it&#8217;s not perfect by all means. There&#8217;s still a number of features I would like to see in WordPress, one of them is having the categories to not appear in my url. </p>
<p>I&#8217;ve seen and tried various plugins and WordPress hacks but I&#8217;m not completely satisfied with the end results.</p>
<p><strong>For Example:</strong></p>
<p>Suppose you have the following url that points to your Health category. </p>
<blockquote><p />
<p>http://www.whatever.com/category/health/</p>
</blockquote>
<p>I really hate to see the word <strong>category </strong>appear in my url, what I want to see is the following:</p>
<blockquote><p />
<p>http://www.whatever.com/health/</p>
</blockquote>
<p>Not only does this look nice and clean but it is also great for SEO purposes!</p>
<p><span id="more-336"></span></p>
<p>Well here is a very simple solution to this WordPress dilemma, forget those other hacks and plugins! </p>
<p><strong>STEP 1</strong></p>
<p>Let&#8217;s dive into your WordPress directory, open up the <strong>wp-includes</strong> folder and open up <strong>category-template.php</strong> with your favorite text editor&#8230;btw you might want to try using Notepad ++, you can <a href="http://notepad-plus.sourceforge.net/uk/site.htm">download it here</a>.</p>
<p><strong>STEP 2</strong></p>
<p>Go to line 70 and find the following code:</p>
<blockquote><p />
<p><code>$catlink = str_replace( '%category%', $category_nicename, $catlink );</code>
</p></blockquote>
<p>Right underneath the code add the following code:</p>
<blockquote><p />
<p><code>$catlink = str_replace('category/', '', $catlink);</code>
</p></blockquote>
<p><strong>STEP 3</strong></p>
<p><strong>*This is a crucial step to avoid 404 errors when going into your category pages.</strong></p>
<p>Log in to your WordPress admin panel &#8211; go to <strong>Settings </strong>- <strong>Permalinks</strong>.</p>
<p>Under Common Settings select the Custom Structure radio button and type in the following:</p>
<blockquote><p />
<p><code>/%category%/%postname%/</code><br />
or<br />
<code>/%category%/%year%/%monthnum%/%day%/%postname%/</code><br />
or<br />
<code>/%category%/%year%/%monthnum%/%postname%/</code></p>
<p>Depending on how you want your URL structured&#8230;
</p></blockquote>
<p>Click on the <strong>Save Changes</strong> button and that should be it. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jbwebdev.com/blog/remove-categories-from-your-url/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reverse The WordPress Comments From Newest To Oldest</title>
		<link>http://www.jbwebdev.com/blog/reverse-comments/</link>
		<comments>http://www.jbwebdev.com/blog/reverse-comments/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 18:59:28 +0000</pubDate>
		<dc:creator>Jon B</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[comment list]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://jbwebdev.com/blog/?p=272</guid>
		<description><![CDATA[If you want to display your comment list from newest to oldest, here is a simple solution, find your functions.php page located in ../wp-content/themes/your-theme-name/ and add the following function: function reverse_comments($comments,$id) { $comments = array_reverse($comments); return $comments; } add_filter('comments_array','reverse_comments',10,2); Voila! Your WordPress comment list should now display from newest to oldest.]]></description>
			<content:encoded><![CDATA[<p>If you want to display your comment list from newest to oldest, here is a simple solution, find your <strong>functions.php</strong> page located in ../wp-content/themes/your-theme-name/ and add the following function:</p>
<blockquote><p><code><br />
function reverse_comments($comments,$id) {<br />
 $comments = array_reverse($comments);<br />
 return $comments;<br />
}<br />
add_filter('comments_array','reverse_comments',10,2);<br />
</code></p></blockquote>
<p>Voila! Your WordPress comment list should now display from newest to oldest.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jbwebdev.com/blog/reverse-comments/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
