<?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>Stephen Coley</title>
	<atom:link href="http://coley.co/feed/" rel="self" type="application/rss+xml" />
	<link>http://coley.co</link>
	<description></description>
	<lastBuildDate>Wed, 28 Nov 2012 09:47:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>jQuery centerToParent Plugin</title>
		<link>http://coley.co/center-to-parent/</link>
		<comments>http://coley.co/center-to-parent/#comments</comments>
		<pubDate>Fri, 09 Nov 2012 17:36:11 +0000</pubDate>
		<dc:creator>Stephen Coley</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[align]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://coley.co/?p=912</guid>
		<description><![CDATA[Almost every project I work on has some element that needs to be aligned to the center of its parent element. Doing this horizontally is easy, but vertically can be tricky if you have no clue how tall these elements &#8230; <a href="http://coley.co/center-to-parent/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Almost every project I work on has some element that needs to be aligned to the center of its parent element. Doing this horizontally is easy, but vertically can be tricky if you have no clue how tall these elements are going to be.</p>
<p><a href="http://gist.github.com/4046929">centerToParent</a> is my personal solution to this never ending battle of proper alignment.</p>
<div id="gist_link"><script src="http://gist.github.com/4046929.js?file=jquery.centerToParent.js"></script></div>
]]></content:encoded>
			<wfw:commentRss>http://coley.co/center-to-parent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Teleport for WordPress</title>
		<link>http://coley.co/teleport-for-wordpress/</link>
		<comments>http://coley.co/teleport-for-wordpress/#comments</comments>
		<pubDate>Mon, 13 Aug 2012 16:40:16 +0000</pubDate>
		<dc:creator>Stephen Coley</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Teleport]]></category>

		<guid isPermaLink="false">http://coley.co/?p=826</guid>
		<description><![CDATA[Preamble I hate typing &#8216;wp-admin&#8217; after a WordPress url to get to the Dashboard. It throws me off of my game. It always has. By the time I&#8217;ve typed that painful phrase and stretched my pinky all the way up &#8230; <a href="http://coley.co/teleport-for-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h2>Preamble</h2>
<p>I hate typing &#8216;wp-admin&#8217; after a WordPress url to get to the Dashboard. It throws me off of my game. It always has. By the time I&#8217;ve typed that painful phrase and stretched my pinky all the way up to the hyphen key and the Dashboard appears before me, I&#8217;ve often forgotten what I&#8217;d went there for. So I made <a href="http://wordpress.org/extend/plugins/teleport">Teleport</a>, a WordPress plugin.</p>
<h2>Download, Install, &#038; Documentation</h2>
<ul>
<li>WordPress users can install from the <a href="http://wordpress.org/extend/plugins/teleport/">Plugin Repo</a>.</li>
<li>Githubbers can download or fork the plugin on the <a href="https://github.com/srcoley/teleport">Github Repo</a>.</li>
<li>All documentation about the plugin, including how to use it, is also on the <a href="http://wordpress.org/extend/plugins/teleport/">Plugin Repo</a>.</li>
</ul>
<h2>Video, for Your Pleasure</h2>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='896' height='534' src='http://www.youtube.com/embed/DF_1xXAPQFc?version=3&#038;rel=0&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<h2>If You&#8217;d Rather Read</h2>
<div class="left">
<p>Teleport is all about getting around WordPress quickly. With Teleport you can use keyboard shortcuts to get where you need to go with just two key strokes. The intuitive Teleporter is arranged exactly like the keyboard shortcuts &#8211; the e, d, s, a, and q keys make a &#8216;u&#8217; shape around the w key. This matches the layout of the Teleporter, which makes it that much easier to learn.</p>
</div>
<div class="right">
<p><a href="http://coley.co/wp-content/uploads/png.png"><img src="http://coley.co/wp-content/uploads/png.png" alt="" title="Teleport for WordPress" width="426" height="213" class="alignnone size-full wp-image-907" /></a></p>
</div>
<h2>Side Notes</h2>
<p>After creating a shortcut that redirects to the Dashboard, the next logical step was to add a keyboard shortcut to edit the current post or page. Soon after that, I realized the full potential Teleport. So, I went crazy for four days, and made the damn thing.</p>
<p>I&#8217;d like to keep working on this project, and make it extremely useful for WordPress navigation. In the development stages, Teleport saved me a ton of time. It&#8217;s very easy to train to muscle memory. At least, easier than having to alter a url and find a specific link on a page that has nothing but other links on it.</p>
<p>Although the buttons are clickable to their respective redirects, I made Teleport so you can keep your hands on your keyboard. Every time your hand fumbles to the mouse is a second or two you&#8217;ve lost. It doesn&#8217;t sound like much, but over time it adds up.</p>
<p>Some of you might be thinking, &#8220;Well, what about the admin bar?&#8221; I hate the admin bar.</p>
]]></content:encoded>
			<wfw:commentRss>http://coley.co/teleport-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pagination, and Videos, and Multi-Col! Oh, My!</title>
		<link>http://coley.co/pagination-and-videos-and-multi-col-oh-my/</link>
		<comments>http://coley.co/pagination-and-videos-and-multi-col-oh-my/#comments</comments>
		<pubDate>Sun, 12 Aug 2012 15:10:37 +0000</pubDate>
		<dc:creator>Stephen Coley</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[Jetpack]]></category>
		<category><![CDATA[pagination]]></category>
		<category><![CDATA[shortcodes]]></category>
		<category><![CDATA[video embed]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://coley.co/?p=849</guid>
		<description><![CDATA[I&#8217;ve patched the site up a bit. I&#8217;ve added pagination, video embeds, multiple columns, and better syntax highlighter styling. Here&#8217;s the rundown. Pagination WordPress pagination is really easy. Especially if you don&#8217;t want to show page numbers. WordPress provides two &#8230; <a href="http://coley.co/pagination-and-videos-and-multi-col-oh-my/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve patched the site up a bit. I&#8217;ve added pagination, video embeds, multiple columns, and better syntax highlighter styling. Here&#8217;s the rundown.</p>
<h2>Pagination</h2>
<p>WordPress pagination is really easy. Especially if you don&#8217;t want to show page numbers. WordPress provides two methods: next_posts_link() and previous_posts_link(). I won&#8217;t go into details because this isn&#8217;t a tutorial, but here&#8217;s the code.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div&gt;
    &lt;div&gt;&lt;?php next_posts_link('&amp;laquo; Older posts'); ?&gt;&lt;/div&gt;
    &lt;div&gt;&lt;?php previous_posts_link('Newer posts &amp;raquo;'); ?&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
<div class="left">
<h2>Embedding Videos</h2>
<p><img title="Jetpack" src="http://coley.co/wp-content/uploads/jetpack.png" alt="Jetpack" /></p>
<p>I use Jetpack&#8217;s shortcodes to embed videos into content areas. Check out <a title="Jetpack" href="http://wordpress.org/extend/plugins/jetpack/">Jetpack</a>, seriously. It comes with a lot of great tools: shortcodes, sharing, grammar checking, site stats, email subscriptions, and some other great stuff. Get it.</p>
<h3>Usage</h3>
<p>&#91;youtube=url-to-video&#93;</p>
<p>This works with a number of other video hosts such as Vimeo and Blip.tv. You can bring in content other than videos as well, like slides, polls, and audio.</p>
</div>
<div class="right">
<h2>Multi-Col</h2>
<p>Simply create a .left and a .right class. Make the width of each slightly less than half of their parent container&#8217;s width. Float both to their respective directions, and then just add some margin to space them out.</p>
<pre class="brush: css; title: ; notranslate">

#main div.left {
    width: 426px;
    float: left;
    margin: 0 22px 0;
}

#main div.right {
    width: 426px;
    float: right;
    margin: 0 22px 0 0;
}

</pre>
<p>And here are the divs with the classes we defined:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;left&quot;&gt;
    &lt;p&gt;Some content.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;right&quot;&gt;
    &lt;p&gt;Some more content.&lt;/p&gt;
&lt;/div&gt;
</pre>
</div>
<h2>Conclusion</h2>
<p>This was a great patch. I&#8217;m completely satisfied, and I hope I can push this much work, if not more, every week. I&#8217;d really like to tackle the Projects section soon. It needs some love.</p>
]]></content:encoded>
			<wfw:commentRss>http://coley.co/pagination-and-videos-and-multi-col-oh-my/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alfred, Deploy My Site From Github</title>
		<link>http://coley.co/alfred-deploy-my-site-from-github/</link>
		<comments>http://coley.co/alfred-deploy-my-site-from-github/#comments</comments>
		<pubDate>Thu, 09 Aug 2012 00:01:13 +0000</pubDate>
		<dc:creator>Stephen Coley</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Alfred]]></category>
		<category><![CDATA[expect]]></category>
		<category><![CDATA[Github]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://coley.co/?p=800</guid>
		<description><![CDATA[Some of  you may have seen the How Web Developers Can Use Alfred video by the guys over at net.tutsplus.com. I did something similar just recently and I thought I&#8217;d share. Instead of setting up a dev environment with Alfred, I &#8230; <a href="http://coley.co/alfred-deploy-my-site-from-github/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Some of  you may have seen the <a href="http://net.tutsplus.com/tutorials/tools-and-tips/how-web-developers-can-use-alfred/">How Web Developers Can Use Alfred</a> video by the guys over at <a href="http://net.tutsplus.com">net.tutsplus.com</a>. I did something similar just recently and I thought I&#8217;d share. Instead of setting up a dev environment with Alfred, I wanted to deploy this site from Github. The tricky part in doing this is the authentication &#8211; to your server and to Github. There&#8217;s a unix tool out there called expect and it is exactly what I needed to automate authentication for my server and for Github&#8217;s.</p>
<p>To set up:</p>
<ul>
<li>Copy the <a href="#gist_link">gist below</a>.</li>
<li>In Alfred&#8217;s extensions tab, click the plus sign at the bottom left, and click &#8220;Shell Script&#8221;.</li>
<li>After you name your extension, paste the gist into the command box.</li>
<li>Change everything inside of the [...] to match your server, file paths, and Github account.</li>
<li>Make sure &#8220;Silent&#8221; is checked.</li>
<li>Save.</li>
</ul>
<p>If you don&#8217;t have the <a href="http://www.alfredapp.com/powerpack/">power pack</a>, save the file as an Application, and Alfred should pick it up in the search.</p>
<p>Ps. I call this BatSignal.</p>
<div id="gist_link"><script src="https://gist.github.com/3299526.js?file=batsignal.sh"></script></div>
]]></content:encoded>
			<wfw:commentRss>http://coley.co/alfred-deploy-my-site-from-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Metis &#8211; A Divine Solution for Aliases</title>
		<link>http://coley.co/metis-solution-for-unix-linux-aliases/</link>
		<comments>http://coley.co/metis-solution-for-unix-linux-aliases/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 17:00:46 +0000</pubDate>
		<dc:creator>Stephen Coley</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[alias]]></category>
		<category><![CDATA[aliases]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Metis]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://coley.co/?p=712</guid>
		<description><![CDATA[Preamble Do you not hate that moment when you think to yourself, &#8220;I should add an alias to my .bashrc file, so I will not have to cd&#160;to this long-ass path a few hundred more times over the next two &#8230; <a href="http://coley.co/metis-solution-for-unix-linux-aliases/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h2>Preamble</h2>
<p>Do you not hate that moment when you think to yourself, &#8220;I should add an alias to my .bashrc file, so I will not have to cd&nbsp;to this long-ass path a few hundred more times over the next two weeks,&#8221; but then you just keep coding. However, that&#8217;s hardly the only issue with aliases. After a few years, you&#8217;ll start to accumulate 10&#8242;s and 20&#8242;s of aliases across multiple machines. Your only option is to peek into your dotfile to see what goodies you might have stashed away weeks, maybe months ago.</p>
<h2>Metis &#8211; Goddess of Wisdom</h2>
<p>I wrote Metis to solve this problem. Metis saves aliases that will cd to the current working directory. If you&#8217;ve forgotten your saved aliases, type &#8216;metis&#8217; and press return. Aliases for everyone.</p>
<p><script type="text/javascript" src="https://gist.github.com/1730076.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://coley.co/metis-solution-for-unix-linux-aliases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coley&#8217;s Hacker News Extension</title>
		<link>http://coley.co/coleys-hacker-news-extension/</link>
		<comments>http://coley.co/coleys-hacker-news-extension/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 14:30:15 +0000</pubDate>
		<dc:creator>Stephen Coley</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Coley]]></category>
		<category><![CDATA[Coley's Hacker News]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Hacker News]]></category>

		<guid isPermaLink="false">http://coley.co/?p=695</guid>
		<description><![CDATA[Overview Coley&#8217;s Hacker News is a Google Chrome extension that tweaks the Hacker News experience. Although there are only two tweaks(for now), the efficiency increase is two-fold: Hacker News refreshes every minute; Outgoing links now open in background tabs. No &#8230; <a href="http://coley.co/coleys-hacker-news-extension/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h2>Overview</h2>
<p><a href="https://chrome.google.com/webstore/detail/bcgdbcckfanmicanflmdmclgcedgeobk?utm_campaign=en&amp;utm_source=en-ha-na-us-bk-webstr&amp;utm_medium=ha">Coley&#8217;s Hacker News</a> is a Google Chrome extension that tweaks the <a title="Hacker News" href="http://news.ycombinator.com/news">Hacker News</a> experience. Although there are only two tweaks(for now), the efficiency increase is two-fold: Hacker News refreshes every minute; Outgoing links now open in background tabs.</p>
<p>No more manually refreshing after switching back to your Hacker News tab. No more holding down Ctrl/Cmd while clicking an outgoing link to open an article in a new tab.</p>
<h2>Download</h2>
<p>Download from <a href="https://chrome.google.com/webstore/detail/bcgdbcckfanmicanflmdmclgcedgeobk?utm_campaign=en&amp;utm_source=en-ha-na-us-bk-webstr&amp;utm_medium=ha">the Chrome Web Store</a>.</p>
<h2>Future</h2>
<p>In the near future, we&#8217;ll be adding more tweaks and perhaps a settings component for toggling individual tweaks off and on.</p>
<p>Got an idea? Contribute! You can fork <a href="https://github.com/srcoley/Coleys-Hacker-News">Coley&#8217;s Hacker News on GitHub</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://coley.co/coleys-hacker-news-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress and Cross Browser CSS Classes</title>
		<link>http://coley.co/wordpress-and-cross-browser-css-classes/</link>
		<comments>http://coley.co/wordpress-and-cross-browser-css-classes/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 19:33:23 +0000</pubDate>
		<dc:creator>Stephen Coley</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Cross Browser Debugging]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://coley.co/?p=592</guid>
		<description><![CDATA[One of the newest ways to make Internet Explorer&#8217;s horrendous rendering engine behave is to add body classes that define which browser is being used. For instance, if a user visits a site from Internet Explorer 8, two classes would &#8230; <a href="http://coley.co/wordpress-and-cross-browser-css-classes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>One of the newest ways to make Internet Explorer&#8217;s horrendous rendering engine behave is to add body classes that define which browser is being used. For instance, if a user visits a site from Internet Explorer 8, two classes would be added to the body tag: &#8220;ie&#8221; and &#8220;ie8&#8243;. Using this technique, a developer can target specific browsers and write their CSS accordingly. I first saw this method being used in <a href="http://html5boilerplate.com/">Paul Irish&#8217;s HTML5 Boilerplate</a>. Paul uses IE conditional comments to determine which class needs to be added to the body, if any at all.</p>
<p>If you use WordPress as much as I do, you&#8217;ll notice that you can&#8217;t use this method with WordPress&#8217; body_class function. Even though body_class accepts a string parameter that it will embed into the class attribute, we cannot pass any data detailing the browser version to this parameter. The PHP runs on the server before the conditional comments run in the browser, making it impossible to add the respective classes dynamically.</p>
<p>Fortunately there is an easy way to do this with jQuery:</p>
<pre class="brush: jscript; title: ; notranslate">var b = $.browser;
if(b.msie) {
     var v = b.version.split('.')[0];
     $('body').addClass(&quot;ie ie&quot; + v);
}</pre>
<p>This snippet must be placed within jQuery&#8217;s document ready callback to work properly. Keep in mind that this snippet does not require WordPress to work, but it was written with WordPress in mind.</p>
]]></content:encoded>
			<wfw:commentRss>http://coley.co/wordpress-and-cross-browser-css-classes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Quotes 1.3 Released</title>
		<link>http://coley.co/random-quotes-1-3-released/</link>
		<comments>http://coley.co/random-quotes-1-3-released/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 11:25:01 +0000</pubDate>
		<dc:creator>Stephen Coley</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Project]]></category>

		<guid isPermaLink="false">http://coley.co/?p=305</guid>
		<description><![CDATA[Released a quick update to the Random Quotes WordPress plugin. Quotations can now be longer than 200 characters. For more details, click the Read More button. <a href="http://coley.co/random-quotes-1-3-released/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>In this minor, albeit necessary release, I have changed the field type of &#8216;quotation&#8217; and &#8216;quotation2.&#8217; Beforehand, these fields were both set to varchar(200). For those of you who are unfamiliar with the wonderful world of SQL, this means the quotations could only be 200 characters(or bits) long.</p>
<p>Random Quotes 1.3 brings you &#8216;longtext&#8217;, which is what the &#8216;quotation&#8217; and &#8216;quotation2&#8242; fields are set to now. The great thing about &#8216;longtext&#8217; is that it can store a sh&#8217;load of characters(bits). How many you might ask? Over 4 billion. Yeah, I said it.</p>
<p>If you&#8217;re using Random Quotes to display testimonials or very long quotations, I would update right away. Get it while it&#8217;s hot!</p>
<p><a href="http://downloads.wordpress.org/plugin/random-quotes.1.3.zip" class="button">Download Random Quotes 1.3</a></p>
<p>I&#8217;d like to express many thanks to <a href="http://www.eprcreations.com/">Erik</a> for pointing out this major inadequacy. I would have never spotted it on my own. </p>
]]></content:encoded>
			<wfw:commentRss>http://coley.co/random-quotes-1-3-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Quotes 1.2 Update</title>
		<link>http://coley.co/random-quotes-1-2-update/</link>
		<comments>http://coley.co/random-quotes-1-2-update/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 13:57:51 +0000</pubDate>
		<dc:creator>Stephen Coley</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Project]]></category>

		<guid isPermaLink="false">http://coley.co/?p=236</guid>
		<description><![CDATA[This update fixes the "You do not have sufficient permissions to access this page" bug. The interesting thing about this bug, is that it's actually a bug within WordPress and not Random Quotes. Read more to learn how to keep your plugins from being hosed like mine was! <a href="http://coley.co/random-quotes-1-2-update/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re using Random Quotes 1.0 with WordPress 3.0 or higher, you may have noticed a really annoying bug. I&#8217;m referring to the &#8220;You do not have sufficient permissions to access this page&#8221; bug. Luckily, this happened to me when I was moving my blog from srcoley.com to coley.co. If I had not came upon the bug then, I may have never known.</p>
<p>The solution was really quite simple. It turns out there wasn&#8217;t a bug within Random Quotes at all, but within WordPress. WordPress has a method called add_options_page(); This method creates the admin page to change the plugin&#8217;s preferences. Normally I would write the method like this: </p>
<pre class="brush: php; title: ; notranslate">
add_options_page(&quot;Random Quotes&quot;, &quot;Random Quotes&quot;, 1, &quot;Random Quotes&quot;, &quot;rq_admin&quot;);
</pre>
<p>When used like this, WordPress changes the spaces to hyphens on the third parameter, but the admin page will still be hosted at <b>/wp-admin/options-general.php?page=Random%20Quotes</b>. The &#8220;%20&#8243; is a space character. This creates a problem, because WordPress has the third parameter saved as &#8220;Random-Quotes&#8221; and &#8220;/wp-admin/options-general.php?page=Random-Quotes&#8221; will only link to the &#8220;You do not have sufficient permissions to access this page&#8221; page.</p>
<p>Here&#8217;s the update I&#8217;ve made in Random Quotes 1.2</p>
<pre class="brush: php; title: ; notranslate">
add_options_page(&quot;Random Quotes&quot;, &quot;Random Quotes&quot;, 1, &quot;Random-Quotes&quot;, &quot;rq_admin&quot;);
</pre>
<p>So if you have ran into this bug upon using Random Quotes 1.0, you can <a href="http://wordpress.org/extend/plugins/random-quotes/">download the new version</a>, and update the plugin. Remember this bug when developing your own WordPress plugins as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://coley.co/random-quotes-1-2-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Random Quotes Plugin</title>
		<link>http://coley.co/random-quotes/</link>
		<comments>http://coley.co/random-quotes/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 19:34:53 +0000</pubDate>
		<dc:creator>Stephen Coley</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Project]]></category>

		<guid isPermaLink="false">http://coley.co/?p=89</guid>
		<description><![CDATA[This plugin allows you to add, manage, and display random quotations. You can display quotations at random, or you can display a specific quotation by id. Either way this plugin is straight forward and easy to use. <a href="http://coley.co/random-quotes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>This WordPress plugin allows you to add, manage, and display random quotations. It is a very simple plugin for now, and fulfills a very simple need. You can display quotations at random or set a quotation id in the template tag to always display a certain quotation.</p>
<p><a href="http://wordpress.org/extend/plugins/random-quotes/" class="button">Download the latest version.</a></p>
<p>I plan on releasing the next version of this plugin very soon.<br />
Here&#8217;s the hit list:</p>
<ul>
<li>Widget support</li>
<li>Ajax options page</li>
<li>Ability to list the quotation author</li>
<li>Better options interface</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://coley.co/random-quotes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
