<?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>Colin Temple&#187; Wordpress</title>
	<atom:link href="http://colintemple.com/writing/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://colintemple.com/writing</link>
	<description>Business analyst, philosophy student</description>
	<lastBuildDate>Thu, 12 Jan 2012 01:26:48 +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>Endmark is back!</title>
		<link>http://colintemple.com/writing/2009/07/endmark-is-back/</link>
		<comments>http://colintemple.com/writing/2009/07/endmark-is-back/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 02:57:28 +0000</pubDate>
		<dc:creator>Colin Temple</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[endmark]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://workwebplay.com/?p=87</guid>
		<description><![CDATA[In February 2008 I made my first public WordPress plugin, Endmark.  I told a few people about it, even.  Then I moved my blog here and Endmark sort of disappeared.  Today, it&#8217;s back. Endmark is a simple little thing.  What it does is adds a little end-of-article symbol to all of your WordPress posts, similar [...]]]></description>
			<content:encoded><![CDATA[<p>In February 2008 I made my first public WordPress plugin, <a href="http://colintemple.com/endmark/">Endmark</a>.  I told a few people about it, even.  Then I moved my blog here and Endmark sort of disappeared.  Today, it&#8217;s back.<span id="more-87"></span></p>
<p>Endmark is a simple little thing.  What it does is adds a little end-of-article symbol to all of your WordPress posts, similar to the symbols found at the end of magazine articles.</p>
<p>Now, for magazines the purpose of the symbol is really to show where the article ends, or rather <em>that </em>it ends and is not continued on another page.  On a blog, that&#8217;s more obvious anyways, so the purpose of it is cosmetic.  Still, I wanted it for one project, so I made this.</p>
<p>If that sounds like a nice addition to your blog&#8217;s style, then head over to the <a href="http://colintemple.com/endmark/">Endmark WordPress plugin</a> page and give it a try.  Let me know if you notice any bugs or have any comments or requests.  I&#8217;ll do my best to keep it somewhat maintained.</p>
<p>By the way, you can see Endmark in action on this very blog.  For example, there&#8217;s an Endmark at the end of this line.</p>
]]></content:encoded>
			<wfw:commentRss>http://colintemple.com/writing/2009/07/endmark-is-back/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Edit sidebar content as a page in WordPress</title>
		<link>http://colintemple.com/writing/2008/08/wordpress-sidebar-page/</link>
		<comments>http://colintemple.com/writing/2008/08/wordpress-sidebar-page/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 08:16:27 +0000</pubDate>
		<dc:creator>Colin Temple</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://workwebplay.com/?p=25</guid>
		<description><![CDATA[I recently came across a situation where I needed to display the contents of a page in a WordPress sidebar.  Essentially, my client needed an easy way to edit a sidebar that appeared on multiple pages.  Editing a Text widget wasn&#8217;t an option: they needed the flexibility of editing a page. It took a few [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across a situation where I needed to display the contents of a page in a WordPress sidebar.  Essentially, my client needed an easy way to edit a sidebar that appeared on multiple pages.  Editing a Text widget wasn&#8217;t an option: they needed the flexibility of editing a page.<span id="more-25"></span></p>
<p>It took a few tries/revisions to find the best way to do this, so I thought I&#8217;d share my solution.  All I did was create a page with a specific slug (&#8220;sidebarpage&#8221;) and echo its content.  I used it in a sidebar widget, but you could use this anywhere in your WordPress Theme if you&#8217;d like to have an additional editable area.</p>
<div style="background: #fff; border: 2px dotted #eee; padding: 1em; margin-bottom: 1em;"><span style="color: #0000ff;">&lt;?php</span><br />
$sidebarpage = <span style="color: #0000ff;">new WP_Query</span><span style="color: #ff0000;">(</span><span style="color: #008000;">&#8220;pagename=sidebarpage&#8221;</span><span style="color: #ff0000;">)</span>;<br />
<span style="color: #008000;">while<span style="color: #ff0000;">(</span></span>$sidebarpage-&gt;<span style="color: #0000ff;">have_posts</span><span style="color: #ff0000;">())</span> : $sidebarpage-&gt;<span style="color: #0000ff;">the_post</span><span style="color: #ff0000;">()</span>;<br />
<span style="color: #0000ff;">the_content</span><span style="color: #ff0000;">()</span>;<br />
<span style="color: #008000;">endwhile</span>;<br />
<span style="color: #0000ff;">?&gt;</span></div>
<p>Be sure that you&#8217;re creating a seperate WP_Query object (<em>$sidebarpage </em>in this example) &#8212; otherwise you&#8217;ll modify the query on the page itself, and your sidebar content will show up in the main body of your posts/pages as well!</p>
<p>The down-side of having this content stored in a page is that the page will appear in page listings, so be sure to exclude it if these are used in your theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://colintemple.com/writing/2008/08/wordpress-sidebar-page/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

