<?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>iSynergy Webdesign Blog &#187; wordpress &#8211; iSynergy Webdesign Blog</title>
	<atom:link href="http://www.isynergywebdesign.com/blog/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.isynergywebdesign.com/blog</link>
	<description>The Official iSynergy Webdesign Blog</description>
	<lastBuildDate>Tue, 18 Jan 2011 17:50:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>iSynergy WebDesign&#8217;s Favorite Blogs</title>
		<link>http://www.isynergywebdesign.com/blog/web-design/isynergy-webdesigns-favorite-blogs/</link>
		<comments>http://www.isynergywebdesign.com/blog/web-design/isynergy-webdesigns-favorite-blogs/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 17:34:49 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[website design]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.isynergywebdesign.com/blog/?p=156</guid>
		<description><![CDATA[Working in Web Design and Web Development generally has us using the web a lot (obviously). As such, we come across a lot of blogs and various websites that are often entertaining, helpful, inspirational, and down-right funny. We just wanted to take a little time and share some of our favorite blogs that we frequent [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Working in Web Design and Web Development generally has us using the web a lot (obviously). As such, we come across a lot of blogs and various websites that are often entertaining, helpful, inspirational, and down-right funny. We just wanted to take a little time and share some of our favorite blogs that we frequent as part of our professional habits or on our personal time.</p>
<p>In alphabetical particular order:</p>
<h3><a href="http://blog.alistapart.com/">A List Apart</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/alistapart.jpg"><img class="aligncenter size-medium wp-image-158" title="A List Apart" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/alistapart-300x150.jpg" alt="A List Apart" width="300" height="150" /></a></p>
<p>A List Apart isn’t so much a blog as a web magazine (they print new content based on issue numbers). However, when it comes to being a helpful resource in the web design industry, there probably isn’t a better place to find cutting edge design and development information focused on web standards and best practices.</p>
<h3><a href="http://blogs.adobe.com/">Adobe Blogs</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/adobe.jpg"><img class="aligncenter size-medium wp-image-157" title="Adobe Blogs" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/adobe-300x150.jpg" alt="Adobe Blogs" width="300" height="150" /></a></p>
<p>Being in the design industry, it is imperative we keep up with the latest when it comes to all things Adobe. Along with news on the Adobe front, it is also a great source for tutorials, tips, and tricks on your favorite Adobe software.</p>
<p><span id="more-156"></span></p>
<h3><a href="http://blogcritics.com/">Blogcritics</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/blogcritics.jpg"><img class="aligncenter size-medium wp-image-159" title="Blogcritics" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/blogcritics-300x150.jpg" alt="Blogcritics" width="300" height="150" /></a></p>
<p>Blogcritics is a great source for all sorts of topics, from TV, Music, Culture, Books, Sports, Politics, to Gaming, and Science/Technology.  Blogcritics consists of a collection of writers from all over and has an open policy on who can write for them. You or your neighbor could be their Writer of the Day.</p>
<h3><a href="http://gizmodo.com/">Gizmodo</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/gizmodo.jpg"><img class="aligncenter size-medium wp-image-160" title="Gizmodo" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/gizmodo-300x150.jpg" alt="Gizmodo" width="300" height="150" /></a></p>
<p>Gizmodo is your must visit blog for all your gadgetry needs. Want to find out the latest about that smart phone app that will increase your productivity 10 folds? Well Gizmodo says there’s already one that will increase it 20 folds, so how about that?</p>
<h3><a href="http://kotaku.com/">Kotaku</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/kotaku.jpg"><img class="aligncenter size-medium wp-image-161" title="Kotaku" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/kotaku-300x150.jpg" alt="Kotaku" width="300" height="150" /></a></p>
<p>OK, we admit, we have a bit of the geek-side in us and we like to get our gaming fix in every now and then. Kotaku is great way to keep up-to-date on that fix when we’re not actually gaming.</p>
<h3><a href="http://www.logodesignlove.com/">Logo Design Love</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/logodesignlove.jpg"><img class="aligncenter size-medium wp-image-162" title="Logo Design Love" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/logodesignlove-300x150.jpg" alt="Logo Design Love" width="300" height="150" /></a></p>
<p>Logo Design Love is a blog focused around, you guessed it, logo design. It’s a great source for getting an interesting look at or getting inspiration from logo design.</p>
<h3><a href="http://ma.tt/">Matt Mullenweg</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/mattmullenweg.jpg"><img class="aligncenter size-medium wp-image-163" title="Matt Mullenweg" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/mattmullenweg-300x150.jpg" alt="Matt Mullenweg" width="300" height="150" /></a></p>
<p>In case you haven’t figured it out yet, we, here at iSynergy WebDesign, love WordPress. We use it for our own blogs and for some of our clients who want to run blogs or a light-weight CMS. As such, we like to follow Matt Mullenweg, who bears the title of being the founding developer of WordPress.</p>
<h3><a href="http://slickdeals.net/blog/">Slickdeals Blog</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/slickdeals.jpg"><img class="aligncenter size-medium wp-image-164" title="Slickdeals Blog" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/slickdeals-300x150.jpg" alt="Slickdeals Blog" width="300" height="150" /></a></p>
<p>We, here at iSynergy, are bargain hunters and we love Slickdeals for feeding us our regular dosage of deals. Slickdeals also has a blog, beyond their deal posts, and it’s often an insightful and entertaining blog in the world of financials, employment, and bargain shopping.</p>
<h3><a href="http://www.smashapps.org/">Smashapps</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/smashapps.jpg"><img class="aligncenter size-medium wp-image-165" title="Smashapps" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/smashapps-300x150.jpg" alt="Smashapps" width="300" height="150" /></a></p>
<p>Smashapps provides the latest news and discussion on things related to blogging, web design, and generally, any internet-based tools that can help you get a leg up in the industry.</p>
<h3><a href="http://www.theonion.com/">The Onion</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/theonion.jpg"><img class="aligncenter size-medium wp-image-171" title="The Onion" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/theonion-300x150.jpg" alt="The Onion" width="300" height="150" /></a></p>
<p>The Onion has been around for quite some time and is still a great source for hilarious fake news. Love the parodies and the absurdity of some of the articles, especially when they hit a note where they’re saying what the real news is actually afraid to say.</p>
<h3><a href="http://vandelaydesign.com/blog/">Vandelay Design</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/vandelaydesign.jpg"><img class="aligncenter size-medium wp-image-166" title="Vandelay Design" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/vandelaydesign-300x150.jpg" alt="Vandelay Design" width="300" height="150" /></a></p>
<p>Vandelay Design blog is a great resource for various tidbits on anything pertaining to design, be it inspirational imagery, interesting photography, admirable artwork, or technical web design.</p>
<h3><a href="http://webdesignledger.com/">Web Design Ledger</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/webdesignledger.jpg"><img class="aligncenter size-medium wp-image-168" title="Web Design Ledger" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/webdesignledger-300x150.jpg" alt="Web Design Ledger" width="300" height="150" /></a></p>
<p>Web Design Ledger is a great resource for tips, tools, and tutorials for web design. You can often find some controversial but informative topics. Also, their posts can get technical, but it is a web design blog after all and part of web design is in the implementation.</p>
<h3><a href="http://www.webdesignerwall.com/">Web Designer Wall</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/webdesignerwall.jpg"><img class="aligncenter size-medium wp-image-167" title="Web Designer Wall" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/webdesignerwall-300x150.jpg" alt="Web Designer Wall" width="300" height="150" /></a></p>
<p>If for anything else, the Web Designer Wall is one of the more gorgeously designed blogs out there. It has a chaotic feel but yet elegant. Besides the visual beauty itself, though, the content within it is great for web designers, including tutorials, tips, and general ideas on web technology and design.</p>
<h3><a href="http://www.websitemagazine.com/">Website Magazine</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/websitemagazine.jpg"><img class="aligncenter size-medium wp-image-169" title="Website Magazine" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/websitemagazine-300x150.jpg" alt="Website Magazine" width="300" height="150" /></a></p>
<p>Website Magazine is a great place for news and information on the latest and greatest on anything pertaining to the website design and success.</p>
<h3><a href="http://yoast.com/">Yoast</a></h3>
<p><a href="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/yoast.jpg"><img class="aligncenter size-medium wp-image-170" title="Yoast" src="http://www.isynergywebdesign.com/blog/wp-content/uploads/2011/01/yoast-300x150.jpg" alt="Yoast" width="300" height="150" /></a></p>
<p>At iSynergy, we do a lot of work with WordPress (this blog uses it) and Magento (an e-commerce platform). Yoast is a great place for tips, plugins, and general information for both of these things.</p>
<p>What are some of your favorite blogs? Let us know in the comments.<span id="_marker"> </span></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.isynergywebdesign.com/blog/web-design/isynergy-webdesigns-favorite-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>URL Shortening &#8211; Sociable Plug-In 3.5.1</title>
		<link>http://www.isynergywebdesign.com/blog/web-design/tutorials/url-shortening-sociable-plugin-3-5-1/</link>
		<comments>http://www.isynergywebdesign.com/blog/web-design/tutorials/url-shortening-sociable-plugin-3-5-1/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 18:05:36 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://www.isynergywebdesign.com/blog/?p=94</guid>
		<description><![CDATA[Back in August, we wrote a little tutorial on how to update the Sociable WordPress plugin by Joost de Valk to use a URL shortener and add Google Tracking. We&#8217;ve updated our download for the recent release of 3.5.1. To download the latest package: sociable-bitly-mod-3.5.1 See the original post here: URL Shortening and Tracking in [...]<h3>Related posts:</h3><ol>
<li><a href='http://www.isynergywebdesign.com/blog/web-design/tutorials/url-shortening-and-tracking-in-wordpress-sociable-plug-in/' rel='bookmark' title='URL Shortening and Tracking in WordPress: Sociable Plug-in'>URL Shortening and Tracking in WordPress: Sociable Plug-in</a></li>
<li><a href='http://www.isynergywebdesign.com/blog/web-design/tutorials/html-validation-for-sociable-wordpress-plug-in/' rel='bookmark' title='HTML Validation for Sociable WordPress Plug-In'>HTML Validation for Sociable WordPress Plug-In</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Back in August, we wrote a little tutorial on how to update the <a href="http://wordpress.org/extend/plugins/sociable/">Sociable</a> WordPress plugin by <a href="http://yoast.com/">Joost de Valk</a> to use a URL shortener and add Google Tracking. We&#8217;ve updated our download for the recent release of 3.5.1.</p>
<p>To download the latest package: <a href='http://www.isynergywebdesign.com/blog/wp-content/uploads/2009/08/sociable-bitly-mod-3.5.1.zip'>sociable-bitly-mod-3.5.1</a></p>
<p>See the original post here: <a href="http://www.isynergywebdesign.com/blog/web-design/tutorials/url-shortening-and-tracking-in-wordpress-sociable-plug-in/">URL Shortening and Tracking in WordPress: Sociable Plug-in</a></p>
<h3>Related posts:</h3><ol>
<li><a href='http://www.isynergywebdesign.com/blog/web-design/tutorials/url-shortening-and-tracking-in-wordpress-sociable-plug-in/' rel='bookmark' title='URL Shortening and Tracking in WordPress: Sociable Plug-in'>URL Shortening and Tracking in WordPress: Sociable Plug-in</a></li>
<li><a href='http://www.isynergywebdesign.com/blog/web-design/tutorials/html-validation-for-sociable-wordpress-plug-in/' rel='bookmark' title='HTML Validation for Sociable WordPress Plug-In'>HTML Validation for Sociable WordPress Plug-In</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.isynergywebdesign.com/blog/web-design/tutorials/url-shortening-sociable-plugin-3-5-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing WordPress Multibox Plugin</title>
		<link>http://www.isynergywebdesign.com/blog/web-design/tutorials/fixing-wordpress-multibox-plugin/</link>
		<comments>http://www.isynergywebdesign.com/blog/web-design/tutorials/fixing-wordpress-multibox-plugin/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 18:01:19 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[video overlay]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://www.isynergywebdesign.com/blog/?p=81</guid>
		<description><![CDATA[The WordPress Multibox Plugin is another great plugin for WordPress. We don&#8217;t use it here on the official iSynergy Webdesign blog, but we do use it in a few other implementations for clients. It&#8217;s great because, unlike most lightbox effects, it works with things other than images. It can add overlay effects to videos, pdfs, [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://wordpress.org/extend/plugins/wordpress-multibox-plugin/">WordPress Multibox Plugin</a> is another great plugin for WordPress. We don&#8217;t use it here on the official iSynergy Webdesign blog, but we do use it in a few other implementations for clients. It&#8217;s great because, unlike most lightbox effects, it works with things other than images. It can add overlay effects to videos, pdfs, and any other web-based content.</p>
<p>However, there&#8217;s a minor problem with the multibox.js script. It appears to break within Firefox when the overlay effect is placed on only 1 object on the page (which happens quite often in individual posts). It has to do with the playNextButton and playPreviousButton objects that show up in slideshow mode. When there&#8217;s only 1 object with the overlay effect, the two buttons become undefined and end up breaking the overlay script.</p>
<p>To fix this, we&#8217;ll have to modify the js file within the plugin. Depending on which mootools version you&#8217;re using for the plugin, go into the plugin folder and navigate to either mtv111 (for mootools 1.11) or mtv120 (for mootools 1.2) and open either the multibox.js (for mootools 1.11) or multibox-1.3.1.js(for mootools 1.2).</p>
<p><span id="more-81"></span></p>
<p>For multibox.js, find line 95. For multibox-1.3.1.js, find line 97. Note the following lines of code:</p>
<pre><code>if(this.options.slideshow) {
	this.playPreviousButton = new Element('div').addClass('MultiBoxPlayPrevious').injectInside(this.controls).addEvent('click', this.playprevious.bind(this));
	this.playNextButton = new Element('div').addClass('MultiBoxPlayNext').injectInside(this.controls).addEvent('click', this.playnext.bind(this));
}
</code></pre>
<p>Essentially, the playPreviousButton and playNextButton elements aren&#8217;t created unless the slideshow option is on. This is the culprit that causes the undefined that occurs later in the script.</p>
<p>Now to actually fix this problem, for multibox.js, find line 115, for multibox-1.3.1.js, find line 118. The lines correspond to the following code:</p>
<pre><code>this.playNextButton.setStyle('display', 'none');
this.playPreviousButton.setStyle('display', 'none');
</code></pre>
<p>To fix the problem, we&#8217;ll just nest the above code within an if statement that is the same as the one used to create the elements to begin with. Our final bit of code should look like this:</p>
<pre><code>if(this.options.slideshow) {
	this.playNextButton.setStyle('display', 'none');
	this.playPreviousButton.setStyle('display', 'none');
}
</code></pre>
<p>So essentially, if it&#8217;s not in slideshow mode, we won&#8217;t create the elements and we won&#8217;t call the elements later, either. That&#8217;s it.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.isynergywebdesign.com/blog/web-design/tutorials/fixing-wordpress-multibox-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>URL Shortening and Tracking in WordPress: Sociable Plug-in</title>
		<link>http://www.isynergywebdesign.com/blog/web-design/tutorials/url-shortening-and-tracking-in-wordpress-sociable-plug-in/</link>
		<comments>http://www.isynergywebdesign.com/blog/web-design/tutorials/url-shortening-and-tracking-in-wordpress-sociable-plug-in/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 18:57:33 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://www.isynergywebdesign.com/blog/?p=69</guid>
		<description><![CDATA[The Sociable WordPress plug-in is a great extension and we use it here at the official iSynergy Webdesign blog, but it&#8217;s still missing a few key features. Tracking One key feature is the ability to track the data of how many shares are made through sociable. Using Google Analytics, it&#8217;s possible to set up event [...]<h3>Related posts:</h3><ol>
<li><a href='http://www.isynergywebdesign.com/blog/web-design/tutorials/url-shortening-sociable-plugin-3-5-1/' rel='bookmark' title='URL Shortening &#8211; Sociable Plug-In 3.5.1'>URL Shortening &#8211; Sociable Plug-In 3.5.1</a></li>
<li><a href='http://www.isynergywebdesign.com/blog/web-design/tutorials/html-validation-for-sociable-wordpress-plug-in/' rel='bookmark' title='HTML Validation for Sociable WordPress Plug-In'>HTML Validation for Sociable WordPress Plug-In</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://wordpress.org/extend/plugins/sociable/">Sociable</a> WordPress plug-in is a great extension and we use it here at the official iSynergy Webdesign blog, but it&#8217;s still missing a few key features.</p>
<h3>Tracking</h3>
<p>One key feature is the ability to track the data of how many shares are made through sociable. Using <a href="http://www.google.com/analytics">Google Analytics</a>, it&#8217;s possible to set up event tracking as a means to keep tabs on the data.</p>
<p>To do this, go into the sociable plug-in folder and open the social.php file in a text editor. Go to line 703 or look for the following code (for 3.4.4):</p>
<pre><code>$link .= " href=\"javascript:window.location='".urlencode($url)."';\" title=\"$description\">";</code></pre>
<p>or the following (For 3.5.1 and 3.5.2):</p>
<pre><code>$link .= " href=\"".$url."\" title=\"$description\">";</code></pre>
<p>Add the following into the anchor tag:</p>
<pre><code> onclick=\"pageTracker._trackEvent('Sociable', 'Shared Link', '".$title."');\"</code></pre>
<p>The code should look like this after (for 3.4.4):</p>
<pre><code>$link .= " href=\"javascript:window.location='".urlencode($url)."';\" title=\"$description\" onclick=\"pageTracker._trackEvent('Sociable', 'Shared Link', '".$title."');\">";</code></pre>
<p>Or like this (for 3.5.1 or 3.5.2):</p>
<pre><code>$link .= " href=\"".$url."\" title=\"$description\" onclick=\"pageTracker._trackEvent('Sociable', 'Shared Link', '".$title."');\">";</code></pre>
<p>And that&#8217;s it. As long as you have Google Analytics set up on the page already, it should start tracking events for sociable links.</p>
<p>Note: you can find event tracking in Google Analytics under: Content > Event Tracking</p>
<p><span id="more-69"></span></p>
<h3>URL Shortening</h3>
<p>Another key feature is the ability to use a URL shortener other than <a href="http://totally.awe.sm/">awe.sm</a>. The problem with awe.sm is that it&#8217;s in beta and it isn&#8217;t publicly open to everyone. You have to apply and hope to be accepted in order to use it. URL shorteners are essential to some of the sociable links, such as Twitter, which limit the amount of characters you can use in the share message. So how can we get a URL shortener to work other than using awe.sm?</p>
<p>Well, I&#8217;ve found and adapted a way to use a URL shortener by way of <a href="http://bit.ly">bit.ly</a>. I&#8217;m basing this off a topic from <a href="http://wordpress.org/support/topic/291638#post-1145969">here</a>. Much the same as that post, it requires modifications to the sociable plug-in. Which essentially means that the con of this modification is that it won&#8217;t work if you update the sociable plug-in with another official release in the future. However, it may not be too difficult to get it working again after an update. Just a few copy and pasting here and there. Anyway, the following is how to get it done:</p>
<p>Go into the sociable plug-in folder and look for the sociable.php file. Open it and search for the following line of code:</p>
<pre><code>$sociable_known_sites = Array(</code></pre>
<p>Under that array is a list of all the social sites that sociable supports. From here, you can pick and choose any of the social sites and replace the url string with the following:</p>
<pre><code>'url' => $sociablepluginpath.'bitly.php?url=PERMALINK&#038;title=TITLE&#038;blogname=BLOGNAME&#038;socialsite=[SOCIAL SITE]',</code></pre>
<p>Be sure to replace [SOCIAL SITE] with the name of the social site that is associated with the string.</p>
<p>Now, create a new file called bitly.php in the sociable plug-in folder and paste in the following:</p>
<pre><code>$url = $_GET['url'];
$excerpt = $_GET['excerpt'];
$blogname = $_GET['blogname'];
$title = $_GET['title'];
$sociablesite = $_GET['socialsite'];

// Ondemand function to generate dynamic bit.ly urls
function getBitlyUrl($url) {
    // fill up this 2 lines below with your login and api key
    $bitlylogin = '[BITLY LOGIN]';
    $bitlyapikey= '[BITLY API KEY]';

    // you dont need to change below this line
    $bitlyurl = file_get_contents('http://api.bit.ly/shorten?version=2.0.1&#038;longUrl='.$url.'&#038;login='.$bitlylogin.'&#038;apiKey='.$bitlyapikey);  

    $bitlycontent = json_decode($bitlyurl,true);

    $bitlyerror = $bitlycontent["errorCode"];

    if ($bitlyerror == 0){
        $bitlyurl = $bitlycontent["results"][$url]["shortUrl"];
    }
    else $bitlyurl = $url;

    return $bitlyurl;
}</code></pre>
<p>Be sure to replace [BITLY LOGIN] and [BITLY API KEY] with the appropriate credentials (you can acquire them from <a href="http://bit.ly">bit.ly</a> once you create an account).</p>
<p>Next, below the above code, add in the following:</p>
<pre><code>if ($sociablesite == 'Twitthis') {
	header('Location: http://twitter.com/home?status='.$title.'%20-%20'.getBitlyUrl($url));
	exit;
} elseif ($sociablesite == 'Twitter') {
	header('Location: http://twitter.com/home?status='.$title.'%20-%20'.getBitlyUrl($url));
	exit;
}</code></pre>
<p>Note the following code:</p>
<pre><code>$sociablesite == 'Twitter'</code></pre>
<p>The &#8216;Twitter&#8217; and &#8216;Twitthis&#8217; needs to be the same exact word/phrase as the word/phrase that was used to replace [SOCIAL SITE] within the sociable.php file.</p>
<p>If you want to do it for other supported sites, all you have to do is duplicate the elseif statement and replace the $sociablesite variable and the location with the matching url from the sociable.php array.</p>
<p>[UPDATED 02/18/2010]</p>
<p>You can download the completed files here:<br />
3.5.2 &#8211; <a href='http://www.isynergywebdesign.com/blog/wp-content/uploads/2009/08/sociable-bitly-mod-3.5.2.zip'>sociable-bitly-mod-3.5.2</a><br />
3.5.1 &#8211; <a href='http://www.isynergywebdesign.com/blog/wp-content/uploads/2009/08/sociable-bitly-mod-3.5.1.zip'>sociable-bitly-mod-3.5.1</a><br />
3.4.4 &#8211; <a href='http://www.isynergywebdesign.com/blog/wp-content/uploads/2009/08/sociable-bitly-mod-3.4.4.zip'>sociable-bitly-mod-3.4.4</a></p>
<p>The above set of files also includes the modifications from <a href="http://www.isynergywebdesign.com/blog/web-design/tutorials/html-validation-for-sociable-wordpress-plug-in/">HTML Validation for Sociable WordPress Plug-In</a>.</p>
<p>[END UPDATE]</p>
<p>It contains both the modified sociable.php file (including google tracking) and the completed bitly.php file. It&#8217;s also only set up for a few select sites (BarraPunto, email, Facebook, FriendFeed, Identi.ca, Ping.fm, Techmeme, and Twitthis/Twitter). Some of the social sites (Digg, StumbleUpon) don&#8217;t work with bit.ly or disallow the use of shortened URLs, so it may not be advisable to set up bit.ly for them. However, the bitly.php file contains all the sites, so, you can set it up to use bit.ly if you want. All you have to do is find the site you want in sociable.php and replace the url string with the modified url string from above.</p>
<p><strong>Important Note</strong>: The provided bitly.php has a placeholder for the [BITLY LOGIN] and [BITLY API KEY]. You will need to enter your own credentials for this to work.</p>
<h3>Related posts:</h3><ol>
<li><a href='http://www.isynergywebdesign.com/blog/web-design/tutorials/url-shortening-sociable-plugin-3-5-1/' rel='bookmark' title='URL Shortening &#8211; Sociable Plug-In 3.5.1'>URL Shortening &#8211; Sociable Plug-In 3.5.1</a></li>
<li><a href='http://www.isynergywebdesign.com/blog/web-design/tutorials/html-validation-for-sociable-wordpress-plug-in/' rel='bookmark' title='HTML Validation for Sociable WordPress Plug-In'>HTML Validation for Sociable WordPress Plug-In</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.isynergywebdesign.com/blog/web-design/tutorials/url-shortening-and-tracking-in-wordpress-sociable-plug-in/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

