<?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>T. Longren &#187; WordPress</title>
	<atom:link href="http://www.longren.org/category/internet/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.longren.org</link>
	<description>Certified &#38; Decorated</description>
	<lastBuildDate>Sat, 04 Feb 2012 16:00:17 +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>HTML5Press 2.2</title>
		<link>http://www.longren.org/feeder/?FeederAction=clicked&#038;feed=T.+Longren&#038;seed=http%3A%2F%2Fwww.longren.org%2Fhtml5press-2-2%2F&#038;seed_title=HTML5Press+2.2</link>
		<comments>http://www.longren.org/html5press-2-2/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 01:45:22 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[html5press]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.longren.org/?p=3259</guid>
		<description><![CDATA[<p><img width="200" height="200" src="http://www.longren.org/wp-content/uploads/2011/11/followButton-200x200.png" class="attachment-200x200 wp-post-image" alt="followButton" title="followButton" /></p>HTML5Press 2.2 is available for download. You can grab it from <a href="http://www.longren.org/wordpress/html5press/">the HTML5Press page</a>. A <a href="https://github.com/tlongren/html5press/commits/v2.2">detailed list of changes</a> can be found at <a href="https://github.com/tlongren/html5press">Github</a>.

Probably the most notable change in 2.2 is the addition of a "follow me" button to the Twitter widget, which you can see in the featured image attached to this post. It's enabled by default, but can be turned off from the widget options.

Hashtags in the Twitter widget are now clickable, just like links and @names. I <a href="https://github.com/tlongren/Simple-Twitter-Widget/commit/caf38750f988ad114390f2b707645f3fd7785546">committed this change</a> to the original <a href="https://github.com/matthiassiegel/Simple-Twitter-Widget">Simple Twitter Widget</a>, created by <a href="http://chipsandtv.com/">Matthias Siegel</a>.

I also fixed an issue where small fonts were being applied to any label element, even when label wasn't being used in a form. This made the title for the new "subscribe widget" from JetPack 1.2 be really small. So those of you using that widget should see an improvement.

Other notable changes:
<ul>
	<li><a href="https://github.com/tlongren/html5press/commit/41e9e43e72892ca83cc1a5133ea283f42489904b">Field for Custom CSS</a> on HTML5Press options page</li>
	<li><a href="https://github.com/tlongren/html5press/commit/e3edfaf8c0f40b9774eab83ab585a5703fe05c78">More accurate fuzzy timestamps</a></li>
	<li>More accurate fuzzy timestamps <a href="https://github.com/tlongren/html5press/commit/fe00b697b4f2ffa18238ee4e023289c8bc9b4e0b">in comments</a></li>
	<li><a href="https://github.com/tlongren/html5press/commit/846370cc0a8a4359d4c26541973adc3cef6a7aad">Use get_template_directory_uri()</a> instead of get_stylesheet_directory_url()</li>
	<li><a href="https://github.com/tlongren/html5press/commit/57f0b62c95073b9b564b81f0c2595de61e132fe6">Allow use of "All Categories"</a> for the featured post slider.</li>
</ul>

You can see all the <a href="https://github.com/tlongren/html5press/commits/v2.2">changes at Github</a>. You can download version 2.2 from the <a href="http://www.longren.org/wordpress/html5press/">HTML5Press page</a>.

Report any issues in the comments <a href="http://www.longren.org/wordpress/html5press/">on the HTML5Press page</a> or <a href="https://github.com/tlongren/html5press/issues?sort=created&direction=asc&state=open">open up an issue at Github</a>.]]></description>
			<content:encoded><![CDATA[<p><img width="200" height="200" src="http://www.longren.org/wp-content/uploads/2011/11/followButton-200x200.png" class="attachment-200x200 wp-post-image" alt="followButton" title="followButton" /></p>HTML5Press 2.2 is available for download. You can grab it from <a href="http://www.longren.org/wordpress/html5press/">the HTML5Press page</a>. A <a href="https://github.com/tlongren/html5press/commits/v2.2">detailed list of changes</a> can be found at <a href="https://github.com/tlongren/html5press">Github</a>.

Probably the most notable change in 2.2 is the addition of a "follow me" button to the Twitter widget, which you can see in the featured image attached to this post. It's enabled by default, but can be turned off from the widget options.

Hashtags in the Twitter widget are now clickable, just like links and @names. I <a href="https://github.com/tlongren/Simple-Twitter-Widget/commit/caf38750f988ad114390f2b707645f3fd7785546">committed this change</a> to the original <a href="https://github.com/matthiassiegel/Simple-Twitter-Widget">Simple Twitter Widget</a>, created by <a href="http://chipsandtv.com/">Matthias Siegel</a>.

I also fixed an issue where small fonts were being applied to any label element, even when label wasn't being used in a form. This made the title for the new "subscribe widget" from JetPack 1.2 be really small. So those of you using that widget should see an improvement.

Other notable changes:
<ul>
	<li><a href="https://github.com/tlongren/html5press/commit/41e9e43e72892ca83cc1a5133ea283f42489904b">Field for Custom CSS</a> on HTML5Press options page</li>
	<li><a href="https://github.com/tlongren/html5press/commit/e3edfaf8c0f40b9774eab83ab585a5703fe05c78">More accurate fuzzy timestamps</a></li>
	<li>More accurate fuzzy timestamps <a href="https://github.com/tlongren/html5press/commit/fe00b697b4f2ffa18238ee4e023289c8bc9b4e0b">in comments</a></li>
	<li><a href="https://github.com/tlongren/html5press/commit/846370cc0a8a4359d4c26541973adc3cef6a7aad">Use get_template_directory_uri()</a> instead of get_stylesheet_directory_url()</li>
	<li><a href="https://github.com/tlongren/html5press/commit/57f0b62c95073b9b564b81f0c2595de61e132fe6">Allow use of "All Categories"</a> for the featured post slider.</li>
</ul>

You can see all the <a href="https://github.com/tlongren/html5press/commits/v2.2">changes at Github</a>. You can download version 2.2 from the <a href="http://www.longren.org/wordpress/html5press/">HTML5Press page</a>.

Report any issues in the comments <a href="http://www.longren.org/wordpress/html5press/">on the HTML5Press page</a> or <a href="https://github.com/tlongren/html5press/issues?sort=created&direction=asc&state=open">open up an issue at Github</a>.]]></content:encoded>
			<wfw:commentRss>http://www.longren.org/html5press-2-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5Press 2.1</title>
		<link>http://www.longren.org/feeder/?FeederAction=clicked&#038;feed=T.+Longren&#038;seed=http%3A%2F%2Fwww.longren.org%2Fhtml5press-2-1%2F&#038;seed_title=HTML5Press+2.1</link>
		<comments>http://www.longren.org/html5press-2-1/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 22:17:43 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[html5press]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.longren.org/?p=3088</guid>
		<description><![CDATA[<p><img width="200" height="200" src="http://www.longren.org/wp-content/uploads/2011/10/html5press-twitter-widget-200x200.png" class="attachment-200x200 wp-post-image" alt="HTML5Press Twitter Widget" title="HTML5Press Twitter Widget" /></p>HTML5Press 2.1 is available for download from the <a href="http://www.longren.org/wordpress/html5press/">HTML5Press page</a>. You can see a <a href="https://github.com/tlongren/html5press/commits/v2.1">detailed list of all the changes</a> between 2.0 and 2.1 <a href="https://github.com/tlongren/html5press/">on Github</a>.

There were three major additions to HTML5Press 2.1, including <a href="http://www.longren.org/html5press-fuzzy-timestamps-with-timeago/">fuzzy timestamps</a>, a built-in Twitter widget, and support for WordPress custom backgrounds. <a href="http://www.sophistefunk.com/">Gregory C</a> left <a href="http://www.longren.org/wordpress/html5press/comment-page-2/#comment-662217">a comment a few days ago</a> that made me decide to add support for WordPress custom backgrounds. It was a simple enough thing to add, not sure why I didn't add support for custom backgrounds earlier.
[ad]
The featured photo for this post is just a screenshot of the Twitter widget options. That widget may look familiar to you. It's nothing but a slightly modified version of <a href="https://github.com/matthiassiegel/Simple-Twitter-Widget">Simple Twitter Widget</a> by <a href="http://chipsandtv.com/">Matthias Siegal</a>. I made some modifications to his plugin to include the HTML5 time element and to also make use of timeago for fuzzy timestamps.

Fuzzy timestamps are global in HTML5Press. Dates/times on posts, pages, comments, and the twitter widget will all be shown as fuzzy timestamps instead of the actual date/time. Mousing over the fuzzy timestamp will reveal the true date/time.

Some other, more minor changes and fixes:
<ul>
	<li><a href="https://github.com/tlongren/html5press/commit/f2790ca4e814259379762567f68f10a9d09091f2">Fix the Allerta font</a>, it was pulling the wrong font from Google</li>
	<li><a href="https://github.com/tlongren/html5press/commit/4aeaeda4b4337106f54651287f741c7600c934a7">Include the lightbox effect on gallery images</a> and include them as a set</li>
	<li><a href="https://github.com/tlongren/html5press/commit/751c45b9f693b670b55231a3fe8586341a58c3ca">Remove HTML5Press options from Appearance menu</a> and give it it's own menu.</li>
</ul>

You can download HTML5Press 2.1 from the <a href="http://www.longren.org/wordpress/html5press/">HTML5Press page</a> or from <a href="https://github.com/tlongren/html5press/downloads">Github</a>. If you notice anything broken or have any other problems, please <a href="https://github.com/tlongren/html5press/issues">start an issue at Github</a>.]]></description>
			<content:encoded><![CDATA[<p><img width="200" height="200" src="http://www.longren.org/wp-content/uploads/2011/10/html5press-twitter-widget-200x200.png" class="attachment-200x200 wp-post-image" alt="HTML5Press Twitter Widget" title="HTML5Press Twitter Widget" /></p>HTML5Press 2.1 is available for download from the <a href="http://www.longren.org/wordpress/html5press/">HTML5Press page</a>. You can see a <a href="https://github.com/tlongren/html5press/commits/v2.1">detailed list of all the changes</a> between 2.0 and 2.1 <a href="https://github.com/tlongren/html5press/">on Github</a>.

There were three major additions to HTML5Press 2.1, including <a href="http://www.longren.org/html5press-fuzzy-timestamps-with-timeago/">fuzzy timestamps</a>, a built-in Twitter widget, and support for WordPress custom backgrounds. <a href="http://www.sophistefunk.com/">Gregory C</a> left <a href="http://www.longren.org/wordpress/html5press/comment-page-2/#comment-662217">a comment a few days ago</a> that made me decide to add support for WordPress custom backgrounds. It was a simple enough thing to add, not sure why I didn't add support for custom backgrounds earlier.
[ad]
The featured photo for this post is just a screenshot of the Twitter widget options. That widget may look familiar to you. It's nothing but a slightly modified version of <a href="https://github.com/matthiassiegel/Simple-Twitter-Widget">Simple Twitter Widget</a> by <a href="http://chipsandtv.com/">Matthias Siegal</a>. I made some modifications to his plugin to include the HTML5 time element and to also make use of timeago for fuzzy timestamps.

Fuzzy timestamps are global in HTML5Press. Dates/times on posts, pages, comments, and the twitter widget will all be shown as fuzzy timestamps instead of the actual date/time. Mousing over the fuzzy timestamp will reveal the true date/time.

Some other, more minor changes and fixes:
<ul>
	<li><a href="https://github.com/tlongren/html5press/commit/f2790ca4e814259379762567f68f10a9d09091f2">Fix the Allerta font</a>, it was pulling the wrong font from Google</li>
	<li><a href="https://github.com/tlongren/html5press/commit/4aeaeda4b4337106f54651287f741c7600c934a7">Include the lightbox effect on gallery images</a> and include them as a set</li>
	<li><a href="https://github.com/tlongren/html5press/commit/751c45b9f693b670b55231a3fe8586341a58c3ca">Remove HTML5Press options from Appearance menu</a> and give it it's own menu.</li>
</ul>

You can download HTML5Press 2.1 from the <a href="http://www.longren.org/wordpress/html5press/">HTML5Press page</a> or from <a href="https://github.com/tlongren/html5press/downloads">Github</a>. If you notice anything broken or have any other problems, please <a href="https://github.com/tlongren/html5press/issues">start an issue at Github</a>.]]></content:encoded>
			<wfw:commentRss>http://www.longren.org/html5press-2-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5Press: Fuzzy Timestamps with Timeago</title>
		<link>http://www.longren.org/feeder/?FeederAction=clicked&#038;feed=T.+Longren&#038;seed=http%3A%2F%2Fwww.longren.org%2Fhtml5press-fuzzy-timestamps-with-timeago%2F&#038;seed_title=HTML5Press%3A+Fuzzy+Timestamps+with+Timeago</link>
		<comments>http://www.longren.org/html5press-fuzzy-timestamps-with-timeago/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 21:58:17 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[html5press]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[poll]]></category>

		<guid isPermaLink="false">http://www.longren.org/?p=3050</guid>
		<description><![CDATA[<p><img width="200" height="106" src="http://www.longren.org/wp-content/uploads/2011/09/timeago-200x106.png" class="attachment-200x200 wp-post-image" alt="timeago" title="timeago" /></p>I've <a href="https://github.com/tlongren/html5press/commit/086b0e3787a5a2b8a272eefe5f58ea046eb3d4c7">added</a> <a href="https://github.com/tlongren/html5press/commit/86975e24e5e9142832944d0e19a7c2a44bd3dc5d">an</a> <a href="https://github.com/tlongren/html5press/commit/79e52c6bb3ab64c5aef4caa00045f3d6bbbe3c0c">option</a> to HTML5Press to enable fuzzy timestamps for posts and pages. Fuzzy timestamps display how long ago an item was published, instead of showing the date and time it was published.

For example, <a href="http://www.longren.org/minus-an-alternative-to-dropbox/">this post</a> about <a href="http://min.us/rh2pAm3">Minus</a> was published on 9/19/2011. Fuzzy timestamps would cause that to be displayed as "3 days ago" instead of showing the actual date. Come tomorrow, that post will show that it was published "4 days ago".

You can still see the actual date by mousing over the fuzzy timestamp.

[poll id="8"]

I implemented this with the <a href="http://timeago.yarp.com/">timeago jQuery plugin</a>. This feature will be available once HTML5Press 2.1 is released, which will probably be sometime before October. If you'd like to take it for a test drive now, you can <a href="https://github.com/tlongren/html5press/archives/master">download HTML5Press 2.1-rc1 from Github</a>.]]></description>
			<content:encoded><![CDATA[<p><img width="200" height="106" src="http://www.longren.org/wp-content/uploads/2011/09/timeago-200x106.png" class="attachment-200x200 wp-post-image" alt="timeago" title="timeago" /></p>I've <a href="https://github.com/tlongren/html5press/commit/086b0e3787a5a2b8a272eefe5f58ea046eb3d4c7">added</a> <a href="https://github.com/tlongren/html5press/commit/86975e24e5e9142832944d0e19a7c2a44bd3dc5d">an</a> <a href="https://github.com/tlongren/html5press/commit/79e52c6bb3ab64c5aef4caa00045f3d6bbbe3c0c">option</a> to HTML5Press to enable fuzzy timestamps for posts and pages. Fuzzy timestamps display how long ago an item was published, instead of showing the date and time it was published.

For example, <a href="http://www.longren.org/minus-an-alternative-to-dropbox/">this post</a> about <a href="http://min.us/rh2pAm3">Minus</a> was published on 9/19/2011. Fuzzy timestamps would cause that to be displayed as "3 days ago" instead of showing the actual date. Come tomorrow, that post will show that it was published "4 days ago".

You can still see the actual date by mousing over the fuzzy timestamp.

[poll id="8"]

I implemented this with the <a href="http://timeago.yarp.com/">timeago jQuery plugin</a>. This feature will be available once HTML5Press 2.1 is released, which will probably be sometime before October. If you'd like to take it for a test drive now, you can <a href="https://github.com/tlongren/html5press/archives/master">download HTML5Press 2.1-rc1 from Github</a>.]]></content:encoded>
			<wfw:commentRss>http://www.longren.org/html5press-fuzzy-timestamps-with-timeago/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Tip: Remove a Category from the WordPress RSS Feed</title>
		<link>http://www.longren.org/feeder/?FeederAction=clicked&#038;feed=T.+Longren&#038;seed=http%3A%2F%2Fwww.longren.org%2Fwordpress-tip-remove-a-category-from-the-wordpress-rss-feed%2F&#038;seed_title=WordPress+Tip%3A+Remove+a+Category+from+the+WordPress+RSS+Feed</link>
		<comments>http://www.longren.org/wordpress-tip-remove-a-category-from-the-wordpress-rss-feed/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 16:20:07 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.longren.org/?p=3015</guid>
		<description><![CDATA[I recently setup The Events Calendar WordPress plugin on a few sites for work. The events are added as posts, so they show up in the WordPress RSS feed. We [...]]]></description>
			<content:encoded><![CDATA[<p>I recently setup <a href="http://wordpress.org/extend/plugins/the-events-calendar/">The Events Calendar</a> WordPress plugin on a few sites for work. The events are added as posts, so they show up in the WordPress RSS feed.</p>
<p>We didn&#8217;t want events showing in the RSS feed, this is the code I ended up with:</p>
<pre><code>
// Keep events out of RSS
add_filter('pre_get_posts', 'exclude_category_from_feed');
function exclude_category_from_feed($query) {
	if ($query->is_feed) {
		$query->set('cat','-'.get_cat_ID( 'Events' ));
	}
	return $query;
}
</code></pre>
<p>Adding that bit of code to the functions.php file for your theme will prevent posts in the &#8220;Events&#8221; category from appearing in your RSS feed. You can obviously change &#8220;Events&#8221; to whatever category you want to exclude.<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0816337812164133";
/* Small Banner */
google_ad_slot = "7689541366";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
It can be extended too, not just limited to keeping a category out of the RSS feed. For example, to keep a category off the home page or archive pages, you can change this:</p>
<pre><code>if ($query->is_feed) {</code></pre>
<p>To this:</p>
<pre><code>if ($query->is_archive || $query->is_home) {</code></pre>
<p>That&#8217;s it! Hope you find it useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longren.org/wordpress-tip-remove-a-category-from-the-wordpress-rss-feed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5Press 2.0</title>
		<link>http://www.longren.org/feeder/?FeederAction=clicked&#038;feed=T.+Longren&#038;seed=http%3A%2F%2Fwww.longren.org%2Fhtml5press-2-0%2F&#038;seed_title=HTML5Press+2.0</link>
		<comments>http://www.longren.org/html5press-2-0/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 21:44:30 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[html5press]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.longren.org/?p=3012</guid>
		<description><![CDATA[HTML5Press 2.0 is available for download. Changes from 1.9 to 2.0 include: 40+ Google Web Font choices Built-in Lightbox effect using Slimbox2 Smaller post titles to accommodate long post titles [...]]]></description>
			<content:encoded><![CDATA[<p>HTML5Press 2.0 is <a href="http://www.longren.org/wordpress/html5press/">available for download</a>. Changes from 1.9 to 2.0 include:</p>
<ul>
<li>40+ Google Web Font choices</li>
<li>Built-in Lightbox effect using <a href="http://www.digitalia.be/software/slimbox2">Slimbox2</a></li>
<li>Smaller post titles to accommodate long post titles</li>
<li>New styles for next/prev page links</li>
<li>Show page numbers at the top of post index/archive pages</li>
</ul>
<p>You can find a <a href="https://github.com/tlongren/html5press/commits/v2.0">full list of changes</a> at GitHub. HTML5Press 2.0 can be downloaded from <a href="http://www.longren.org/wordpress/html5press/">the official HTML5Press page</a>. Please report any issues at the <a href="https://github.com/tlongren/html5press/issues">Github issue tracker</a> or in the comments on the <a href="http://www.longren.org/wordpress/html5press/" title="HTML5Press">HTML5Press page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longren.org/html5press-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom WordPress Download Post Type</title>
		<link>http://www.longren.org/feeder/?FeederAction=clicked&#038;feed=T.+Longren&#038;seed=http%3A%2F%2Fjayj.dk%2F2011%2Fdownload-cpt-wordpress%2F&#038;seed_title=Custom+WordPress+Download+Post+Type</link>
		<comments>http://jayj.dk/2011/download-cpt-wordpress/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 15:26:56 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://www.longren.org/?p=3006</guid>
		<description><![CDATA[<p><img width="200" height="200" src="http://www.longren.org/wp-content/uploads/2011/09/download-cpt-thumbnail1.png" class="attachment-200x200 wp-post-image" alt="download-cpt-thumbnail1" title="download-cpt-thumbnail1" /></p>Saw this post from my friend Jesper earlier today about creating a custom "Download" post type in WordPress. It's an excellent tutorial/how-to. Check it out.

]]></description>
			<content:encoded><![CDATA[<p><img width="200" height="200" src="http://www.longren.org/wp-content/uploads/2011/09/download-cpt-thumbnail1.png" class="attachment-200x200 wp-post-image" alt="download-cpt-thumbnail1" title="download-cpt-thumbnail1" /></p>Saw this post from my friend Jesper earlier today about creating a custom "Download" post type in WordPress. It's an excellent tutorial/how-to. Check it out.

]]></content:encoded>
			<wfw:commentRss>http://jayj.dk/2011/download-cpt-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Web Fonts in HTML5Press</title>
		<link>http://www.longren.org/feeder/?FeederAction=clicked&#038;feed=T.+Longren&#038;seed=http%3A%2F%2Fwww.longren.org%2Fgoogle-web-fonts-in-html5press%2F&#038;seed_title=Google+Web+Fonts+in+HTML5Press</link>
		<comments>http://www.longren.org/google-web-fonts-in-html5press/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 21:39:43 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[html5press]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[poll]]></category>

		<guid isPermaLink="false">http://www.longren.org/?p=2993</guid>
		<description><![CDATA[<p><img width="200" height="169" src="http://www.longren.org/wp-content/uploads/2011/09/gwebfonts-200x169.png" class="attachment-200x200 wp-post-image" alt="gwebfonts" title="gwebfonts" /></p>I've added 20 <a href="http://www.google.com/webfonts#ChoosePlace:select">Google Web Fonts</a> to HTML5Press. I pretty much just chose 20 fonts at random and went with them. The default font is still Droid Serif. You can choose one of these fonts via the theme options page.
[ad]
The first 20 fonts are:
<blockquote>Antic
Volkhov
Numans
Voltaire
Short Stack
Questrial
Comfortaa
Rationale
Varela Round
Abel
Gloria Hallelujah
Sue Ellen Francisco
Nothing You Could Do
Amaranth
Quattrocento Sans
IM Fell Great Primer SC
PT Sans Narrow
Walter Turncoat
Jura
Coming Soon
</blockquote>

You can see <a href="http://www.google.com/webfonts#UsePlace:use/Collection:Antic|Volkhov|Numans|Voltaire|Short+Stack|Questrial|Comfortaa|Rationale|Varela+Round|Abel|Gloria+Hallelujah|Sue+Ellen+Francisco|Nothing+You+Could+Do|Amaranth|Quattrocento+Sans|IM+Fell+Great+Primer+SC|PT+Sans+Narrow|Walter+Turncoat|Jura|Coming+Soon">previews of those fonts here</a>.

[poll id="5"]

If you vote "yes" and have a specific font in mind, please leave a comment here and let me know what font you'd like included. I'd be happy to include any fonts requested.

Oh, and if you're curious, I'm using the "Gloria Hallelujah" font as of this posting.

<strong>UPDATE 9/7/2011:</strong> I <a href="https://github.com/tlongren/html5press/commit/c9d81d4ac0afe53b1ff9c5c78a3b7f877941038a">added</a> <a href="http://www.google.com/webfonts#ReviewPlace:refine/Collection:Days+One|Hammersmith+One|Rochester|Smythe|Allerta|Istok+Web|Redressed|News+Cycle|Architects+Daughter|Patrick+Hand|Yellowtail|Nunito|Cabin|Vibur|Carter+One|Give+You+Glory|Neucha|Cherry+Cream+Soda|Reenie+Beanie|Lobster+Two|Just+Another+Hand|Calligraffitti|Rock+Salt|Julee|Aclonica">25 more fonts</a>. All ~50 fonts will be available when HTML5Press 2.0 is released. If you'd like to try it early, you can <a href="https://github.com/tlongren/html5press/archives/master">download it from Github</a>.]]></description>
			<content:encoded><![CDATA[<p><img width="200" height="169" src="http://www.longren.org/wp-content/uploads/2011/09/gwebfonts-200x169.png" class="attachment-200x200 wp-post-image" alt="gwebfonts" title="gwebfonts" /></p>I've added 20 <a href="http://www.google.com/webfonts#ChoosePlace:select">Google Web Fonts</a> to HTML5Press. I pretty much just chose 20 fonts at random and went with them. The default font is still Droid Serif. You can choose one of these fonts via the theme options page.
[ad]
The first 20 fonts are:
<blockquote>Antic
Volkhov
Numans
Voltaire
Short Stack
Questrial
Comfortaa
Rationale
Varela Round
Abel
Gloria Hallelujah
Sue Ellen Francisco
Nothing You Could Do
Amaranth
Quattrocento Sans
IM Fell Great Primer SC
PT Sans Narrow
Walter Turncoat
Jura
Coming Soon
</blockquote>

You can see <a href="http://www.google.com/webfonts#UsePlace:use/Collection:Antic|Volkhov|Numans|Voltaire|Short+Stack|Questrial|Comfortaa|Rationale|Varela+Round|Abel|Gloria+Hallelujah|Sue+Ellen+Francisco|Nothing+You+Could+Do|Amaranth|Quattrocento+Sans|IM+Fell+Great+Primer+SC|PT+Sans+Narrow|Walter+Turncoat|Jura|Coming+Soon">previews of those fonts here</a>.

[poll id="5"]

If you vote "yes" and have a specific font in mind, please leave a comment here and let me know what font you'd like included. I'd be happy to include any fonts requested.

Oh, and if you're curious, I'm using the "Gloria Hallelujah" font as of this posting.

<strong>UPDATE 9/7/2011:</strong> I <a href="https://github.com/tlongren/html5press/commit/c9d81d4ac0afe53b1ff9c5c78a3b7f877941038a">added</a> <a href="http://www.google.com/webfonts#ReviewPlace:refine/Collection:Days+One|Hammersmith+One|Rochester|Smythe|Allerta|Istok+Web|Redressed|News+Cycle|Architects+Daughter|Patrick+Hand|Yellowtail|Nunito|Cabin|Vibur|Carter+One|Give+You+Glory|Neucha|Cherry+Cream+Soda|Reenie+Beanie|Lobster+Two|Just+Another+Hand|Calligraffitti|Rock+Salt|Julee|Aclonica">25 more fonts</a>. All ~50 fonts will be available when HTML5Press 2.0 is released. If you'd like to try it early, you can <a href="https://github.com/tlongren/html5press/archives/master">download it from Github</a>.]]></content:encoded>
			<wfw:commentRss>http://www.longren.org/google-web-fonts-in-html5press/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5Press Post Titles Change</title>
		<link>http://www.longren.org/feeder/?FeederAction=clicked&#038;feed=T.+Longren&#038;seed=http%3A%2F%2Fwww.longren.org%2Fhtml5press-post-titles-change%2F&#038;seed_title=HTML5Press+Post+Titles+Change</link>
		<comments>http://www.longren.org/html5press-post-titles-change/#comments</comments>
		<pubDate>Sat, 27 Aug 2011 03:57:52 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Unwakeable]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[html5press]]></category>

		<guid isPermaLink="false">http://www.longren.org/?p=2986</guid>
		<description><![CDATA[<p><img width="200" height="193" src="http://www.longren.org/wp-content/uploads/2011/08/html5press_titlesize-200x193.png" class="attachment-200x200 wp-post-image" alt="HTML5Press Post Title Font Size" title="HTML5Press Post Title Font Size" /></p>Just wanted to note that I decreased the font size for post titles in HTML5Press. Size <a href="https://github.com/tlongren/html5press/commit/385df3d0f439fda53504db8e9f43c5b8ab9c18d5">changed from 38px to 28px</a>. You can see an illustration of the change in the image attached to this post.

I've got <a href="http://www.longren.org/wordpress-tip-redirect-to-previous-page-after-login/" title="WordPress Tip: Redirect to Previous Page After Login">some</a> <a href="http://www.longren.org/html5press-1-8-now-with-update-notifications/" title="HTML5Press 1.8: Now With Update Notifications">pretty</a> <a href="http://www.longren.org/remove-qq_tracker_code_advanced_default-message-from-wordpress/" title="Remove qq_tracker_code_advanced_default Message from WordPress">long</a> <a href="http://www.longren.org/tip-voice-commands-for-kinect-on-xbox-360/" title="Tip: List of Voice Commands for Kinect on Xbox 360">post</a> <a href="http://www.longren.org/how-to-make-ubuntu-recognize-all-drives-during-install/" title="How To: Make Ubuntu Recognize All Drives During Install">titles</a> <a href="http://www.longren.org/how-to-build-a-tag-cloud-with-php-mysql-and-css/" title="How To: Build a Tag Cloud with PHP, MySQL, and CSS">around</a> here, and I know some other people using HTML5Press do too.]]></description>
			<content:encoded><![CDATA[<p><img width="200" height="193" src="http://www.longren.org/wp-content/uploads/2011/08/html5press_titlesize-200x193.png" class="attachment-200x200 wp-post-image" alt="HTML5Press Post Title Font Size" title="HTML5Press Post Title Font Size" /></p>Just wanted to note that I decreased the font size for post titles in HTML5Press. Size <a href="https://github.com/tlongren/html5press/commit/385df3d0f439fda53504db8e9f43c5b8ab9c18d5">changed from 38px to 28px</a>. You can see an illustration of the change in the image attached to this post.

I've got <a href="http://www.longren.org/wordpress-tip-redirect-to-previous-page-after-login/" title="WordPress Tip: Redirect to Previous Page After Login">some</a> <a href="http://www.longren.org/html5press-1-8-now-with-update-notifications/" title="HTML5Press 1.8: Now With Update Notifications">pretty</a> <a href="http://www.longren.org/remove-qq_tracker_code_advanced_default-message-from-wordpress/" title="Remove qq_tracker_code_advanced_default Message from WordPress">long</a> <a href="http://www.longren.org/tip-voice-commands-for-kinect-on-xbox-360/" title="Tip: List of Voice Commands for Kinect on Xbox 360">post</a> <a href="http://www.longren.org/how-to-make-ubuntu-recognize-all-drives-during-install/" title="How To: Make Ubuntu Recognize All Drives During Install">titles</a> <a href="http://www.longren.org/how-to-build-a-tag-cloud-with-php-mysql-and-css/" title="How To: Build a Tag Cloud with PHP, MySQL, and CSS">around</a> here, and I know some other people using HTML5Press do too.]]></content:encoded>
			<wfw:commentRss>http://www.longren.org/html5press-post-titles-change/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5Press Lightbox Effect</title>
		<link>http://www.longren.org/feeder/?FeederAction=clicked&#038;feed=T.+Longren&#038;seed=http%3A%2F%2Fwww.longren.org%2Fhtml5press-lightbox-effect%2F&#038;seed_title=HTML5Press+Lightbox+Effect</link>
		<comments>http://www.longren.org/html5press-lightbox-effect/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 15:07:25 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[html5press]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[poll]]></category>

		<guid isPermaLink="false">http://www.longren.org/?p=2975</guid>
		<description><![CDATA[<p><img width="200" height="200" src="http://www.longren.org/wp-content/uploads/2011/08/html5press_slimbox-200x200.png" class="attachment-200x200 wp-post-image" alt="HTML5Press Slimbox2" title="HTML5Press Slimbox2" /></p>The most recent poll I posted here indicates that most HTML5Press users would like to see a lightbox-type effect built into HTML5Press.
[poll id="4"]
I thought about adding a lightbox-type feature to HTML5Press with CSS3 but ended up settling on <a href="http://www.digitalia.be/software/slimbox2">Slimbox2 instead</a>. Slimbox2 is a very small clone of the popular <a href="http://www.lokeshdhakar.com/projects/lightbox2/">Lightbox</a> image overlay effect.

I have implemented slimbox2 for featured images mostly. So, if you click on a featured image when viewing a single post, the large image will show in the slimbox.

It will also work with images embedded directly in your posts. You won't have to worry about adding rel="lightbox" to your image links either, as I've <a href="https://github.com/tlongren/html5press/commit/f0710936d447a00b5d9c9ad159e34fb555374bbe">added some code to take care of that</a> automatically.

I haven't officially released a new version of HTML5Press that includes this new feature, but if you're interested you can <a href="https://github.com/tlongren/html5press">grab a development version of HTML5Press from Github</a>.

You'll need to enable the lightbox effect via the HTML5Press Options page in your WordPress Dashboard. The effect is turned off by default.

<strong>This post is sponsored by:</strong>
Comindware - is an innovative company that produces unique business software and <a href="http://www.comindware.com/">online collaboration tools</a> for any industry.]]></description>
			<content:encoded><![CDATA[<p><img width="200" height="200" src="http://www.longren.org/wp-content/uploads/2011/08/html5press_slimbox-200x200.png" class="attachment-200x200 wp-post-image" alt="HTML5Press Slimbox2" title="HTML5Press Slimbox2" /></p>The most recent poll I posted here indicates that most HTML5Press users would like to see a lightbox-type effect built into HTML5Press.
[poll id="4"]
I thought about adding a lightbox-type feature to HTML5Press with CSS3 but ended up settling on <a href="http://www.digitalia.be/software/slimbox2">Slimbox2 instead</a>. Slimbox2 is a very small clone of the popular <a href="http://www.lokeshdhakar.com/projects/lightbox2/">Lightbox</a> image overlay effect.

I have implemented slimbox2 for featured images mostly. So, if you click on a featured image when viewing a single post, the large image will show in the slimbox.

It will also work with images embedded directly in your posts. You won't have to worry about adding rel="lightbox" to your image links either, as I've <a href="https://github.com/tlongren/html5press/commit/f0710936d447a00b5d9c9ad159e34fb555374bbe">added some code to take care of that</a> automatically.

I haven't officially released a new version of HTML5Press that includes this new feature, but if you're interested you can <a href="https://github.com/tlongren/html5press">grab a development version of HTML5Press from Github</a>.

You'll need to enable the lightbox effect via the HTML5Press Options page in your WordPress Dashboard. The effect is turned off by default.

<strong>This post is sponsored by:</strong>
Comindware - is an innovative company that produces unique business software and <a href="http://www.comindware.com/">online collaboration tools</a> for any industry.]]></content:encoded>
			<wfw:commentRss>http://www.longren.org/html5press-lightbox-effect/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress Tip: Redirect to Previous Page After Login</title>
		<link>http://www.longren.org/feeder/?FeederAction=clicked&#038;feed=T.+Longren&#038;seed=http%3A%2F%2Fwww.longren.org%2Fwordpress-tip-redirect-to-previous-page-after-login%2F&#038;seed_title=WordPress+Tip%3A+Redirect+to+Previous+Page+After+Login</link>
		<comments>http://www.longren.org/wordpress-tip-redirect-to-previous-page-after-login/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 16:19:19 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.longren.org/?p=2957</guid>
		<description><![CDATA[I work for a group of newspapers here in Iowa. We recently started moving these sites to WordPress. Site visitors must be logged in to view stories. They can see [...]]]></description>
			<content:encoded><![CDATA[<p>I work for a group of newspapers here in Iowa. We recently started moving these sites to WordPress. Site visitors must be logged in to view stories. They can see all the stories on the front page, but when they click through to a single story, they see a login form in place of the post/story content.<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0816337812164133";
/* Small Banner */
google_ad_slot = "7689541366";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
I needed to redirect users back to the page they were viewing after logging in. So, if a user was viewing a story called &#8220;Look at me now&#8221;, they&#8217;d need to be redirected back to that story after logging in.</p>
<p>To achieve this redirect after login, add the following code to the <strong>functions.php</strong> file for your theme:</p>
<pre><code>
if ( (isset($_GET['action']) &#038;&#038; $_GET['action'] != 'logout') || (isset($_POST['login_location']) &#038;&#038; !empty($_POST['login_location'])) ) {
	add_filter('login_redirect', 'my_login_redirect', 10, 3);
	function my_login_redirect() {
		$location = $_SERVER['HTTP_REFERER'];
		wp_safe_redirect($location);
		exit();
	}
}
</code></pre>
<p>I looked at <a href="http://wordpress.org/extend/plugins/search.php?q=login+redirect&#038;sort=">a number of plugins</a> to do this, but none seemed to offer this functionality.</p>
<p>A bit of searching on Google <a href="http://taprootcreative.com/2010/12/wordpress-user-controlled-login-redirect/">yielded this post at Taproot Creative</a>. I modified the code on that post to set the redirect location to the referring page, and that was it!</p>
<p>Now users are redirected back to the story/post they originated from.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longren.org/wordpress-tip-redirect-to-previous-page-after-login/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

