<?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>Webstractions Web Development &#187; wordpress plugins</title>
	<atom:link href="http://webstractions.com/tag/wordpress-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://webstractions.com</link>
	<description>Abstract thoughts in web design and development.</description>
	<lastBuildDate>Wed, 02 Mar 2011 12:22:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Jazzing Up Yoast&#8217;s Sociable WordPress Plugin to Spur More Sharing</title>
		<link>http://webstractions.com/wordpress/jazzing-up-yoasts-sociable-wordpress-plugin/</link>
		<comments>http://webstractions.com/wordpress/jazzing-up-yoasts-sociable-wordpress-plugin/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 19:57:34 +0000</pubDate>
		<dc:creator>Ronnie T. Dodger</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[bookmarking]]></category>
		<category><![CDATA[Joost de Valk]]></category>
		<category><![CDATA[sharing]]></category>
		<category><![CDATA[sociable]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[wordpress plugins]]></category>
		<category><![CDATA[yoast]]></category>

		<guid isPermaLink="false">http://webstractions.com/?p=195</guid>
		<description><![CDATA[Why are social bookmark icons so tiny? Dimmed? Let's jazz up the Yoast Sociable WordPress plugin, and make loud, in-your-face calls to action. Instructions and guidelines for swapping in larger-sized images sets and some CSS basics to induce readers to share more often. ]]></description>
			<content:encoded><![CDATA[<p class="note">The general idea behind this article was to allow for modifying your own icon sets for the Sociable WordPress plugin. That capability is now incorporated into later versions, so this article basically does not apply anymore. With that said, I have since moved on to <a href="http://wordpress.org/extend/plugins/sexybookmarks/">SexyBookmarks</a> for personal taste.</p>
<p>Yoast&#8217;s <a href="http://yoast.com/wordpress/sociable/">Sociable</a> plugin for WordPress is a popular tool to display social bookmarking <i>buttons</i> to quickly Digg, Stumble, Tweet, or otherwise share your posts with the World. </p>
<p>My problem, or maybe it is just a preference, is that I do not like teeny-tiny 16&#215;16 icons. I want large in-your-face icons that just shout out <em>&#8220;click me now&#8221;</em>. </p>
<p>The current design is great for a location inline with your post heading. But the Sociable block of code follows your post or page content. </p>
<p>Assuming that your reader has ventured to the end of the post and has been interested, then <em>shout</em> at him/her with larger-than-life calls to action. Make it easy for them to see the buttons, do not dim them.  Make them want to click that button now! </p>
<h2>First replace the default icon set, two methods</h2>
<p>Venture around on the web and look for a set of social bookmarking icons that will fit in nicely with your theme. There are several free icon sets out there &#8211; Google it. Or, you could just create your own (I can&#8217;t, not that graphically talented.)</p>
<p>Once you have found your icon set, rename image filenames to match the Sociable icon filenames. You may do this to none, some, or all of the files. Depends on the set.</p>
<p><strong>Method One:</strong> Upload all of the new icons to the Yoast Sociable image directory, directly overwriting them. Keep a backup of your new icons for safe keeping in case Sociable update resets or you want to use for other theme designs.</p>
<p> Sociable image directory can be found in:<br />
<code><br />
 (WPInstallDirectory)/wp-content/plugins/sociable/images<br />
</code></p>
<p><strong>Method Two:</strong> Create a directory for your new icons inside of the Yoast Sociable image directory.</p>
<p>Open and edit main Sociable file <kbd>sociable.php</kbd> per the following:</p>
<pre name="code" class ="php">
// Find the following line around line 600:
$imagepath = $sociablepluginpath.'images/';

// Revise $imagepath to point to new directory
$imagepath = $sociablepluginpath.'images/newdirectoryname';
</pre>
<blockquote><p><strong>Hey Joost:</strong> It would be great to allow the user to set a custom directory for icon image sets.  It would  extend  Sociable very nicely, allowing people to plop image sets in easily. </p></blockquote>
<p><strong>Image filetypes:</strong> The image filetypes of your custom icon set may not match the hard coded filetypes in the Sociable plugin.  Filetypes are mostly PNG though, with some GIFs here &#038; there. </p>
<p>You can either convert your icon to the Sociable image type, or edit the plugin code </p>
<p>I was lazy and edited the plugin! <img src='http://webstractions.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  But you should probably convert to the correct type, and preserve the transparent areas of the image as well. </p>
<blockquote><p><strong>Another suggestion:</strong> Since most freely available icon sets on the Internet are PNG format, perhaps converting all icons in the default Sociable set to PNG? This would facilitate easy swapping of PNG icon sets. Might even spur some graphically talented individuals to develop sets for Sociable &#8212; that would be kewl.
</p></blockquote>
<h2>And now, the CSS for <em>&#8220;in-your-face&#8221;</em></h2>
<p>This is the easy part. </p>
<p>First go into <strong>WpAdmin->Settings->Sociable</strong> and make sure the option for using the Sociable stylesheet is unchecked. Save your settings.</p>
<p>Add the following into your main theme stylesheet:</p>
<pre name="code" class ="css">
/*---:[ Yoast Sociable Plugin ]:---*/
.sociable { margin: 16px 0; text-align: center; background-color: #dcdcdc; border: 1px solid silver; padding: .7em 0; }
.sociable_tagline { padding-bottom: .7em;	font: bold 1.6em Verdana, Geneva, Arial, Helvetica, sans-serif;}
.sociable ul {	display: inline; margin: 0 !important;	padding: 0 !important; }
.sociable ul li {display: inline !important;	list-style-type: none; margin: .3em; padding: 1px;}
.sociable img {width: 48px; height: 48px;	}

.sociable-hovers {opacity: 1;	-moz-opacity: 1;filter: alpha(opacity=40);}
.sociable-hovers:hover {opacity: .45;-moz-opacity: .45;filter: alpha(opacity=100);}

.sociable a { border:0 !important; }
.sociable a:hover {background-color: #dcdcdc; }
</pre>
<p>Feel free to edit CSS to your own preference. This is just a basic, not hard to notice type of style. </p>
<p>Play close attention to the width/height of <kbd>.sociable img</kbd> class. I am using 48&#215;48 here. If you have a lot of icons, you may want to adjust <kbd>.sociable img</kbd> to 32&#215;32, thereby reducing the 48&#8242;s if you get squeezed for space.  </p>
<p>I suggest using only buttons for the social sites you frequent regularly, if at all possible, plus a couple of the biggies &#038; email. Focus on <em>your crowd</em> and give them the buttons they know and want to see. Too many choices for your users, and they may not notice <em>their</em> call to action.  </p>
<p>You will also notice that I reversed the hover opacity. It is set to be fully visible, and will fade when hovered over. The reasoning is that some people, myself included, find it hard to see what is there without hovering over each icon individually only to find out there is no Stumble or whatever. </p>
<p>Hopefully, this will make it easier on your readers (less difficult actually) and will spur more clicking  from them.  You want them to smack that button, so show it off. Dimming and diminishing the size of these icons seems counter-productive, silly.  </p>
<p>And feel free to test these buttons for me right now. <img src='http://webstractions.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Jazzing+Up+Yoast%27s+Sociable+WordPress+Plugin+to+Spur+More+Sharing&amp;link=http://webstractions.com/wordpress/jazzing-up-yoasts-sociable-wordpress-plugin/&amp;notes=Why%20are%20social%20bookmark%20icons%20so%20tiny%3F%20Dimmed%3F%20Let%27s%20jazz%20up%20the%20Yoast%20Sociable%20WordPress%20plugin%2C%20and%20make%20loud%2C%20in-your-face%20calls%20to%20action.%20Instructions%20and%20guidelines%20for%20swapping%20in%20larger-sized%20images%20sets%20and%20some%20CSS%20basics%20to%20induce%20readers%20to%20share%20more%20often.%20&amp;short_link=http://b2l.me/ap3u73&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Jazzing+Up+Yoast%27s+Sociable+WordPress+Plugin+to+Spur+More+Sharing&amp;link=http://webstractions.com/wordpress/jazzing-up-yoasts-sociable-wordpress-plugin/&amp;notes=Why%20are%20social%20bookmark%20icons%20so%20tiny%3F%20Dimmed%3F%20Let%27s%20jazz%20up%20the%20Yoast%20Sociable%20WordPress%20plugin%2C%20and%20make%20loud%2C%20in-your-face%20calls%20to%20action.%20Instructions%20and%20guidelines%20for%20swapping%20in%20larger-sized%20images%20sets%20and%20some%20CSS%20basics%20to%20induce%20readers%20to%20share%20more%20often.%20&amp;short_link=http://b2l.me/ap3u73&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Jazzing+Up+Yoast%27s+Sociable+WordPress+Plugin+to+Spur+More+Sharing&amp;link=http://webstractions.com/wordpress/jazzing-up-yoasts-sociable-wordpress-plugin/&amp;notes=Why%20are%20social%20bookmark%20icons%20so%20tiny%3F%20Dimmed%3F%20Let%27s%20jazz%20up%20the%20Yoast%20Sociable%20WordPress%20plugin%2C%20and%20make%20loud%2C%20in-your-face%20calls%20to%20action.%20Instructions%20and%20guidelines%20for%20swapping%20in%20larger-sized%20images%20sets%20and%20some%20CSS%20basics%20to%20induce%20readers%20to%20share%20more%20often.%20&amp;short_link=http://b2l.me/ap3u73&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="http://www.shareaholic.com/api/share/?title=Jazzing+Up+Yoast%27s+Sociable+WordPress+Plugin+to+Spur+More+Sharing&amp;link=http://webstractions.com/wordpress/jazzing-up-yoasts-sociable-wordpress-plugin/&amp;notes=Why%20are%20social%20bookmark%20icons%20so%20tiny%3F%20Dimmed%3F%20Let%27s%20jazz%20up%20the%20Yoast%20Sociable%20WordPress%20plugin%2C%20and%20make%20loud%2C%20in-your-face%20calls%20to%20action.%20Instructions%20and%20guidelines%20for%20swapping%20in%20larger-sized%20images%20sets%20and%20some%20CSS%20basics%20to%20induce%20readers%20to%20share%20more%20often.%20&amp;short_link=http://b2l.me/ap3u73&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=52&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Jazzing+Up+Yoast%27s+Sociable+WordPress+Plugin+to+Spur+More+Sharing&amp;link=http://webstractions.com/wordpress/jazzing-up-yoasts-sociable-wordpress-plugin/&amp;notes=Why%20are%20social%20bookmark%20icons%20so%20tiny%3F%20Dimmed%3F%20Let%27s%20jazz%20up%20the%20Yoast%20Sociable%20WordPress%20plugin%2C%20and%20make%20loud%2C%20in-your-face%20calls%20to%20action.%20Instructions%20and%20guidelines%20for%20swapping%20in%20larger-sized%20images%20sets%20and%20some%20CSS%20basics%20to%20induce%20readers%20to%20share%20more%20often.%20&amp;short_link=http://b2l.me/ap3u73&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Jazzing+Up+Yoast%27s+Sociable+WordPress+Plugin+to+Spur+More+Sharing&amp;link=http://webstractions.com/wordpress/jazzing-up-yoasts-sociable-wordpress-plugin/&amp;notes=Why%20are%20social%20bookmark%20icons%20so%20tiny%3F%20Dimmed%3F%20Let%27s%20jazz%20up%20the%20Yoast%20Sociable%20WordPress%20plugin%2C%20and%20make%20loud%2C%20in-your-face%20calls%20to%20action.%20Instructions%20and%20guidelines%20for%20swapping%20in%20larger-sized%20images%20sets%20and%20some%20CSS%20basics%20to%20induce%20readers%20to%20share%20more%20often.%20&amp;short_link=http://b2l.me/ap3u73&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Jazzing+Up+Yoast%27s+Sociable+WordPress+Plugin+to+Spur+More+Sharing&amp;link=http://webstractions.com/wordpress/jazzing-up-yoasts-sociable-wordpress-plugin/&amp;notes=Why%20are%20social%20bookmark%20icons%20so%20tiny%3F%20Dimmed%3F%20Let%27s%20jazz%20up%20the%20Yoast%20Sociable%20WordPress%20plugin%2C%20and%20make%20loud%2C%20in-your-face%20calls%20to%20action.%20Instructions%20and%20guidelines%20for%20swapping%20in%20larger-sized%20images%20sets%20and%20some%20CSS%20basics%20to%20induce%20readers%20to%20share%20more%20often.%20&amp;short_link=http://b2l.me/ap3u73&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.shareaholic.com/api/share/?title=Jazzing+Up+Yoast%27s+Sociable+WordPress+Plugin+to+Spur+More+Sharing&amp;link=http://webstractions.com/wordpress/jazzing-up-yoasts-sociable-wordpress-plugin/&amp;notes=Why%20are%20social%20bookmark%20icons%20so%20tiny%3F%20Dimmed%3F%20Let%27s%20jazz%20up%20the%20Yoast%20Sociable%20WordPress%20plugin%2C%20and%20make%20loud%2C%20in-your-face%20calls%20to%20action.%20Instructions%20and%20guidelines%20for%20swapping%20in%20larger-sized%20images%20sets%20and%20some%20CSS%20basics%20to%20induce%20readers%20to%20share%20more%20often.%20&amp;short_link=http://b2l.me/ap3u73&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=236&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://webstractions.com/wordpress/jazzing-up-yoasts-sociable-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Formatting Sample Code Snippets in WordPress</title>
		<link>http://webstractions.com/wordpress/formatting-sample-code-snippets-in-wordpress/</link>
		<comments>http://webstractions.com/wordpress/formatting-sample-code-snippets-in-wordpress/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 18:34:49 +0000</pubDate>
		<dc:creator>Ronnie T. Dodger</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[sample code formatting]]></category>
		<category><![CDATA[wordpress plugins]]></category>

		<guid isPermaLink="false">http://webstractions.com/?p=74</guid>
		<description><![CDATA[Displaying code snippets in Wordpress can be a chore. Fortunately there are several plugins to choose from. My plugin of choice is Scott Reilly's <b>Preserve Code Formatting</b> which prevents modification by WordPress and other plugins while retaining original whitespace and characters.]]></description>
			<content:encoded><![CDATA[<p class="note">Update: With the new theme on this website, I have not actually styled this sucker and all of the formatting I did prior is now lost. I may bag this plugin for another. If anyone has any suggestions, drop me a line.</p>
<p>Displaying code snippets in WordPress can be a chore. Fortunately there are several plugins to choose from that will help you maintain the original formatting. </p>
<p>My plugin of choice right now is Scott Reilly&#8217;s <a href="http://coffee2code.com/wp-plugins/preserve-code-formatting/">Preserve Code Formatting</a>. Scott&#8217;s plugin prevents modification by WordPress and other plugins while retaining original whitespace and characters.</p>
<p>I looked at other plugins that included syntax highlighting, but quickly dismissed them. Syntax highlighting produces a ton of inline style spans wrapping the code fragments, and frankly, my choice of styling choices may not agree with your choices. </p>
<p>Now I can just paste code into <kbd>&lt;code&gt;</kbd>, <kbd>&lt;pre&gt;</kbd>, and/or other tags I can additionally specify and this plugin will:</p>
<pre name="code" class="html">
<ul>
<li>Prevent WordPress from HTML-encoding text (i.e. single- and double-quotes will not become curly; <code>--</code> and <code>---</code> will not become en dash and em dash, respectively; <code>...</code> will not become a horizontal ellipsis, etc)</li>
<li>Prevent most other plugins from modifying preserved code</li>
<li>Optionally preserve whitespace (in a variety of methods)</li>
<li>Optionally preserve code added in comments</li>
</ul>
</pre>
<p>One caveat with the plugin is that you turn off the Visual Editor in your WordPress settings. No biggy, I do this anyway. </p>
<p>Another quirk to the plugin is that it appears that the code block seems to get double wrapped with the <kbd>&lt;pre&gt;</kbd> tag. Why it does this, I do not know. But I took advantage of the quirk in my style sheet to apply a border effect.</p>
<pre name="code" class="html">
<pre>     /* additional &lt;pre&gt; element added to Html output */
<pre>  /* start of my post's code snippet */
         ... my code snippet sample here
      </pre>
</pre>
</pre>
<p>The option to preserve code in comments (on by default) was left on. This will come in handy for any commenters who wish to leave sample code snippets if they wish. So give it a try, that will be kewl to do.</p>
<p>Leave a comment if you are using this plugin and tell me about it. Or another plugin that you are using. Will be interested in seeing some samples in action.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Formatting+Sample+Code+Snippets+in+Wordpress&amp;link=http://webstractions.com/wordpress/formatting-sample-code-snippets-in-wordpress/&amp;notes=Displaying%20code%20snippets%20in%20Wordpress%20can%20be%20a%20chore.%20Fortunately%20there%20are%20several%20plugins%20to%20choose%20from.%20My%20plugin%20of%20choice%20is%20Scott%20Reilly%27s%20Preserve%20Code%20Formatting%20which%20prevents%20modification%20by%20WordPress%20and%20other%20plugins%20while%20retaining%20original%20whitespace%20and%20characters.&amp;short_link=http://b2l.me/ap3wng&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Formatting+Sample+Code+Snippets+in+Wordpress&amp;link=http://webstractions.com/wordpress/formatting-sample-code-snippets-in-wordpress/&amp;notes=Displaying%20code%20snippets%20in%20Wordpress%20can%20be%20a%20chore.%20Fortunately%20there%20are%20several%20plugins%20to%20choose%20from.%20My%20plugin%20of%20choice%20is%20Scott%20Reilly%27s%20Preserve%20Code%20Formatting%20which%20prevents%20modification%20by%20WordPress%20and%20other%20plugins%20while%20retaining%20original%20whitespace%20and%20characters.&amp;short_link=http://b2l.me/ap3wng&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Formatting+Sample+Code+Snippets+in+Wordpress&amp;link=http://webstractions.com/wordpress/formatting-sample-code-snippets-in-wordpress/&amp;notes=Displaying%20code%20snippets%20in%20Wordpress%20can%20be%20a%20chore.%20Fortunately%20there%20are%20several%20plugins%20to%20choose%20from.%20My%20plugin%20of%20choice%20is%20Scott%20Reilly%27s%20Preserve%20Code%20Formatting%20which%20prevents%20modification%20by%20WordPress%20and%20other%20plugins%20while%20retaining%20original%20whitespace%20and%20characters.&amp;short_link=http://b2l.me/ap3wng&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="http://www.shareaholic.com/api/share/?title=Formatting+Sample+Code+Snippets+in+Wordpress&amp;link=http://webstractions.com/wordpress/formatting-sample-code-snippets-in-wordpress/&amp;notes=Displaying%20code%20snippets%20in%20Wordpress%20can%20be%20a%20chore.%20Fortunately%20there%20are%20several%20plugins%20to%20choose%20from.%20My%20plugin%20of%20choice%20is%20Scott%20Reilly%27s%20Preserve%20Code%20Formatting%20which%20prevents%20modification%20by%20WordPress%20and%20other%20plugins%20while%20retaining%20original%20whitespace%20and%20characters.&amp;short_link=http://b2l.me/ap3wng&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=52&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Formatting+Sample+Code+Snippets+in+Wordpress&amp;link=http://webstractions.com/wordpress/formatting-sample-code-snippets-in-wordpress/&amp;notes=Displaying%20code%20snippets%20in%20Wordpress%20can%20be%20a%20chore.%20Fortunately%20there%20are%20several%20plugins%20to%20choose%20from.%20My%20plugin%20of%20choice%20is%20Scott%20Reilly%27s%20Preserve%20Code%20Formatting%20which%20prevents%20modification%20by%20WordPress%20and%20other%20plugins%20while%20retaining%20original%20whitespace%20and%20characters.&amp;short_link=http://b2l.me/ap3wng&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Formatting+Sample+Code+Snippets+in+Wordpress&amp;link=http://webstractions.com/wordpress/formatting-sample-code-snippets-in-wordpress/&amp;notes=Displaying%20code%20snippets%20in%20Wordpress%20can%20be%20a%20chore.%20Fortunately%20there%20are%20several%20plugins%20to%20choose%20from.%20My%20plugin%20of%20choice%20is%20Scott%20Reilly%27s%20Preserve%20Code%20Formatting%20which%20prevents%20modification%20by%20WordPress%20and%20other%20plugins%20while%20retaining%20original%20whitespace%20and%20characters.&amp;short_link=http://b2l.me/ap3wng&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Formatting+Sample+Code+Snippets+in+Wordpress&amp;link=http://webstractions.com/wordpress/formatting-sample-code-snippets-in-wordpress/&amp;notes=Displaying%20code%20snippets%20in%20Wordpress%20can%20be%20a%20chore.%20Fortunately%20there%20are%20several%20plugins%20to%20choose%20from.%20My%20plugin%20of%20choice%20is%20Scott%20Reilly%27s%20Preserve%20Code%20Formatting%20which%20prevents%20modification%20by%20WordPress%20and%20other%20plugins%20while%20retaining%20original%20whitespace%20and%20characters.&amp;short_link=http://b2l.me/ap3wng&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.shareaholic.com/api/share/?title=Formatting+Sample+Code+Snippets+in+Wordpress&amp;link=http://webstractions.com/wordpress/formatting-sample-code-snippets-in-wordpress/&amp;notes=Displaying%20code%20snippets%20in%20Wordpress%20can%20be%20a%20chore.%20Fortunately%20there%20are%20several%20plugins%20to%20choose%20from.%20My%20plugin%20of%20choice%20is%20Scott%20Reilly%27s%20Preserve%20Code%20Formatting%20which%20prevents%20modification%20by%20WordPress%20and%20other%20plugins%20while%20retaining%20original%20whitespace%20and%20characters.&amp;short_link=http://b2l.me/ap3wng&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=236&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://webstractions.com/wordpress/formatting-sample-code-snippets-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>The Building of a Blog</title>
		<link>http://webstractions.com/wordpress/the-building-of-a-blog/</link>
		<comments>http://webstractions.com/wordpress/the-building-of-a-blog/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 13:40:19 +0000</pubDate>
		<dc:creator>Ronnie T. Dodger</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[webstractive theme]]></category>
		<category><![CDATA[wordpress plugins]]></category>
		<category><![CDATA[wordpress settings]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://webstractions.com/?p=5</guid>
		<description><![CDATA[Travel with me through the inner workings of Wordpress during my installation and theme creation. What I did or did not do, and why. From Wordpress plugins to settings, it is all here.]]></description>
			<content:encoded><![CDATA[<p>While I am not totally new to WordPress as a blogging platform, this is the first time I have used it for my personal website. The previous version of this site, I had used Blogger which was FTP-ed to my server. With a few Php enhancements and a phpBB backend, I have managed to create a rather unique blogging atmosphere.</p>
<p>I am now starting from scratch with  WordPress 2.7 — this is the first time I have used this later version. The backend Admin area was totally rearranged. I rather like it though, especially the way Posts are laid out. It felt more comfortable to use to me.</p>
<p>What follows is an abstract for some of the high-points during the creation of this blog. More for documentation purposes, and in the future will be updated to include links to newer posts in which I can go into more detail.</p>
<h3>WordPress Settings</h3>
<p>Moved WordPress to the root domain per <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">Codex article</a>.</p>
<p>Turned off the Visual Editor in profile settings. </p>
<p>Custom structure for Permalinks <kbd>/%category%/%postname%/</kbd></p>
<h3>WordPress Plugins</h3>
<p>Akismet, of course.</p>
<p>That is about it. Pretty much lean and mean.</p>
<h3>WordPress Theme (Webstractive)</h3>
<p><div id="attachment_6" class="wp-caption alignright" style="width: 196px"><a href="http://webstractions.com/blog/wp-content/uploads/2009/02/01-13.jpg"><img src="http://webstractions.com/blog/wp-content/uploads/2009/02/01-13-186x300.jpg" alt="Early stages of theme development" title="01-13" width="186" height="300" class="size-medium wp-image-6" /></a><p class="wp-caption-text">Early stages of theme development</p></div>The new WordPress theme, dubbed <em>Webstractive</em>, is inspired by <a href="http://dmiracle.com/general/working-out-the-bugs/">Dawud Miracle&#8217;s new layout</a> that he launched in April of 2008. I liked the simple brown color schemes — it had an earthy quality to it.<br />
<br />
As a baseline, I am using the old <a href="http://www.pearsonified.com/theme/copyblogger/">Copyblogger theme</a>. Albeit, it is a heavily modified version that I use for new blogs and even a website that I developed with <a href="http://framework.zend.com">Zend Framework</a>. I got a lot of mileage out of this puppy!<br />
<br />
All graphics are created using Photoshop Elements, and an old version to boot. I am too set in my ways and this baby has served me well for a number of years. I am not too graphically talented, so why load up something that I never intend to use to its fullest.<br />
<br />
Use of <kbd>&lt;?php the_excerpt(); ?&gt;</kbd> on index, category and archive pages. This did not take too much thought. It is a little more work to create those little teasers, but I think it adds character and a touch of professionalism to a blog.</p>
<h3>Future Work</h3>
<p>Will update this post as needed, add in screenshots, document procedures, etc. yada, yada. As mentioned in my inaugural post, there is an undocumented &#8216;snafu&#8217; with the is_home() and is_front() functions in the WP core &#8211; more on that later too.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=The+Building+of+a+Blog&amp;link=http://webstractions.com/wordpress/the-building-of-a-blog/&amp;notes=Travel%20with%20me%20through%20the%20inner%20workings%20of%20Wordpress%20during%20my%20installation%20and%20theme%20creation.%20What%20I%20did%20or%20did%20not%20do%2C%20and%20why.%20From%20Wordpress%20plugins%20to%20settings%2C%20it%20is%20all%20here.&amp;short_link=http://b2l.me/ap89c2&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=The+Building+of+a+Blog&amp;link=http://webstractions.com/wordpress/the-building-of-a-blog/&amp;notes=Travel%20with%20me%20through%20the%20inner%20workings%20of%20Wordpress%20during%20my%20installation%20and%20theme%20creation.%20What%20I%20did%20or%20did%20not%20do%2C%20and%20why.%20From%20Wordpress%20plugins%20to%20settings%2C%20it%20is%20all%20here.&amp;short_link=http://b2l.me/ap89c2&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=The+Building+of+a+Blog&amp;link=http://webstractions.com/wordpress/the-building-of-a-blog/&amp;notes=Travel%20with%20me%20through%20the%20inner%20workings%20of%20Wordpress%20during%20my%20installation%20and%20theme%20creation.%20What%20I%20did%20or%20did%20not%20do%2C%20and%20why.%20From%20Wordpress%20plugins%20to%20settings%2C%20it%20is%20all%20here.&amp;short_link=http://b2l.me/ap89c2&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="http://www.shareaholic.com/api/share/?title=The+Building+of+a+Blog&amp;link=http://webstractions.com/wordpress/the-building-of-a-blog/&amp;notes=Travel%20with%20me%20through%20the%20inner%20workings%20of%20Wordpress%20during%20my%20installation%20and%20theme%20creation.%20What%20I%20did%20or%20did%20not%20do%2C%20and%20why.%20From%20Wordpress%20plugins%20to%20settings%2C%20it%20is%20all%20here.&amp;short_link=http://b2l.me/ap89c2&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=52&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=The+Building+of+a+Blog&amp;link=http://webstractions.com/wordpress/the-building-of-a-blog/&amp;notes=Travel%20with%20me%20through%20the%20inner%20workings%20of%20Wordpress%20during%20my%20installation%20and%20theme%20creation.%20What%20I%20did%20or%20did%20not%20do%2C%20and%20why.%20From%20Wordpress%20plugins%20to%20settings%2C%20it%20is%20all%20here.&amp;short_link=http://b2l.me/ap89c2&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=The+Building+of+a+Blog&amp;link=http://webstractions.com/wordpress/the-building-of-a-blog/&amp;notes=Travel%20with%20me%20through%20the%20inner%20workings%20of%20Wordpress%20during%20my%20installation%20and%20theme%20creation.%20What%20I%20did%20or%20did%20not%20do%2C%20and%20why.%20From%20Wordpress%20plugins%20to%20settings%2C%20it%20is%20all%20here.&amp;short_link=http://b2l.me/ap89c2&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=The+Building+of+a+Blog&amp;link=http://webstractions.com/wordpress/the-building-of-a-blog/&amp;notes=Travel%20with%20me%20through%20the%20inner%20workings%20of%20Wordpress%20during%20my%20installation%20and%20theme%20creation.%20What%20I%20did%20or%20did%20not%20do%2C%20and%20why.%20From%20Wordpress%20plugins%20to%20settings%2C%20it%20is%20all%20here.&amp;short_link=http://b2l.me/ap89c2&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.shareaholic.com/api/share/?title=The+Building+of+a+Blog&amp;link=http://webstractions.com/wordpress/the-building-of-a-blog/&amp;notes=Travel%20with%20me%20through%20the%20inner%20workings%20of%20Wordpress%20during%20my%20installation%20and%20theme%20creation.%20What%20I%20did%20or%20did%20not%20do%2C%20and%20why.%20From%20Wordpress%20plugins%20to%20settings%2C%20it%20is%20all%20here.&amp;short_link=http://b2l.me/ap89c2&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=236&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://webstractions.com/wordpress/the-building-of-a-blog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

