<?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>Web Development, UI Dev &#187; wordpress</title>
	<atom:link href="http://www.justinrains.com/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.justinrains.com</link>
	<description>PHP, mySQL, HMTL, JavaScript, jQuery. I&#039;m your huckleberry.</description>
	<lastBuildDate>Sun, 03 Jul 2011 01:18:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>How to Add Facebook Image Meta in Thesis</title>
		<link>http://www.justinrains.com/2010/06/how-to-add-facebook-image-meta-in-thesis</link>
		<comments>http://www.justinrains.com/2010/06/how-to-add-facebook-image-meta-in-thesis#comments</comments>
		<pubDate>Tue, 29 Jun 2010 19:09:59 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[thesis]]></category>

		<guid isPermaLink="false">http://www.justinrains.com/?p=270</guid>
		<description><![CDATA[It&#8217;s nice when we write good content. It&#8217;s even better when a reader shares it on sites such as facebook or twitter. One problem with sharing on facebook is that facebook will try to pull in images from the site but may not always pull in the one you want. You can control what images [...]]]></description>
			<content:encoded><![CDATA[<p></p><div class="imageframe alignleft" style="width:43px;"><img src="http://www.justinrains.com/wp-content/uploads/2010/06/facebook.png" alt="" width="43" height="43" class="attachment wp-att-272" /></div>
<p>It&#8217;s nice when we write good content. It&#8217;s even better when a reader shares it on sites such as facebook or twitter. One problem with sharing on facebook is that facebook will try to pull in images from the site but may not always pull in the one you want. You can control what images show up with a special meta tag. This will make the one you pick as the first image, but unfortunately not the only image. This is still useful if you post only a youtube video in your post or page and want to specify an image for when shared on facebook. Facebook has a set of <a href="http://wiki.developers.facebook.com/index.php/Facebook_Share/Specifying_Meta_Tags" rel="nofollow" target="_blank">share tags</a> available.</p>
<p>To specify an image I first upload it using the Media->Add New wordpress page and grab the URL of the image after I upload it. Next, while on the page or post scroll down to the Custom Fields area. The first time you will need to add a new field. Call it image_src and to the right paste in the full path to the image you just uploaded. Save the post. Next, add the code below one time to your <a target="_blank" href="http://thesis.portalplanet.net/">Thesis theme&#8217;s</a> custom_functions.php file. </p>
<p>Here is the link to the text file with the Thesis <a href="http://www.justinrains.com/wp-content/uploads/2010/06/facebook.meta_.txt">code to add to custom_functions.php</a>.</p>
<p>That&#8217;s it! Pretty simple huh? Leave a comment if you have any questions or comments. Thanks for reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.justinrains.com/2010/06/how-to-add-facebook-image-meta-in-thesis/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to Add the Facebook Like Button in Thesis</title>
		<link>http://www.justinrains.com/2010/04/how-to-add-the-facebook-like-button-in-thesis</link>
		<comments>http://www.justinrains.com/2010/04/how-to-add-the-facebook-like-button-in-thesis#comments</comments>
		<pubDate>Tue, 27 Apr 2010 22:26:11 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[thesis]]></category>

		<guid isPermaLink="false">http://www.justinrains.com/?p=262</guid>
		<description><![CDATA[Facebook Like Button Thesis is a great wordpress theme but it takes some getting used to. You are no longer editing a file called &#8220;single.php&#8221; you&#8217;re using hooks to add in content and change things around. To add the facebook like button in Thesis open up custom_functions.php in your favorite editor and add the code [...]]]></description>
			<content:encoded><![CDATA[<p></p><div class="imageframe alignleft" style="width:183px;"><img src="http://www.justinrains.com/wp-content/uploads/2010/04/facebook-like.jpg" alt="Facebook Like Button" width="183" height="66" class="attachment wp-att-263" />
<div class="imagecaption">Facebook Like Button</div>
</div>
<p><a target="_blank" href="http://thesis.portalplanet.net/">Thesis</a> is a great wordpress theme but it takes some getting used to. You are no longer editing a file called &#8220;single.php&#8221; you&#8217;re using hooks to add in content and change things around. To add the facebook like button in Thesis open up custom_functions.php in your favorite editor and add the code in <a target="_blank" rel="nofollow" href="/wp-content/uploads/2010/04/facebook-thesis.txt">this file</a>. I couldn&#8217;t get the code to display properly here in this site.</p>
<p>This will add in the like button below your posts. It will not add it to your pages. I just wanted people to be able to like my blog posts and not my pages.</p>
<p>What do you think? Have you used it? I have added the like button below. Feel free to like this post :]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.justinrains.com/2010/04/how-to-add-the-facebook-like-button-in-thesis/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>jQuery and WordPress: Using noConflict</title>
		<link>http://www.justinrains.com/2009/08/jquery-and-wordpress-using-noconflict</link>
		<comments>http://www.justinrains.com/2009/08/jquery-and-wordpress-using-noconflict#comments</comments>
		<pubDate>Tue, 18 Aug 2009 18:13:41 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.justinrains.com/?p=255</guid>
		<description><![CDATA[I have been using wordpress for a while and now I&#8217;m starting to integrate more jQuery into some of my blogs. Problem is I have been having problems with the code acting up. After searching I found the jQuery is now included in the core code for wordpress. More reading and I found that I [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I have been using wordpress for a while and now I&#8217;m starting to integrate more <a rel="nofollow" target="_blank" href="http://jquery.com/">jQuery</a> into some of my blogs. Problem is I have been having problems with the code acting up. After searching I found the jQuery is now included in the core code for wordpress. More reading and I found that I need to use jQuery&#8217;s noConflict to make my code work in wordpress. Using noConflict your code will look like this:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$j = jQuery.noConflict();<br />
<br />
$j(function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; $j(&quot;#sidebar #trigger&quot;).click(function(event) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; event.preventDefault();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $j(&quot;#box&quot;).slideToggle();<br />
&nbsp; &nbsp; &nbsp; &nbsp; });<br />
});</div></td></tr></tbody></table></div>
<p>Basically anywhere you would have used just the $ sign you add in a &#8220;j&#8221;. The variable name can be anything some examples use $js I just chose $j.</p>
<p>Please sign up for <a rel="nofollow" target="_blank" href="http://www.justinrains.com/feed/">my feed</a> as I will be adding more wordpress and jQuery goodness!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.justinrains.com/2009/08/jquery-and-wordpress-using-noconflict/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Plugin: CommentLuv</title>
		<link>http://www.justinrains.com/2008/04/wordpress-plugin-commentluv</link>
		<comments>http://www.justinrains.com/2008/04/wordpress-plugin-commentluv#comments</comments>
		<pubDate>Wed, 09 Apr 2008 18:28:23 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.justinrains.com/?p=184</guid>
		<description><![CDATA[I have found a new plugin for wordpress I like. It&#8217;s called CommentLuv and when you view the comments box for a post at the bottom you will see a new checkbox. When you make a comment CommentLuv will try to get your latest blog post and post it with your comments. Try it out [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I have found a new plugin for wordpress I like. It&#8217;s called <a target="_blank" rel="nofollow external" href="http://www.fiddyp.co.uk/commentluv-wordpress-plugin">CommentLuv</a> and when you view the comments box for a post at the bottom you will see a new checkbox. When you make a comment CommentLuv will try to get your latest blog post and post it with your comments. Try it out on this post if you like!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.justinrains.com/2008/04/wordpress-plugin-commentluv/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>mySQL Upgrade Makes WordPress Posts Display In Reverse</title>
		<link>http://www.justinrains.com/2008/04/mysql-upgrade-makes-wordpress-posts-display-in-reverse</link>
		<comments>http://www.justinrains.com/2008/04/mysql-upgrade-makes-wordpress-posts-display-in-reverse#comments</comments>
		<pubDate>Fri, 04 Apr 2008 19:53:24 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.justinrains.com/?p=181</guid>
		<description><![CDATA[Recently mySQL was upgraded on the hosting server my site is on and something weird happened: the posts were displayed from oldest to newest! My blog was running wordpress 2.0.2 and wordpress 2.5 had just been released. I dreaded upgrades because of the &#8220;what ifs&#8221;. My worst nightmare was that the upgrade would break everything [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><!--adsense#small--></p>
<p>Recently mySQL was upgraded on the hosting server my site is on and something weird happened: the posts were displayed from oldest to newest! My blog was running wordpress 2.0.2 and wordpress 2.5 had just been released. I dreaded upgrades because of the &#8220;what ifs&#8221;. My worst nightmare was that the upgrade would break everything and I would loose two years of posts. I put on my big-boy-be-brave hat and set side an hour of time to perform the upgrade. First I disabled all of the plugins I was using (that was a good thing, I didn&#8217;t enable at least half of them after the upgrade), switched the theme to the default wordpress theme, removed the old directories as I was told to do, unzipped 2.5 over top of any code left, copied my wp-config.php back to my directory, and ran the upgrade script. It worked! What&#8217;s even better is that the posts are now showing the latest post first! What I came out of this was that wordpress is not as hard to upgrade as I thought and that I should be running the latest stable version. That being said, here are some things I like about wordpress 2.5:</p>
<ul>
<li>Built in tagging</li>
<li>Editing of a posts permalink</li>
<li>Automatic plugin upgrades!</li>
</ul>
<p>I think my favorite is the last one. Just enter your FTP information and wordpress downloads the plugin, unzips it and installs the latest version of the plugin. All of this is done through your browser window!</p>
<p>Are you using WordPress 2.5? If so what is your favorite new feature?<br />
<!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.justinrains.com/2008/04/mysql-upgrade-makes-wordpress-posts-display-in-reverse/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

