<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Think2Loud»  – Think2Loud</title> <link>http://think2loud.com</link> <description>Building &amp; Tweaking Website's</description> <lastBuildDate>Wed, 25 Aug 2010 02:16:31 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Think2loud" /><feedburner:info uri="think2loud" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Think2loud</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Awesome WordPress Feature of the Day: Add Theme Support</title><link>http://feedproxy.google.com/~r/Think2loud/~3/9iwUaHfB0ks/</link> <comments>http://think2loud.com/awesome-wordpress-feature-day-add-theme-support/#comments</comments> <pubDate>Thu, 19 Aug 2010 00:38:57 +0000</pubDate> <dc:creator>Jared</dc:creator> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://think2loud.com/?p=855</guid> <description><![CDATA[This has become one of my favorite features when I build a new WordPress theme. It seems like such a simple thing, but when I started coding my themes with this function in mind everything melds together so nicely. (&#160;<a
href="http://think2loud.com/awesome-wordpress-feature-day-add-theme-support/">more</a>&#160;)]]></description> <content:encoded><![CDATA[<p>My favorite new function in WordPress is Add Theme Support.</p><p>As a developer, one of my favorite things to do is write reusable code.  I love when I start a theme and find it needs some bit of functionality that I wrote for something else, if all i need to do is include a file and make a couple strategic edit my job just got easier.  Here is a quick example.  Imagine you have a custom post type for events ( just an example, I have no code to back this up, sucks I know).  If you create your event post type in a class, you can use the current_theme_supports method to check and see if you need it, and your class does the rest!</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>current_theme_supports<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'event-post-type'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;init&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;jmh_event_post_init&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> jmh_event_post_init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$event_class</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$event_class</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> event_post_class<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div><p>So if you build a lot of themes, set up a single folder with an init file.  include all your files there, organize it, then your functions PHP will just need to start off with a couple things:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">add_theme_support<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'event-post-type'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'your init php file'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>]]></content:encoded> <wfw:commentRss>http://think2loud.com/awesome-wordpress-feature-day-add-theme-support/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://think2loud.com/awesome-wordpress-feature-day-add-theme-support/</feedburner:origLink></item> <item><title>Speed Up &amp; Improve iPhoto ’09 Performance</title><link>http://feedproxy.google.com/~r/Think2loud/~3/Cq0NubOvdq8/</link> <comments>http://think2loud.com/speed-improve-iphoto-09-performance/#comments</comments> <pubDate>Wed, 11 Aug 2010 11:47:27 +0000</pubDate> <dc:creator>Jon</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[iPhoto]]></category> <category><![CDATA[OS X]]></category><guid isPermaLink="false">http://think2loud.com/?p=850</guid> <description><![CDATA[Okay, since I updated to iPhoto &#8217;09 (yes, I realize it’s currently 2010), I noticed a huge lag in performance upon opening the application.  Not only would it take long to load, but once the interface came up, if you &#8230; (&#160;<a
href="http://think2loud.com/speed-improve-iphoto-09-performance/">more</a>&#160;)]]></description> <content:encoded><![CDATA[<p>Okay,  since I updated to <a
title="iPhoto" href="http://www.apple.com/ilife/iphoto/" target="_blank">iPhoto &#8217;09</a> (yes, I realize it’s currently 2010), I  noticed a huge lag in performance upon opening the application.  Not  only would it take long to load, but once the interface came up, if you  tried to click around with your mouse, the rainbow wheel of death would  start spinning.  Nobody likes that.  Follow these steps to improve and  speed up iPhoto performance:</p><ol><li>Option + Command click the iPhoto application</li><li>A box will pop up entitled: Rebuild Photo Library</li><li>Check “Reclaim unused disk space from databases”</li><li>Click “Rebuild”</li><li>Checking any of the other ones doesn’t hurt either, it actually speeds it up even more.  Give it a try!</li></ol><p>Also, if anyone has any additional advice or tips, please feel free to share.</p> ]]></content:encoded> <wfw:commentRss>http://think2loud.com/speed-improve-iphoto-09-performance/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://think2loud.com/speed-improve-iphoto-09-performance/</feedburner:origLink></item> <item><title>Enable Multi-Site in WordPress</title><link>http://feedproxy.google.com/~r/Think2loud/~3/9nmOa1c68D0/</link> <comments>http://think2loud.com/enable-multisite-wordpress/#comments</comments> <pubDate>Tue, 10 Aug 2010 16:38:53 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://think2loud.com/?p=826</guid> <description><![CDATA[WordPress merging with WordPress MU makes an awesome software package even better. The issue now is, how do you turn on the multi-site functionality? If you are like me and find yourself forgetting that one line of code needed to &#8230; (&#160;<a
href="http://think2loud.com/enable-multisite-wordpress/">more</a>&#160;)]]></description> <content:encoded><![CDATA[<p>WordPress merging with WordPress MU makes an awesome software package even better. The issue now is, how do you turn on the multi-site functionality? If you are like me and find yourself forgetting that one line of code needed to kick off the setup of multi-site within WordPress. Then you made it to the right place, because for your benefit and mine I have taken the time to write down the steps involved. The first step is to install WordPress so be sure to head over to <a
href="http://wordpress.org">WordPress.org</a> for the latest version and then do a standard install of WordPress. Once you have WordPress up and running you can enable multi-site in just a few quick steps.</p><h2>1. Add the following to the wp-config.php</h2><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/**   MULTI-SITE SETUP   */</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_ALLOW_MULTISITE'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><h2>2. Navigate to Tools > Network and choose your install type</h2><p>You will have to choose what kind of network you want to run. Your choices are either Sub-directory setup or a Sub-domain setup. These choices affect how the addresses of your sites look.</p><p><strong>Sub-directory</strong><br
/> This configuration means that all your blogs/sites created within WordPress are extensions of your domain. So if you were using the domain myawesomesite.com then your blogs/sites within WordPress would all have domains like:<br
/> myawesomesite.com/siteone<br
/> myawesomesite.com/sitetwo</p><p><strong>Sub-domain</strong><br
/> This configuration does require some extra DNS work meaning you will need to setup a wildcard DNS record. With this setup each new blog/site in WordPress becomes it&#8217;s own sub-domain of the top level domain that was used to install WordPress. So if you installed WordPress on the url myawesomesite.com each new site&#8217;s domain would look like:<br
/> siteone.myawesomesite.com<br
/> sitetwo.myawesomesite.com</p><p>Once you have chosen the setup you want to run enter your network details and hit install.</p><h2>3. Finish up the network install</h2><p>There are a few things that you need to do manually to finish the install.</p><p><strong>Create the blogs.dir directory</strong><br
/> Create a new directory in the wp-content folder called blogs.dir, this directory will be where all your sites uploaded content is stored.</p><p><strong>Edit wp-config.php</strong><br
/> WordPress will generate some new settings for you to add to your config file. These settings are specific to your network. For the myawesomesite.com setup they would like this:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'MULTISITE'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'SUBDOMAIN_INSTALL'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$base</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'/'</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'DOMAIN_CURRENT_SITE'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'myawesomesite.com'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'PATH_CURRENT_SITE'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'SITE_ID_CURRENT_SITE'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'BLOG_ID_CURRENT_SITE'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p><strong>Edit or create the .htaccess file</strong><br
/> If you already have a .htaccess file setup then you will just want to edit the area the contains WordPress rules. If you don&#8217;t have a .htaccess file go ahead and create one. Now all you have to do is copy in the settings provided by WordPress, save the file and you are done. This is an example of the code generated by WordPress:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">RewriteEngine On
RewriteBase <span style="color: #339933;">/</span>
RewriteRule ^index\<span style="color: #339933;">.</span>php$ <span style="color: #339933;">-</span> <span style="color: #009900;">&#91;</span>L<span style="color: #009900;">&#93;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># uploaded files
</span>RewriteRule ^<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span>_0<span style="color: #339933;">-</span>9a<span style="color: #339933;">-</span>zA<span style="color: #339933;">-</span>Z<span style="color: #339933;">-</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+/</span><span style="color: #009900;">&#41;</span>?files<span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">.+</span><span style="color: #009900;">&#41;</span> wp<span style="color: #339933;">-</span>includes<span style="color: #339933;">/</span>ms<span style="color: #339933;">-</span>files<span style="color: #339933;">.</span>php?<span style="color: #990000;">file</span><span style="color: #339933;">=</span>$<span style="color: #cc66cc;">2</span> <span style="color: #009900;">&#91;</span>L<span style="color: #009900;">&#93;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># add a trailing slash to /wp-admin
</span>RewriteRule ^<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span>_0<span style="color: #339933;">-</span>9a<span style="color: #339933;">-</span>zA<span style="color: #339933;">-</span>Z<span style="color: #339933;">-</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+/</span><span style="color: #009900;">&#41;</span>?wp<span style="color: #339933;">-</span>admin$ $1wp<span style="color: #339933;">-</span>admin<span style="color: #339933;">/</span> <span style="color: #009900;">&#91;</span>R<span style="color: #339933;">=</span><span style="color: #cc66cc;">301</span><span style="color: #339933;">,</span>L<span style="color: #009900;">&#93;</span>
&nbsp;
RewriteCond <span style="color: #339933;">%</span><span style="color: #009900;">&#123;</span>REQUEST_FILENAME<span style="color: #009900;">&#125;</span> <span style="color: #339933;">-</span>f <span style="color: #009900;">&#91;</span>OR<span style="color: #009900;">&#93;</span>
RewriteCond <span style="color: #339933;">%</span><span style="color: #009900;">&#123;</span>REQUEST_FILENAME<span style="color: #009900;">&#125;</span> <span style="color: #339933;">-</span>d
RewriteRule ^ <span style="color: #339933;">-</span> <span style="color: #009900;">&#91;</span>L<span style="color: #009900;">&#93;</span>
RewriteRule  ^<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span>_0<span style="color: #339933;">-</span>9a<span style="color: #339933;">-</span>zA<span style="color: #339933;">-</span>Z<span style="color: #339933;">-</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+/</span><span style="color: #009900;">&#41;</span>?<span style="color: #009900;">&#40;</span>wp<span style="color: #339933;">-</span><span style="color: #009900;">&#40;</span>content<span style="color: #339933;">|</span>admin<span style="color: #339933;">|</span>includes<span style="color: #009900;">&#41;</span><span style="color: #339933;">.*</span><span style="color: #009900;">&#41;</span> $<span style="color: #cc66cc;">2</span> <span style="color: #009900;">&#91;</span>L<span style="color: #009900;">&#93;</span>
RewriteRule  ^<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span>_0<span style="color: #339933;">-</span>9a<span style="color: #339933;">-</span>zA<span style="color: #339933;">-</span>Z<span style="color: #339933;">-</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+/</span><span style="color: #009900;">&#41;</span>?<span style="color: #009900;">&#40;</span><span style="color: #339933;">.*</span>\<span style="color: #339933;">.</span>php<span style="color: #009900;">&#41;</span>$ $<span style="color: #cc66cc;">2</span> <span style="color: #009900;">&#91;</span>L<span style="color: #009900;">&#93;</span>
RewriteRule <span style="color: #339933;">.</span> index<span style="color: #339933;">.</span>php <span style="color: #009900;">&#91;</span>L<span style="color: #009900;">&#93;</span></pre></div></div><h2>4. Remove the Tools > Network menu option</h2><p>Once you have your network setup you can remove the menu option simple by commenting out the enable multi-site option in your wp-config.php file.</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/**   MULTI-SITE SETUP   */</span>
<span style="color: #666666; font-style: italic;">//define('WP_ALLOW_MULTISITE', true);</span></pre></div></div>]]></content:encoded> <wfw:commentRss>http://think2loud.com/enable-multisite-wordpress/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://think2loud.com/enable-multisite-wordpress/</feedburner:origLink></item> <item><title>Organize your dock by adding spacers in Snow Leopard</title><link>http://feedproxy.google.com/~r/Think2loud/~3/ADSywvlguno/</link> <comments>http://think2loud.com/organize-dock-adding-spacers-snow-leopard/#comments</comments> <pubDate>Fri, 30 Jul 2010 20:33:49 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[OS X]]></category> <category><![CDATA[quicktip]]></category> <category><![CDATA[Snow Leopard]]></category><guid isPermaLink="false">http://think2loud.com/?p=801</guid> <description><![CDATA[There is nothing like a shiny new mac and if you are like me, then you start with a fresh install rather then cloning your old machine. Since the dock on the new machine was not setup the way I &#8230; (&#160;<a
href="http://think2loud.com/organize-dock-adding-spacers-snow-leopard/">more</a>&#160;)]]></description> <content:encoded><![CDATA[<p>There is nothing like a shiny new mac and if you are like me, then you start with a fresh install rather then cloning your old machine. Since the dock on the new machine was not setup the way I like it a had to make a few changes and one of them is to add separators between applications. I do this to group like applications together. So to get started the first thing you will need to do is open Terminal on your Mac.</p><p>This is what my dock currently looks like.<br
/><img
src="http://cdn.think2loud.com/wp-content/uploads/2010/07/dock_spacer.jpg" alt="" title="dock_spacer" width="670" height="34" class="alignnone size-full wp-image-810" /></p><p>Terminal can be found in: Applications > Utilities</p><p>To add a separator to the left side of the dock</p><div
class="wp_syntax"><div
class="code"><pre class="text" style="font-family:monospace;">defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type=&quot;spacer-tile&quot;;}'</pre></div></div><p>To add a separator to the right side of the dock</p><div
class="wp_syntax"><div
class="code"><pre class="text" style="font-family:monospace;">defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type=&quot;spacer-tile&quot;;}'</pre></div></div><p>Each time you run one of the commands above it will create a new separator but you need to restart the dock to see them. To do this just type this into Terminal:</p><div
class="wp_syntax"><div
class="code"><pre class="text" style="font-family:monospace;">killall Dock</pre></div></div>]]></content:encoded> <wfw:commentRss>http://think2loud.com/organize-dock-adding-spacers-snow-leopard/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://think2loud.com/organize-dock-adding-spacers-snow-leopard/</feedburner:origLink></item> <item><title>Backblaze Icon Missing from Menu Bar in Snow Leopard</title><link>http://feedproxy.google.com/~r/Think2loud/~3/3CVlM0KUBRs/</link> <comments>http://think2loud.com/backblaze-icon-missing-menu-bar-snow-leopard/#comments</comments> <pubDate>Wed, 28 Jul 2010 02:02:40 +0000</pubDate> <dc:creator>Jon</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[Backblaze]]></category> <category><![CDATA[OS X]]></category> <category><![CDATA[quicktip]]></category> <category><![CDATA[Snow Leopard]]></category><guid isPermaLink="false">http://think2loud.com/?p=782</guid> <description><![CDATA[Long story short, Backblaze is awesome!  Up until I lost my Backblaze icon from the menu bar in Mac OSX Snow Leopard.  I researched online a little and couldn&#8217;t find an easy method of fixing the issue.  With that nifty &#8230; (&#160;<a
href="http://think2loud.com/backblaze-icon-missing-menu-bar-snow-leopard/">more</a>&#160;)]]></description> <content:encoded><![CDATA[<p>Long  story short, <a
title="Backblaze" href="http://www.backblaze.com/partner/af0812" target="_blank">Backblaze</a> is awesome!  Up until I lost my <a
title="Backblaze" href="http://www.backblaze.com/partner/af0812" target="_blank">Backblaze</a> icon  from the menu bar in Mac OSX Snow Leopard.  I researched online a little  and couldn&#8217;t find an easy method of fixing the issue.  With that nifty  little icon missing, I worried if it were working at all &#8211; all those  precious photos, video and digital memories gone?</p><p>By  going into the <a
title="Backblaze" href="http://www.backblaze.com/partner/af0812" target="_blank">Backblaze</a> settings in your System Preferences, you can  select the check box next to &#8220;Show Backblaze icon in the menu bar.&#8221;   However, every time I checked the box, the icon would not come back.   And upon return to the preferences, the box remained unchecked.  A  mystery?  Yes, indeed.</p><p>Therefore,  I contacted customer support and they gave me a quick and easy solution  that made my day.  Try the following steps below to fix the  mysteriously missing <a
title="Backblaze" href="http://www.backblaze.com/partner/af0812" target="_blank">Backblaze</a> icon from the menu bar in Snow Leopard.</p><ol><li>Click on the Finder</li><li>Press Command + Shift + G</li><li>Enter /Library/Backblaze in the text field and press &#8220;Go&#8221;</li><li>Right click on the folder &#8220;bzdata&#8221; and Get Info (or press command + i)</li><li>Change the permissions, so that all users have &#8220;Read &amp; Write&#8221; permissions.</li><li>Then click the gear icon and select &#8220;Apply to enclosed items..&#8221;</li><li>If  the <a
title="Backblaze" href="http://www.backblaze.com/partner/af0812" target="_blank">Backblaze</a> icon doesn’t show up on the menu bar, follow steps 1-3  again and this time double click “bzbmenu” and this will place the icon  in the right spot.</li></ol> ]]></content:encoded> <wfw:commentRss>http://think2loud.com/backblaze-icon-missing-menu-bar-snow-leopard/feed/</wfw:commentRss> <slash:comments>3</slash:comments> <feedburner:origLink>http://think2loud.com/backblaze-icon-missing-menu-bar-snow-leopard/</feedburner:origLink></item> <item><title>$.extend and $.data, more than just internal jQuery methods</title><link>http://feedproxy.google.com/~r/Think2loud/~3/tFirsCzCuvc/</link> <comments>http://think2loud.com/linkpost/extend-data-internal-jquery-methods/#comments</comments> <pubDate>Thu, 22 Jul 2010 19:07:23 +0000</pubDate> <dc:creator>Jared</dc:creator> <guid isPermaLink="false">http://think2loud.com/?post_type=linkpost&amp;p=779</guid> <description><![CDATA[A great post about 2 of the more useful methods in jQuery.]]></description> <content:encoded><![CDATA[<p>A great post about 2 of the more useful methods in jQuery.</p> ]]></content:encoded> <wfw:commentRss>http://think2loud.com/linkpost/extend-data-internal-jquery-methods/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.position-absolute.com/articles/extend-and-data-more-than-just-internal-jquery-methods/</feedburner:origLink></item> <item><title>First Impressions: Genesis Theme Framework</title><link>http://feedproxy.google.com/~r/Think2loud/~3/86xttVv-EX4/</link> <comments>http://think2loud.com/impressions-genesis-theme-framework/#comments</comments> <pubDate>Tue, 20 Jul 2010 11:00:24 +0000</pubDate> <dc:creator>Jared</dc:creator> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://think2loud.com/?p=772</guid> <description><![CDATA[Lately I&#8217;ve been doing a lot more work with WordPress, and it&#8217;s given me the opportunity to work on lots of different themes and theme frameworks. Given the choice I would much rather start a new theme from scratch. Of &#8230; (&#160;<a
href="http://think2loud.com/impressions-genesis-theme-framework/">more</a>&#160;)]]></description> <content:encoded><![CDATA[<p>Lately I&#8217;ve been doing a lot more work with WordPress, and it&#8217;s given me the opportunity to work on lots of different themes and theme frameworks.  Given the choice I would much rather start a new theme from scratch.  Of course &#8220;from scratch&#8221; means using one of the many starter themes people have put together, recently my favorite being BLANK from the Digging into WordPress <a
href="http://themeclubhouse.digwp.com/" target="_blank">Theme Clubhouse</a>. However when working in a production environment I&#8217;ve found it beneficial to find a framework and stick with it.  That way projects get done faster, everyone uses the same codebase, and clients all get a similar experience.</p><p>Enter the Genesis Framework from <a
href="http://www.studiopress.com/themes/genesis" target="_blank">StudioPress</a>.  As soon as I got a look at how the framework is built I was instantly impressed.  First, it has several great features that are helpful to both developers and users.  It offers automatic updates, great security, customizable theme settings, custom widgets, plenty of layout options, and the list goes on.  There are a lot of frameworks out there that give you similar things, but Genesis has some really cool features for developers too.</p><p>For starters, the theme is fully compatible with all the new features in WordPress 3.0.  StudioPress was quick to add those features for their users, and that kind of dedication to their product is a huge value.  Another great value for developers is the themes construction.  They have built Genesis to be a starting point for child themes, allowing for radically different sites without having to do the same edits to the main theme over and over again.  To help make a child theme as customizable as it needs to be in order to be successful, they have built in plenty of hooks to do whatever you need.  If you want to add a widgetized area above the footer, it&#8217;s easy.  You need an add area above the content, it can be done.  Anything you can think of you can do.  Proof of this is easy enough to find, since from what I can tell every theme that StudioPress has available is a child theme of Genesis.</p><p>On top of all this, StudioPress has an active community of users and developers on their forums that can offer help to any problems people come up with.  I think anyone who really uses WordPress knows how important an active community can be.</p><p>To wrap this up, I can simplify my first impressions into one word : awesome.  I&#8217;m really looking forward to building some cool stuff on top of this theme framework, and when I do i&#8217;ll be back writing a post about it.</p> ]]></content:encoded> <wfw:commentRss>http://think2loud.com/impressions-genesis-theme-framework/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://think2loud.com/impressions-genesis-theme-framework/</feedburner:origLink></item> <item><title>Displaying custom post types on your WordPress blog homepage</title><link>http://feedproxy.google.com/~r/Think2loud/~3/E87n-yc6f0o/</link> <comments>http://think2loud.com/displaying-custom-post-types-wordpress-blog-homepage/#comments</comments> <pubDate>Fri, 16 Jul 2010 02:29:31 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://think2loud.com/?p=763</guid> <description><![CDATA[So you have created a great new custom post type in WordPress 3.0 but it doesn&#8217;t show on your homepage. To add your new post type to the homepage you could use the following code in your functions.php. As you &#8230; (&#160;<a
href="http://think2loud.com/displaying-custom-post-types-wordpress-blog-homepage/">more</a>&#160;)]]></description> <content:encoded><![CDATA[<p>So you have created a great new custom post type in WordPress 3.0 but it doesn&#8217;t show on your homepage. To add your new post type to the homepage you could use the following code in your functions.php. As you can see this code sets all the post types you would like to have displayed by using the pre_get_posts filter. I think using the filter would be great but currently it breaks the new menu&#8217;s in WordPress 3.0.</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">add_filter<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'pre_get_posts'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'my_get_posts'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> my_get_posts<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$query</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> is_home<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span>
		<span style="color: #000088;">$query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'post_type'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'post'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'page'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'album'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'movie'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'quote'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'attachment'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$query</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div><p>So to add your custom post types into the your blog homepage you can put this code just before the WordPress post loop. The following code adds in the post types you would like to use and also checks to make sure your paging still works.</p><div
class="wp_syntax"><div
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> is_home<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$paged</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>get_query_var<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'paged'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> ? get_query_var<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'paged'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
query_posts<span style="color: #009900;">&#40;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'post_type'</span><span style="color: #339933;">=&gt;</span>array<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'post'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'linkpost'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'paged'</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$paged</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div><p>if you want to read more about the first piece of code you can check it out on <a
href="http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page">Justin Tadlock&#8217;s</a> blog.</p> ]]></content:encoded> <wfw:commentRss>http://think2loud.com/displaying-custom-post-types-wordpress-blog-homepage/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://think2loud.com/displaying-custom-post-types-wordpress-blog-homepage/</feedburner:origLink></item> <item><title>WordPress Hosting</title><link>http://feedproxy.google.com/~r/Think2loud/~3/F_y9V_6D_-g/</link> <comments>http://think2loud.com/wordpress-hosting/#comments</comments> <pubDate>Wed, 14 Jul 2010 02:58:35 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://think2loud.com/?p=745</guid> <description><![CDATA[Think2Loud had been on shared hosting for just under two years, before I finally decided to take the leap and set up my own server. A few months ago I was reading a blog post by WooThemes about their new &#8230; (&#160;<a
href="http://think2loud.com/wordpress-hosting/">more</a>&#160;)]]></description> <content:encoded><![CDATA[<p>Think2Loud had been on shared hosting for just under two years, before I finally decided to take the leap and set up my own server. A few months ago I was reading a blog post by <a
href="http://www.woothemes.com/2010/04/our-setup/">WooThemes</a> about their new hosting setup. After reading about their insane hosting setup, I started doing a little research on <a
href="http://www.vps.net/?r=clVz">VPS.net</a> and came across a great article on <a
href="http://yoast.com">Yoast.com</a> about <a
href="http://yoast.com/articles/wordpress-hosting/">WordPress hosting</a>. So going by what WooThemes had recently setup and what Yoast recommend, I moved Think2Loud to a <a
href="http://www.vps.net/?r=clVz">VPS.net Cloud Server</a>. I couldn’t be happier with the results. Not only does VPS.net have a great product for hosting WordPress but they are also extremely helpful and quick to respond to questions. So if you are looking for new hosting, be sure to check out a <a
href="http://www.vps.net/?r=clVz">VPS.net Cloud Server</a>.</p><h2>VPS.net WordPress Hosting</h2><p>Think2Loud doesn’t yet need the power that Yoast.com is running on. I got a VPS.net Cloud Server with the following setup on it, and what&#8217;s more, I did it all on my own. Yoast mentions in their WordPress article that if you buy 6 nodes or more, VPS.net will set you up with exactly what they have. Since Think2Loud currently only has about 15K visits a month, I couldn’t justify that much power. With some help from the VPS.net forums and following Yoast’s setup list, this is what I have running:</p><ul><li>1 Cloud Server at VPS.net, (2 nodes at the moment, tried 1 and there was just not enough RAM)</li><li>Centos with CPanel in the Atlanta cloud</li><li>replaced Apache with <a
href="http://litespeedtech.com/">LiteSpeed</a> (this really is easy )</li><li>installed <a
href="http://pecl.php.net/package/APC">APC</a> so I could do database and output caching with the <a
href="http://www.w3-edge.com/wordpress-plugins/w3-total-cache/">W3 Total Cache plugin</a></li><li>and of course a CDN. I went with <a
href="http://maxcdn.com">MaxCDN</a> because they were the best deal I could find</li></ul><p>Pretty simple, right? Now there are a few things that I would like to share with you about VPS.net and the setup they have. I couldn’t find this info anywhere on the web but you may find it valuable. I know it made my day once I signed up and got started.</p><ul><li>CPanel and WHM are monthly add-ons and VPS.net does the licensing.</li><li>LiteSpeed is also a monthly add-on and has a CPanel module. VPS.net also takes care of the license.</li><li>TThere is a small fee for there snapshot service. (Get it! you can never have too many backups).</li><li>I also setup Rsync on my server with the help of VPS.net. Again, there is a small fee, but it backs up everything.</li></ul><p>That&#8217;s it! With just a little work, you can have one lean, mean, WordPress hosting machine. Be sure to check out the <a
href="http://yoast.com/articles/wordpress-hosting/">WordPress hosting</a> article over at Yoast.com, and I would like to thank them for pointing me to a great hosting service.</p> ]]></content:encoded> <wfw:commentRss>http://think2loud.com/wordpress-hosting/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://think2loud.com/wordpress-hosting/</feedburner:origLink></item> <item><title>Sencha Touch: The HTML5 Mobile App Framework</title><link>http://feedproxy.google.com/~r/Think2loud/~3/apadCNClrPQ/</link> <comments>http://think2loud.com/linkpost/sencha-touch-html5-mobile-app-framework/#comments</comments> <pubDate>Fri, 09 Jul 2010 13:29:34 +0000</pubDate> <dc:creator>Josh</dc:creator> <guid isPermaLink="false">http://think2loud.com/?post_type=linkpost&amp;p=739</guid> <description><![CDATA[Mobile application development certainly is not easy but the right framework can make a huge difference. Mobiletuts+ covers the basics of Sencha Touch to help you decide if it is right for you.]]></description> <content:encoded><![CDATA[<p>Mobile application development certainly is not easy but the right framework can make a huge difference. Mobiletuts+ covers the basics of Sencha Touch to help you decide if it is right for you.</p> ]]></content:encoded> <wfw:commentRss>http://think2loud.com/linkpost/sencha-touch-html5-mobile-app-framework/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://mobile.tutsplus.com/articles/news/sencha-touch-the-html5-mobile-app-framework/</feedburner:origLink></item> </channel> </rss><!-- Served from: think2loud.com @ 2010-08-25 02:16:35 by W3 Total Cache -->
