<?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>SEOAdsenseThemes.com</title>
	<atom:link href="http://www.seoadsensethemes.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seoadsensethemes.com</link>
	<description>Search Engine Optimized (SEO), Adsense-Ready Free WordPress Themes</description>
	<lastBuildDate>Fri, 05 Jun 2009 08:22:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WP Post Thumbnail 0.2 Beta 2</title>
		<link>http://www.seoadsensethemes.com/0-2-beta-2-release/</link>
		<comments>http://www.seoadsensethemes.com/0-2-beta-2-release/#comments</comments>
		<pubDate>Wed, 27 May 2009 12:02:47 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://www.seoadsensethemes.com/?p=338</guid>
		<description><![CDATA[I have uploaded the latest beta build, Beta 2 of WP Post Thumbnail 0.2 to the website. You can download the plugin here.
Beta 2 contains mainly bugfixes, error handling and compatibility updates for WordPress 2.8 (currently in beta 2) which should be released soon.
I&#8217;ve also created a dedicated page for WP Post Thumbnail plugin. It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I have uploaded the latest beta build, Beta 2 of WP Post Thumbnail 0.2 to the website. You can download the plugin <a href="http://www.seoadsensethemes.com/wordpress-wp-post-thumbnail-plugin/">here</a>.</p>
<p>Beta 2 contains mainly bugfixes, error handling and compatibility updates for WordPress 2.8 (currently in beta 2) which should be released soon.</p>
<p>I&#8217;ve also created a dedicated page for WP Post Thumbnail plugin. It&#8217;s something which I should have done earlier.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoadsensethemes.com/0-2-beta-2-release/feed/</wfw:commentRss>
		<slash:comments>108</slash:comments>
		</item>
		<item>
		<title>WP Post Thumbnail 0.2 beta 1</title>
		<link>http://www.seoadsensethemes.com/wp-post-thumbnail-0-2-beta-1/</link>
		<comments>http://www.seoadsensethemes.com/wp-post-thumbnail-0-2-beta-1/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 14:36:21 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://www.seoadsensethemes.com/?p=198</guid>
		<description><![CDATA[Hi guys,
Would you mind testing WP Post Thumbnail 0.2 beta 1? You&#8217;ll find a link to download the plugin in a zipped file at the bottom of this post. It is placed down there in hope that you might spare a few minutes of your time to read about WP Post Thumbnail 0.2 beta 1.
Here&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Hi guys,</p>
<p>Would you mind testing <strong>WP Post Thumbnail 0.2 beta 1</strong>? You&#8217;ll find a link to <span style="text-decoration: underline;">download the plugin in a zipped file at the bottom of this post</span>. It is placed down there in hope that you might spare a few minutes of your time to read about WP Post Thumbnail 0.2 beta 1.</p>
<p>Here&#8217;s a rundown of version 0.2&#8217;s major changes and things to note:<br />
<span id="more-198"></span></p>
<ul style="list-style-type:square;list-style-position:inside;margin:2.68em 0;background:#f2f2f2;border:1px solid #ddd;padding:0 2em 0 2.5em;"><strong style="font-size:1.25em; font-weight:bold; font-style:italic; font-family: Georgia, Times, Times New Roman, serif; background:#686868;color:#fff; padding:0.75em 1em; margin:-2.5em 0 0 0; border:3px solid #ddd;">dear bloggers &#8230;</strong></p>
<li style="margin:3.68em 0;"><strong style="font-size:1.25em;font-weight:bold; font-style:italic; font-family: Georgia, Times, Times New Roman, serif;">Save as draft (or published) before making thumbnails</strong><br />
The plugin&#8217;s crop panel won&#8217;t appear before you &#8216;Save Draft&#8217; a new post. The plugin needs a <em>proper</em> post ID to link thumbnails to their respective posts. So type your post, save it as draft and the crop panel should appear when the page reloads.</p>
<p><img class="alignnone size-full wp-image-218" title="wp-post-thumbnail-save-draft" src="http://www.seoadsensethemes.com/wp-content/uploads/2009/04/wp-post-thumbnail-save-draft.png" alt="" width="383" height="105" /></p>
<p>This is more of a safety measure than anything. Technically, WordPress gives you a temporary post ID (something like this: -12345678) the moment you write a new post. As soon as you type a title or a few sentences, WordPress auto saves it as draft for you. Only then the post gets a proper post ID. Until I have more time understanding how to go about temporary IDs, I don&#8217;t plan on keeping this checking measure around.</li>
<li style="margin:3.68em 0;"><strong style="font-size:1.25em;font-weight:bold; font-style:italic; font-family: Georgia, Times, Times New Roman, serif;">No more XML file in theme folders to configure thumbnails</strong><br />
WP Post Thumbnail 0.2 does not read thumbnails configuration from an XML file in theme folders anymore.</p>
<p>WP Post Thumbnail 0.2 is re-written from a blogger&#8217;s point of view. It has options for you to easily configure thumbnails to suit different WordPress themes.</p>
<p><span style="text-decoration: underline;">The plugin comes with 3 presets. For each preset, bloggers can change <em>width</em>, <em>height</em> and assign which <em>custom key</em> it points to</span>.</p>
<p><img class="alignnone size-full wp-image-217" title="wp-post-thumbnail-presets" src="http://www.seoadsensethemes.com/wp-content/uploads/2009/04/wp-post-thumbnail-presets.png" alt="" width="615" height="322" /></p>
<p>Lets say you are using a theme that calls custom key &#8220;<em>wppt-standard</em>&#8221; to put thumbnails in posts. Simply enter &#8220;<em>wppt-standard</em>&#8221; in the custom key field.</li>
<li style="margin:3.68em 0;"><strong style="font-size:1.25em;">Choose default thumbnail</strong><br />
For themes that do not use <em>custom keys</em> for post thumbnail (such as Kubrick&#8217;s default WordPress theme), you can choose one thumbnail preset out of the three and set it as default.</p>
<p><img class="alignnone size-full wp-image-245" title="wp-post-thumbnail-choose-default-thumbnail-preset" src="http://www.seoadsensethemes.com/wp-content/uploads/2009/04/wp-post-thumbnail-choose-default-thumbnail-preset.jpg" alt="" width="445" height="185" /></p>
<p>If <em>preset1</em> is set as default, the plugin will insert all <em>preset1</em> thumbnails into their respective posts.</p>
<p><a href="http://www.seoadsensethemes.com/wp-content/uploads/2009/04/wp-post-thumbnail-default-thumbnails-in-kubrick.png"><img class="alignnone size-medium wp-image-249" title="wp-post-thumbnail-default-thumbnails-in-kubrick" src="http://www.seoadsensethemes.com/wp-content/uploads/2009/04/wp-post-thumbnail-default-thumbnails-in-kubrick-266x300.png" alt="" width="266" height="300" /></a></li>
<li style="margin:3.68em 0;"><strong style="font-size:1.25em;font-weight:bold; font-style:italic; font-family: Georgia, Times, Times New Roman, serif;">Uses WordPress&#8217;s media library</strong><br />
Unlike the old version 0.1.8, you now have to upload your original images (jpg, png or gif) to the media library. Choose the uploaded images from WP Post Thumbnail panel and crop.</p>
<p><img class="alignnone size-full wp-image-229" style="style=" title="wp-post-thumbnail-choose-photo-to-crop" src="http://www.seoadsensethemes.com/wp-content/uploads/2009/04/wp-post-thumbnail-choose-photo-to-crop.jpg" alt="" width="500" height="149" /></p>
<p><span style="text-decoration: underline;">Note</span>: <em>I&#8217;ve received feedback concerning JPGs loaded into the crop panel looking horribly compressed. It was done so intentionally. The JPG is ridiculously compressed before loading so that it loads fastest. Don&#8217;t be alarmed coz when you save thumbnail, the crop is done to the actual full quality source which you uploaded. The next update out of beta will probably include an option to trigger compression quality of source JPGs loaded into crop panel.</em></p>
<p>By retaining the original source images, you can always come back to the source to recrop. Or simply let the plugin do it for you. Which brings us to the next feature.</li>
<li style="margin:3.68em 0;"><strong style="font-size:1.25em;font-weight:bold; font-style:italic; font-family: Georgia, Times, Times New Roman, serif;">Auto recrop &amp; resize</strong><br />
As mentioned above, WP Post Thumbnail 0.2 has an options page to modify width and height of 3 preset thumbnails. Each time you set a new width and height for a preset, the plugin automatically recrop/resize existing thumbnails to the new dimension. Thumbnails <span style="text-decoration: underline;">automatically shrink or grow around your crop&#8217;s area of focus while preserving aspect ratios and proportions</span>.</p>
<p><a href="http://www.seoadsensethemes.com/wp-content/uploads/2009/04/wp-post-thumbnail-auto-resize-recrop.jpg"><img class="alignnone size-full wp-image-222" title="wp-post-thumbnail-auto-resize-recrop" src="http://www.seoadsensethemes.com/wp-content/uploads/2009/04/wp-post-thumbnail-auto-resize-recrop.jpg" alt="" width="500" height="292" /></a></p>
<p>It might not be apparent how this feature will help you now. But imagine you&#8217;ve been using Theme-A for a year. Theme-A uses 200px by 150px thumbnail for post entries. You have blogged hundreds of posts and created hundreds of 200px by 150px thumbnails.</p>
<p>What if you decide to switch to a new theme, Theme-B, that uses 250px by 100px thumbnails?</p>
<p>To save you the trouble of manually going back post by post to recrop hundreds of thumbnails, the plugin does that for you at a click of a button.</li>
</ul>
<ul style="list-style-type:square;list-style-position:inside;margin:2.68em 0;background:#f2f2f2;border:1px solid #ddd;padding:0 2em 0 2.5em;"><strong style="font-size:1.25em; font-weight:bold; font-style:italic; font-family: Georgia, Times, Times New Roman, serif; background:#686868;color:#fff; padding:0.75em 1em; margin:-2.5em 0 0 0; border:3px solid #ddd;">dear theme developers &#8230;</strong></p>
<li style="margin:3.68em 0;"><strong style="font-size:1.25em;font-weight:bold; font-style:italic; font-family: Georgia, Times, Times New Roman, serif;">(Optional) Shortcode to get thumbnail img tag</strong><br />
<span style="text-decoration: underline;">This is completely <strong><em>OPTIONAL</em></strong></span>. Let&#8217;s be clear about this.</p>
<p>Most theme developers currently use <em>custom keys</em> to put thumbnails in their themes. If you&#8217;re one of them using &#8220;get_post_meta&#8221; tag to call post thumbnails in your existing themes, <span style="text-decoration: underline;">no changes is necessary</span>.</p>
<p>The plugin comes with an additional way to call post thumbnails. &#8220;wppt_thumbnail&#8221; shortcode returns an <span style="text-decoration: underline;">img tag complete with alt, title, width and height attributes</span>. The <span style="text-decoration: underline;">&#8220;custom_key&#8221; parameter is required</span>. The shortcode accepts an <span style="text-decoration: underline;">optional &#8220;class&#8221; parameter</span> for you to style the img. The following shortcode sample calls custom key &#8220;your-post-thumbnail&#8221; and &#8220;your-post-thumbnail&#8221; class parameter:</p>
<pre class="syntax-highlight:html">
[wppt_thumbnail custom_key=&quot;your-post-thumbnail&quot; class=&quot;your-post-thumbnail-class&quot;]
</pre>
<p>Why use &#8220;wppt_thumbnail&#8221; shortcode instead of the usual &#8220;get_post_meta&#8221;? The plugin allow bloggers to edit ALT and TITLE attributes for each thumbnail created. They can enter precisely what they want as ALT and TITLE. The &#8220;img&#8221; tags called by the shortcode contains ALT and TITLE attributes that the bloggers entered for each thumbnail. Remember, using shortcode is absolutely optional.</p>
<p>Here&#8217;s a sample on using [wppt_thumbnail] shortcode in your posts loop. If you want to implement the [wppt-thumbnail] shortcode way of calling post thumbnail, bear in mind, you can&#8217;t expect all your theme users to use WP Post Thumbnail plugin. Therefore ideally, you should have both [wppt-thumbnail] shortcode and the normal &#8220;get_post_meta&#8221; way:</p>
<pre class="syntax-highlight:php">

&lt;?php $pft_widescreen_img_tag = do_shortcode(&#039;[wppt_thumbnail custom_key=&quot;pft_widescreen&quot; class=&quot;thumbnail&quot;]&#039;);

if ( !empty( $pft_widescreen_img_tag ) ) {

echo $pft_widescreen_img_tag;

} else if ( get_post_meta($post-&gt;ID, &#039;pft_widescreen&#039;, true) ) { ?&gt;

&lt;img class=&quot;thumbnail&quot; src=&quot;&lt;?php echo get_post_meta($post-&gt;ID, &#039;pft_widescreen&#039;, $single = true); ?&gt;&quot; /&gt;

&lt;?php } ?&gt;
</pre>
</li>
</ul>
<p><strong style="display:block;margin:3em 0 0 0;">Download</strong>Here&#8217;s the download link to WP Post Thumbnail 0.2 Beta 2:</p>
<p><a style="border: 3px solid #85c628; margin: 1.25em 0pt; padding: 1em; background: #d5ff9a none repeat scroll 0% 0%; text-align: center; width: 85%; font-size: 1.75em; display: block;" href="http://www.seoadsensethemes.com/downloads/wp_post_thumbnail_0_2_beta_1.zip">wp_post_thumbnail_0_2_beta_1.zip</a></p>
<p><strong style="display:block;margin:3em 0 0 0;">Requirements</strong></p>
<ul>
<li> Requires at least: WordPress 2.7</li>
<li> Tested up to: WordPress 2.8</li>
<li> You might need <span style="text-decoration: underline;">directory &#8220;wp-contents/&#8221; set to write permissible</span> (777) mode before installing plugin.</li>
<li>Also, CHMOD the plugin&#8217;s cache directory &#8220;&#8230; wp-contents/plugins/wp-post-thumbnail/cache&#8221; to writable too (777).</li>
<li> Requires web server running <span style="text-decoration: underline;">PHP5</span>.</li>
<li>Safe mode <span style="text-decoration: underline;">OFF</span>.</li>
</ul>
<p><strong style="display:block;margin:3em 0 0 0;">Installation</strong><br />
1. Unzip the package. Upload `wp-post-thumbnail` folder to `/wp-content/plugins/` directory.<br />
2. Activate the plugin through the &#8216;Plugins&#8217; menu in WordPress.<br />
3. Go to &#8216;Settings&#8217; &gt; &#8216;WP Post Thumbnail&#8217; for configuration.</p>
<p><strong style="display:block;margin:3em 0 0 0;">Known Bugs and Issues</strong><br />
1. Large images stuck during loading. Scale your ultra-large images down to a more manageable size (eg. 1024px by 783px) before uploading to your post. Set your web hosting server&#8217;s php.ini max_memory to no less than 32MB.</p>
<p><strong style="display:block;margin:3em 0 0 0;">Feedback, bugs and suggestions</strong>To report bugs, email me at:</p>
<p><span style="padding-left: 2em; text-decoration: underline;">stanley~AT~seoadsensethemes~DOT~com</span></p>
<p><em style="display:block;margin:0 0 3em 0;">Thank you!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoadsensethemes.com/wp-post-thumbnail-0-2-beta-1/feed/</wfw:commentRss>
		<slash:comments>76</slash:comments>
		</item>
		<item>
		<title>WP Post Thumbnail v0.2 &#8211; screenshot preview and major changes</title>
		<link>http://www.seoadsensethemes.com/wp-post-thumbnail-v02-screenshot-preview-and-major-changes/</link>
		<comments>http://www.seoadsensethemes.com/wp-post-thumbnail-v02-screenshot-preview-and-major-changes/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 17:56:33 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.seoadsensethemes.com/?p=173</guid>
		<description><![CDATA[
This is a screenshot of an update to WP Post Thumbnail WordPress plugin I&#8217;ve been working on lately. I&#8217;m in the process of testing it and hope to wrap it up before the end of the month.
Besides bringing WP Post Thumbnail up to WordPress 2.7, some major changes includes:

Uploading images are now through WordPress own [...]]]></description>
			<content:encoded><![CDATA[<p><img title="WP Post Thumbnail v0.2 for WordPress 2.7 - User Interface screenshot" src="http://www.seoadsensethemes.com/wp-content/uploads/2009/02/wp-post-thumbnail-v0-2-preview-01.jpg" alt="WP Post Thumbnail v0.2 for WordPress 2.7 - User Interface screenshot" width="640" height="823" /></p>
<p><span id="more-173"></span>This is a screenshot of an update to WP Post Thumbnail WordPress plugin I&#8217;ve been working on lately. I&#8217;m in the process of testing it and hope to wrap it up before the end of the month.</p>
<p>Besides bringing WP Post Thumbnail up to WordPress 2.7, some major changes includes:</p>
<ul style="list-style:square;">
<li style="margin-bottom:1.68em;"><strong>Uploading images are now through WordPress own built-in media library</strong>. WP Post Thumbnail v0.2 scans through the media library for supported image type files and list them out. Bloggers then choose an image to crop. By retaining each thumbnails source image in media library, bloggers can easily go back, find source images and recrop thumbnails.</li>
<li style="margin-bottom:1.68em;"><strong>Uses DeepLiquid&#8217;s &#8220;jCrop&#8221; jQuery javascript cropping plugin</strong> (<em>Michal Wojciechowski&#8217;s &#8220;imgAreaSelect&#8221; was used in the current WP Post Thumbnail 0.1.8</em>). This is to take advantage of jCrop&#8217;s <a href="http://deepliquid.com/content/Jcrop_Sizing_Issues.html">Explicit Sizing Method</a> to handle large images. In WP Post Thumbnail 0.1.8, large images are simply resized to fit the container but the cropping mechanism is not scaled according. With jCrop&#8217;s Explicit Sizing Method in WP Post Thumbnail v0.2, we are able to resize large images smaller and the cropping mechanism scales according.</li>
<li style="margin-bottom:1.68em;">Bloggers are given a few <strong>options to configure</strong> their <strong>default thumbnail</strong>. In the WP Post Thumbnail v0.2 settings page, you can configure jpeg_quality, default thumbnail&#8217;s width and height. In the &#8220;Edit Post&#8221; section, bloggers can override the default width and height as well as float left or right options for each post. Therefore unlike the current WP Post Thumbnail 0.1.8, bloggers can choose to display default thumbnail in various ways &#8230;<img style="display:block;margin:1em 0 0 0" title="WP Post Thumbnail v0.2 for WordPress 2.7 - Override default thumbnails screenshot" src="http://www.seoadsensethemes.com/wp-content/uploads/2009/02/wp-post-thumbnail-v0-2-default-thumbnail-override-results.jpg" alt="WP Post Thumbnail v0.2 for WordPress 2.7 - Override default thumbnails screenshot" width="320" height="653" /></li>
</ul>
<p><em><strong>More updates soon &#8230;</strong></em></p>
<p><em>One major problem I&#8217;ve yet to rectify is cropping very large images. For instance, when cropping huge images shot using a Nikon D80 SLR (10 megapixel, 2MB or greater filesizes) I had to tweak php.ini to increase memory_limit to 64M. Currently, I&#8217;m using GD to resize images. Would ImageMagick be better and more memory efficient compared to GD? Also is ImageMagick installed in your web hosting? Please advice!<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoadsensethemes.com/wp-post-thumbnail-v02-screenshot-preview-and-major-changes/feed/</wfw:commentRss>
		<slash:comments>41</slash:comments>
		</item>
		<item>
		<title>WP Post Thumbnail &#8211; WordPress plugin</title>
		<link>http://www.seoadsensethemes.com/wp-post-thumbnail-wordpress-plugin/</link>
		<comments>http://www.seoadsensethemes.com/wp-post-thumbnail-wordpress-plugin/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 06:18:02 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WP Post Thumbnail]]></category>

		<guid isPermaLink="false">http://www.seoadsensethemes.com/?p=89</guid>
		<description><![CDATA[
Download WP Post Thumbnail 0.1.8
Update 27th May 2009: WP Post Thumbnail 0.2 Beta 2 has been released for testing. I urge you to install 0.2 Beta  2 because WP Post Thumbnail 0.1.8 codebase is not longer maintained.
WP Post Thumbnail plugin adds an image upload, crop and save panel in &#8216;Write Post&#8217; screen. It allows you [...]]]></description>
			<content:encoded><![CDATA[<p style="float:right;margin:0 0 1em 2em;padding:18px 28px;border:3px double #ddd;background:#f8f8f8;"><img class="size-full wp-image-120" title="Download WP Post Thumbnail" src="http://www.seoadsensethemes.com/wp-content/uploads/2008/10/inbox.png" alt="Download WP Post Thumbnail" width="128" height="128" /><br />
<a style="text-decoration:underline;" href="http://wordpress.org/extend/plugins/wp-post-thumbnail/">Download WP Post Thumbnail 0.1.8</a></p>
<p style="background:#fffeeb;padding:1em;"><strong>Update 27th May 2009</strong>: <em><a href="http://www.seoadsensethemes.com/wordpress-wp-post-thumbnail-plugin/">WP Post Thumbnail 0.2 Beta 2</a> has been released for testing. I urge you to install 0.2 Beta  2 because WP Post Thumbnail 0.1.8 codebase is not longer maintained.</em></p>
<p>WP Post Thumbnail plugin adds an image upload, crop and save panel in &#8216;Write Post&#8217; screen. It allows you to easily upload a <code>.jpg</code> image file. Once the image file is uploaded, you can crop it before saving it as your thumbnail. That&#8217;s it.</p>
<p>Spend less time messing around with Photoshop everytime you need to make a thumbnail (or two) for your post. Also, saves you time and trouble from manually copy-and-pasting uploaded image URLs into custom key value fields.</p>
<p>For theme developers, particularly magazine-style WordPress theme developers, you can configure up to 3 different thumbnails to be used in each post. For instance,</p>
<p>- a big 320px by 180px widescreen thumbnail for leading featured post to be displayed prominently on the front page.</p>
<p>- a square 125px by 125px thumbnail for recent posts.</p>
<p>Dimensions as varied as your theme requires can be easily configured in an XML file. Save the file as &#8216;<code>wppt.xml</code>&#8216; and put it in your theme&#8217;s folder (ideally, the main folder but any folder will do). WP Post Thumbnail will scan your theme folders, look for your theme&#8217;s &#8216;<code>wppt.xml</code>&#8216; file and read your theme&#8217;s thumbnail(s) configuration.</p>
<p><span id="more-89"></span></p>
<h4>Screenshots</h4>
<p>1. WP Post Thumbnail default thumbnail in use<br />
<img class="size-full wp-image-105" style="margin:0 0 2em 2.68em; padding:2px; border:1px solid #ddd;" title="WP Post Thumbnail default thumbnail output" src="http://www.seoadsensethemes.com/wp-content/uploads/2008/10/screenshot-1.jpg" alt="WP Post Thumbnail default thumbnail output" width="500" height="519" /></p>
<p>2. WP Post Thumbnail panel in &#8216;Write Post&#8217; screen<br />
<img class="size-full wp-image-106" style="margin:0 0 2em 2.68em; padding:2px; border:1px solid #ddd;" title="WP Post Thumbnail \'Write Post\' screen" src="http://www.seoadsensethemes.com/wp-content/uploads/2008/10/screenshot-2.jpg" alt="WP Post Thumbnail \'Write Post\' screen" width="500" height="586" /></p>
<p>3. WP Post Thumbnail configured to handle 3 thumbnails with different dimensions in a WordPress theme<br />
<img class="size-full wp-image-112" style="margin:0 0 2em 2.68em; padding:2px; border:1px solid #ddd;" title="WP Post Thumbnail Wordpress Plugin - Using multiple thumbnails with different dimensions in your theme" src="http://www.seoadsensethemes.com/wp-content/uploads/2008/10/wp-post-thumbnail-wordpress-plugin_multiple_thumbnails.jpg" alt="WP Post Thumbnail Wordpress Plugin - Using multiple thumbnails with different dimensions in your theme" width="500" height="353" /></p>
<p style="padding:1em; border:3px double #ddd; background:#f8f8f8;">NOTE: For a video demo, click <a href="http://www.seoadsensethemes.com/wordpress-post-thumbnail-without-custom-field/">here</a>.</p>
<h4>Installation</h4>
<p>1. Copy the `wp-post-thumbnail` folder into your &#8216;wp-content/plugins&#8217; folder.<br />
2. Activate the plugin through the &#8216;Plugins&#8217; menu in WordPress. That&#8217;s it.</p>
<p>Note: <span style="text-decoration: underline;">This plugin requires your upload folder (default: <code>wp-content/uploads/</code> ) to be writable. Make sure this folder is write access enabled.</span></p>
<p>The default thumbnail is 160px by 90px which floats to the top left corner of the content of your post.</p>
<p>If your WordPress blog uses a theme that comes with pre-configured set of thumbnail(s) to work with this plugin, the theme&#8217;s folder should contain an XML file called &#8216;<code>wppt.xml</code>&#8216; created by the theme developer. In this case, it will override the default thumbnail. For theme developers, more information on how to configure WP Post Thumbnail for your WordPress theme can be found in FAQ.</p>
<h4>Frequently Asked Questions</h4>
<p><strong>Q</strong>: <span style="text-decoration: underline;">I am developing a WordPress theme. How do I configure WP Post Thumbnail to work specifically for my theme?</span></p>
<p style="border: 3px double #dddddd; margin: 1em 0pt 1em 2em; padding: 10px; background: #f8f8f8 none repeat scroll 0% 0%; width: 150px; float: right;"><a href="http://www.seoadsensethemes.com/wp-content/uploads/2008/10/wp-post-thumbnail-wordpress-plugin_developer_flow.jpg" target="_blank"><img class="size-thumbnail wp-image-147" title="WP Post Thumbnail - WordPress Plugin - Theme Developer Flow" src="http://www.seoadsensethemes.com/wp-content/uploads/2008/10/wp-post-thumbnail-wordpress-plugin_developer_flow-150x150.jpg" alt="WP Post Thumbnail - WordPress Plugin - Theme Developer Flow" width="150" height="150" /></a><br />
<small>Theme developer&#8217;s flow illustration (250Kb).<br />
Opens in new window.</small></p>
<p><strong>A</strong>: This is the purpose of which WP Post Thumbnail is written for. The current version of this plugin assumes that you, as theme developer, have basic knowledge of writing a configuration file in XML format and calling/placing the thumbnails&#8217; custom field value within your theme.</p>
<p>For the visually inclined, click the thumbnail on the right to open an image that illustrates basically how theme developers can use WP Post Thumbnail to handle thumbnail(s) in their WordPress themes.</p>
<p>I have included a sample XML configuration file in the plugin&#8217;s main folder called &#8216;<code>wppt.xml</code>&#8216;:</p>
<p><code>wppt.xml</code>:</p>
<pre class="syntax-highlight:html">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;wp-post-thumbnail&gt;

&lt;pft_widescreen&gt;
&lt;name&gt;Widescreen&lt;/name&gt;
&lt;desc&gt;Recent posts&lt;/desc&gt;
&lt;width&gt;270&lt;/width&gt;
&lt;height&gt;110&lt;/height&gt;
&lt;/pft_widescreen&gt;

&lt;pft_square&gt;
&lt;name&gt;Square&lt;/name&gt;
&lt;desc&gt;Category post and more&lt;/desc&gt;
&lt;width&gt;150&lt;/width&gt;
&lt;height&gt;150&lt;/height&gt;
&lt;/pft_square&gt;

&lt;pft_rectangle&gt;
&lt;name&gt;Rectangle&lt;/name&gt;
&lt;desc&gt;Latest featured post&lt;/desc&gt;
&lt;width&gt;390&lt;/width&gt;
&lt;height&gt;270&lt;/height&gt;
&lt;/pft_rectangle&gt;

&lt;/wp-post-thumbnail&gt;</pre>
<p>The above sample XML file configures 3 different thumbnails titled <code>&lt;pft_widescreen&gt;</code>, <code>&lt;pft_square&gt;</code> and <code>&lt;pft_rectangle&gt;</code>. The node titles are also used as custom field keys to call specific thumbnails to appear in your theme. For instance, to get the square thumbnail:</p>
<p>Say, in your WordPress theme&#8217;s <code>single.php</code>:</p>
<pre class="syntax-highlight:php">&lt;img src=&quot;&lt;?php get_post_meta($post-&gt;ID, &#039;pft_square&#039;, true); ?&gt;&quot; /&gt;</pre>
<p>Each thumbnail has four properties:</p>
<p><code>&lt;name&gt;</code> specifies a friendly name to appear in the thumbnail tab in &#8216;Write Post&#8217; area.<br />
<code>&lt;desc&gt;</code> a short description about the thumbnail<br />
<code>&lt;width&gt;</code> thumbnail width in pixels<br />
<code>&lt;height&gt;</code> thumbnail height in pixels</p>
<p>IMPORTANT: All fields are required!</p>
<p>Save your file as &#8216;<code>wppt.xml</code>&#8216; and put it in your theme&#8217;s folder (any folder will do). Blogs that uses your theme, and has WP Post Thumbnail plugin activated, will detect your &#8216;<code>wppt.xml</code>&#8216; configuration file.</p>
<p><strong>Q</strong>: <span style="text-decoration: underline;">Where are all the cropped thumbnails stored?</span></p>
<p><strong>A</strong>: They are stored in &#8216;<code>wp-post-thumbnail</code>&#8216; folder inside your WordPress default upload path. Eg. <code>'/wp-content/uploads/wp-post-thumbnail'</code> by default.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoadsensethemes.com/wp-post-thumbnail-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>139</slash:comments>
		</item>
		<item>
		<title>WordPress post thumbnails without manual custom fields</title>
		<link>http://www.seoadsensethemes.com/wordpress-post-thumbnail-without-custom-field/</link>
		<comments>http://www.seoadsensethemes.com/wordpress-post-thumbnail-without-custom-field/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 09:11:07 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Custom Field]]></category>
		<category><![CDATA[Lead Photo]]></category>
		<category><![CDATA[Post Thumbnail]]></category>
		<category><![CDATA[WordPress Theme]]></category>

		<guid isPermaLink="false">http://www.seoadsensethemes.com/?p=45</guid>
		<description><![CDATA[Finding a better way of handling post thumbnails/lead photos without manually using custom fields.]]></description>
			<content:encoded><![CDATA[<div style="margin: 5px 0pt 5px 15px; width: 427px; float: right;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="349" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/dOaWlhyitoY&amp;hl=en&amp;fs=1&amp;rel=0&amp;border=1" /><embed type="application/x-shockwave-flash" width="425" height="349" src="http://www.youtube.com/v/dOaWlhyitoY&amp;hl=en&amp;fs=1&amp;rel=0&amp;border=1" allowfullscreen="true"></embed></object></p>
<div style="border: 1px solid #dddddd; padding: 8px 12px; background: #f3f3f3 none repeat scroll 0% 0%; float: right; width: 400px;">Too blurry? <a href="http://www.youtube.com/watch?v=dOaWlhyitoY&amp;fmt=18" target="_blank">Click here</a> to watch this video in High-Definition Youtube.</div>
</div>
<p><span style="text-decoration: underline;">Doing away with manual custom fields</span></p>
<p>I&#8217;m capturing the steps to upload and crop various formats of thumbnails for WordPress entries. It is one of the main features I&#8217;m building for use in my free WordPress theme. Previously, my solution for assigning thumbnails to WordPress entries was via &#8220;<em>custom fields</em>&#8220;. After a while of using custom fields, it began to feel tedious and I looked for a better way to handle thumbnails.</p>
<p>On top of that, one of my themes in development allows the use of up to 3 thumbnail formats (widescreen, square and rectangle) for every WordPress entries. Can you imagine every time you write a post, you have to fire up Photoshop to create three thumbnails. Each of them in different dimensions and aspect ratios. Uploading them to your blog. And finally copy-and-paste their URLs to custom keys. It certainly needs a more streamlined and convenient way of handling thumbnails. Manually doing it the custom field way just won&#8217;t cut it in the long run.</p>
<p><span id="more-45"></span><span style="text-decoration: underline;">On-the-fly upload, resize and crop thumbnails</span></p>
<p>As you can see from the video clip, bloggers can upload a jpg image file, crop it and save it as a thumbnail. Once the blogger clicks &#8216;Save&#8217; thumbnail, the URL is automatically assigned to a designated custom field behind the scene. Hence, the process of entering the thumbnail&#8217;s URL into a custom field has been automated.</p>
<p>On top of that, if you&#8217;re an experienced theme developer, you can configure more than one thumbnail to be used for each post. In the video clip, I&#8217;ve configured up to three thumbnails for each post.</p>
<p><del datetime="2008-10-19T09:56:19+00:00">I hope to wrap up this feature soon and implement it into my WordPress theme. Do drop by again.</del> Instead of building this into my themes, I&#8217;m going to develop it as a WordPress plugin. I&#8217;ll be hosting the plugin at WordPress official plugin directory and the more information can be found in my next post: <a href="http://www.seoadsensethemes.com/wp-post-thumbnail-wordpress-plugin/">WP Post Thumbnail &#8211; WordPress Plugin</a></p>
<p>Note: <em>Bear with the lacklustre video clip quality as this is my first time recording and producing an embedded flash video using Camtasia Studio 5. There&#8217;s still a slight learning curve despite it already being very user-friendly. I hope to be able to zoom-and-pan smoother, add narratives and find the best settings to produce Youtube High Definition clips soon.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoadsensethemes.com/wordpress-post-thumbnail-without-custom-field/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Upgrading all my sites to WordPress 2.6.1</title>
		<link>http://www.seoadsensethemes.com/upgrading-all-my-sites-to-wordpress-261/</link>
		<comments>http://www.seoadsensethemes.com/upgrading-all-my-sites-to-wordpress-261/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 08:44:28 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[News and Updates]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.seoadsensethemes.com/?p=34</guid>
		<description><![CDATA[Upgrading all my sites running WordPress to 2.6.1 and it's about time.]]></description>
			<content:encoded><![CDATA[<p><a title="WordPress 2.6.1 link" href="http://wordpress.org/development/2008/08/wordpress-261/" target="_blank">WordPress 2.6.1 is out</a>. A maintenance release but for many including myself, it&#8217;s the time to move up to 2.6 altogether.</p>
<p>As I look back the past few weeks of testing 2.6 on several blogs, I&#8217;m delighted to say it&#8217;s been a wonderfully smooth experience. Unlike the upgrade to WordPress 2.5, my sites did not experience much trouble when using WordPress 2.6. I deployed 2.6 on several websites and found it was a breeze to work with. It played well with my themes too. Plugins did not break down. Tonight I&#8217;ll be upgrading all my sites running WordPress to 2.6.1 and I hope I won&#8217;t run into any problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoadsensethemes.com/upgrading-all-my-sites-to-wordpress-261/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Multi-Level Drop Down menu using jQuery</title>
		<link>http://www.seoadsensethemes.com/wordpress-multi-level-drop-down-menu-using-jquery/</link>
		<comments>http://www.seoadsensethemes.com/wordpress-multi-level-drop-down-menu-using-jquery/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 14:53:28 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Dropdown Menu]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.seoadsensethemes.com/?p=23</guid>
		<description><![CDATA[Click here to view demo
As WordPress theme designers, we&#8217;re often faced between the choice of going for purely CSS drop-down menu or javascript drop-down menus in our struggle with cross-browser compatibility.
The aim of this short tutorial is help you build a simple multi-level drop-down menu in your WordPress theme using jQuery&#8217;s JavaScript library to ensure [...]]]></description>
			<content:encoded><![CDATA[<p style="float:right;margin:0 0 1em 2em;padding:18px 28px;border:3px double #ddd;background:#f8f8f8;"><img class="size-full wp-image-27" title="WordPress jQuery Multi-Level Drop-Down Menu" src="http://www.seoadsensethemes.com/wp-content/uploads/2008/08/wordpress-jquery-multi-level-drop-down-menu.png" alt="WordPress jQuery Multi-Level Drop-Down Menu" width="252" height="117" /><a href="http://www.seoadsensethemes.com/wordpress-jquery-multi-level-drop-down-menus/"><br />Click here to view demo</a></p>
<p>As WordPress theme designers, we&#8217;re often faced between the choice of going for purely CSS drop-down menu or javascript drop-down menus in our struggle with cross-browser compatibility.</p>
<p>The aim of this short tutorial is help you build a simple multi-level drop-down menu in your WordPress theme using jQuery&#8217;s JavaScript library to ensure cross-browser compatibility.</p>
<p><span id="more-23"></span>When I first started to design WordPress themes, I went the pure-CSS way. I found a variety of cross-browser CSS-only drop-down menus at Stu Nicholls CSS Play and implemented his solutions into my themes. Some people do not like the way Stu hacked CSS to ensure cross-browser compatibility. It may be ugly but it works. And you can&#8217;t really use WordPress wp_list_pages() tag with Stu Nicholl&#8217;s CSS because the tag&#8217;s parameters could not reproduce the CSS hacks needed to make it work.</p>
<p>Later on, as I started to embrace more JavaScript in my WordPress themes, I decided to built my drop-down menu with a bit of jQuery Javascript help. It saved a lot of effort. No more unnecessary CSS hacks. Plays nice with WordPress <code>wp_list_pages()</code> tag. And WordPress installation already comes with jQuery library included. This is one of the main reasons why I chose jQuery among other Javascript libraries.</p>
<p>Anyway, I&#8217;m not here to convince you to use JavaScript for your WordPress drop-down menus. To those of you who are would like to use jQuery for your multi-level WordPress drop-down menu, I hope you&#8217;ll find the short tutorial below helpful.</p>
<p>Add this bit of JavaScript between the <code>&lt;head&gt;&lt;/head&gt;</code> HTML tags in your WordPress theme&#8217;s  <code>header.php</code> (<em>thanks to <a href="http://www.kriesi.at/archives/create-a-multilevel-dropdown-menu-with-css-and-improve-it-via-jquery">kriesi.at</a></em>):</p>
<pre class="syntax-highlight:javascript">
&lt;?php wp_enqueue_script(&#039;jquery&#039;); ?&gt;

&lt;script type=&#039;text/javascript&#039;&gt;
jQuery(document).ready(function() {
jQuery(&quot;#dropmenu ul&quot;).css({display: &quot;none&quot;}); // Opera Fix
jQuery(&quot;#dropmenu li&quot;).hover(function(){
		jQuery(this).find(&#039;ul:first&#039;).css({visibility: &quot;visible&quot;,display: &quot;none&quot;}).show(268);
		},function(){
		jQuery(this).find(&#039;ul:first&#039;).css({visibility: &quot;hidden&quot;});
		});
});
&lt;/script&gt;
</pre>
<p>The HTML. We will list the pages using WordPress default <code>wp_list_pages()</code> tag. I used it in <code>header.php</code> of my WordPress theme:</p>
<pre class="syntax-highlight:html">
&lt;ul id=&quot;dropmenu&quot;&gt;
&lt;?php wp_list_pages(&#039;sort_column=menu_order&amp;title_li=&#039;); ?&gt;
&lt;/ul&gt;
</pre>
<p>Now here&#8217;s the CSS:</p>
<pre class="syntax-highlight:css">
&lt;style type=&quot;text/css&quot;&gt;
#dropmenu, #dropmenu ul {margin:0; padding:0; list-style-type:none; list-style-position:outside; position:relative; line-height:1.5em; z-index:300; width:100%; background:#fff; font-weight:bold;}
#dropmenu a {display:block; padding:0.25em 1em; color:#686868; border-right:1px solid #c8c8c8; text-decoration:none; background:#fff;}
#dropmenu a:hover {background:#888; color:#fff;}
#dropmenu li {float:left; position:relative;}
#dropmenu ul {position:absolute; display:none; width:12em; top:1.9em; left:-1px;}
#dropmenu ul a {border-left:1px solid #c8c8c8;}
#dropmenu li ul {border-top:1px solid #c8c8c8; width:14.1em;}
#dropmenu li ul a {width:12em; height:auto; float:left;  border-bottom:1px solid #c8c8c8;}
#dropmenu ul ul {top:auto;}
#dropmenu li ul ul {left:12em; margin:0px 0 0 10px;}
#dropmenu li:hover ul ul, #dropmenu li:hover ul ul ul, #dropmenu li:hover ul ul ul ul {display:none;}
#dropmenu li:hover ul, #dropmenu li li:hover ul, #dropmenu li li li:hover ul, #dropmenu li li li li:hover ul {display:block;}
&lt;/style&gt;
</pre>
<p>The CSS styling provided is pretty much barebones. You can view another <a title="WordPress jQuery Multi-Level Drop-Down Menu Demo" href="http://www.hotelsandtravel.org" target="_blank">demo of WordPress jQuery Multi-Level Drop-Down Menu</a> in action here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoadsensethemes.com/wordpress-multi-level-drop-down-menu-using-jquery/feed/</wfw:commentRss>
		<slash:comments>117</slash:comments>
		</item>
		<item>
		<title>Putting a &#8216;New Post&#8217; image label next to WordPress entries posted within the last 24 hours</title>
		<link>http://www.seoadsensethemes.com/putting-a-new-post-image-label-next-to-entries-wordpress-posted-last-24-hours/</link>
		<comments>http://www.seoadsensethemes.com/putting-a-new-post-image-label-next-to-entries-wordpress-posted-last-24-hours/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 06:18:06 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://www.seoadsensethemes.com/?p=13</guid>
		<description><![CDATA[
&#8230; or perhaps entries posted in the last 48 hours? Ever wanted to put a small image label next to your post telling readers &#8220;Hey, this post is barely 2 days old. It&#8217;s new!&#8221;
Of course, putting a new post label is nothing new. But again, this tiny feature does not come with default WordPress. Luckily [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-14" title="New Post Label" src="http://www.seoadsensethemes.com/wp-content/uploads/2008/08/new.png" alt="New Post Label" width="286" height="230" /></p>
<p>&#8230; or perhaps entries posted in the last 48 hours? Ever wanted to put a small image label next to your post telling readers &#8220;Hey, this post is barely 2 days old. It&#8217;s new!&#8221;</p>
<p>Of course, putting a new post label is nothing new. But again, this tiny feature does not come with default WordPress. Luckily with just one or two lines of PHP code, you can modify your WordPress theme to label your new entries automatically.</p>
<p>The following code sample shows how you can label your posts with a tiny image &#8216;new.gif&#8217; if your post is less than 2 days old. Within your latest entries Loop, we&#8217;ll put the &#8216;new.gif&#8217; image label right new to your post title:<br />
<span id="more-13"></span>
<pre class="syntax-highlight:php">
...
...
&lt;h2&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;?php if ( (time()-get_the_time(&#039;U&#039;)) &lt;= (2*86400) ) { ?&gt;
&lt;img class=&quot;new_entry_label&quot; src=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/images/new.gif&quot; alt=&quot;(New Entry)&quot; title=&quot;(New Entry)&quot; /&gt;
&lt;?php } ?&gt;
...
...
</pre>
<p>That&#8217;s it. Click <a href="http://www.hotelsandtravel.org">here</a> to see it in action on one of my WordPress theme demos. Notice how the newer posts&#8217; title are labelled with a new.gif image.</p>
<p>Now for some explanation on the code used &#8230;</p>
<p>PHP <code>time()</code> function returns the current time in <em>Unix Epoch format</em> which looks like this:</p>
<pre><code>12217984786</code></pre>
<p>The function <code>get_the_time('U')</code> returns the entry posted time in <em>Unix Epoch format</em>. Now that both current time ( time() ) and entry posted time ( get_the_time(&#8216;U&#8217;) ) is in <em>Unix Epoch format</em>, we can easily calculate the time difference by substracting current time with entry posted time;</p>
<pre><code>time()-get_the_time('U')</code></pre>
<p>Finally, we evaluate if the difference is less than 2 days (again converted to <em>Unix Epoch format</em> by multiplying with 86400 ), the condition is true and the <code><img alt="" /></code> tag is executed which puts &#8220;new.gif&#8221; image label next to your post title.</p>
<pre><code>
&lt;?php if ( (time()-get_the_time('U')) &lt;= (2*86400) ) { ?&gt;
	&lt;img class="new_entry_label" src="&lt;?php bloginfo('template_directory'); ?&gt;/images/new.gif" alt="(New Entry)" title="(New Entry)" /&gt;
&lt;?php } ?&gt;
</code></pre>
<p>If you want to label 7-day old posts as new instead, just change <code>(2*86400)</code> to <code>(7*86400)</code>. That&#8217;s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoadsensethemes.com/putting-a-new-post-image-label-next-to-entries-wordpress-posted-last-24-hours/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>WordPress 2.6 releasing today?</title>
		<link>http://www.seoadsensethemes.com/wordpress-26-releasing-today/</link>
		<comments>http://www.seoadsensethemes.com/wordpress-26-releasing-today/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 02:14:17 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[News and Updates]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.seoadsensethemes.com/?p=8</guid>
		<description><![CDATA[Having missed July 7th release date, will WordPress 2.6 make it for release a week later?]]></description>
			<content:encoded><![CDATA[<p>WordPress has given the first planned release date of 7th July 2008 the miss and aiming for the next which is 14th July 2008. There&#8217;s a couple of hours left to see if it manage to keep its deadline <a href="http://technosailor.com/2008/07/14/wordpress-26-launching-tonight/">if WordPress gets released tonight</a>.</p>
<p>WordPress Release Candidate 1 has just been released two days ago so I really doubt they&#8217;ll make it today. Of course, I&#8217;d be glad to be proven wrong this time.</p>
<p><span id="more-8"></span>I&#8217;ve got 4 blogs currently using WordPress 2.5.1 and I&#8217;ve yet to test any beta releases or RC1 of WordPress 2.6 on any of my blogs. When 2.6 hit the mirrors, be it tonight or at a later date, I&#8217;ll try it out in one of my blogs to see if I should upgrade the rest to 2.6.</p>
<p>For me, the new features in WordPress 2.6 worth checking out is image captioning, theme preview and an improved media uploader.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoadsensethemes.com/wordpress-26-releasing-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to list latest posts and subcategories of each top level categories in WordPress</title>
		<link>http://www.seoadsensethemes.com/wordpress-latest-posts-subcategories-each-top-level-categories/</link>
		<comments>http://www.seoadsensethemes.com/wordpress-latest-posts-subcategories-each-top-level-categories/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 15:47:31 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[Categories]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[get_categories]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp_list_categories]]></category>

		<guid isPermaLink="false">http://www.seoadsensethemes.com/?p=4</guid>
		<description><![CDATA[For every top level categories, we'll list the category title, category description, a couple of latest posts in that category and finally list all subcategories.]]></description>
			<content:encoded><![CDATA[<p>Sorry for the long and confusing title. Do allow me to illustrate and describe what I have in mind.</p>
<p>What we&#8217;re going to do here is <span style="text-decoration: underline;">for every top-level categories</span>, we will:</p>
<p><a href="http://www.seoadsensethemes.com/wp-content/uploads/2008/07/custom_wordpress_category_style_06.png"><img class="alignright size-full wp-image-7" title="Sample - Styling and customizing WordPress categories in news and magazine style" src="http://www.seoadsensethemes.com/wp-content/uploads/2008/07/custom_wordpress_category_style_06.png" alt="Sample custom WordPress categories style - Just CSS" width="325" height="443" /></a></p>
<ol>
<li>display the <span style="text-decoration: underline;">category title</span> in bold and the <span style="text-decoration: underline;">category description</span>.</li>
<li>list the <span style="text-decoration: underline;">latest post title</span> prominently displayed as the first entry and <span style="text-decoration: underline;">short excerpt</span>.</li>
<li>list is <span style="text-decoration: underline;">followed by four or five post titles sorted by date</span>.</li>
<li>finally <span style="text-decoration: underline;">all children/subcategories of the category listed at the bottom</span>.</li>
</ol>
<p>Something like what we have here on the right illustration. Using WordPress, I&#8217;ve always wanted to replicate the myriad of ways most news and magazine-style websites present its contents.</p>
<p>If you are familiar with <code>wp_list_categories()</code>, which is the one of main category tags that handles how categories are formatted and displayed, you&#8217;ll realise <code>wp_list_categories()</code> alone is not enough. We&#8217;ll also use <code>get_categories()</code>, <code>get_cat_ID()</code>and a wpdb query direct into WordPress&#8217;s database.</p>
<p>Also, I think the coding in this article is more suited for WordPress themers who prefer to hard-code it into their themes. The solution is a very straightforward sequential code where you can just copy and paste it into your sidebar.php (or wherever you wish) for instance.</p>
<p>Let&#8217;s get down to the source codes &#8230;</p>
<p><span id="more-4"></span><strong>CSS stylesheet</strong></p>
<pre class="syntax-highlight:css">ul.category_list {width:300px; list-style:none; padding:0; margin:0;}
.category_title {background:#333; color:#fff; padding:0.2em 0.5em; font-size:1em; margin:0; text-transform:uppercase;}
.category_box {background:#f8f8f8; border:1px solid #333; border-width:0 1px 1px 1px; margin:0 0 2em 0;}
.category_description {background:#aaa; border-bottom:3px solid #ccc; color:#eee; font-style:italic; display:block; padding:0.5em; font-size:0.9em; font-weight:bold;}
ul.category_posts {list-style:none; margin:0 1em; padding:0; font-size:0.8em;}
ul.category_posts li {border-bottom:1px dotted #bbb; padding:0.75em 0;}
ul.category_posts li.last {border:none; padding:0.5em 0; margin:0 0 1em 0;}
ul.category_posts li a {color:#333;}
ul.category_posts li a.more_articles {text-decoration:underline; font-weight:bold;}
ul.subcategory_list {color:#aaa; padding:1em; margin:0; background:#eee; border-top:1px solid #ccc; font-size:0.8em; font-weight:bold;}
ul.subcategory_list li {display:inline; margin:0 0 0 0.75em;}
ul.subcategory_list li a {color:#333;}
.first_post {font-size:1.2em; font-weight:bold;}
.first_post_excerpt {color:#888; font-weight:normal; font-style:italic;}</pre>
<p><strong>PHP and HTML markup</strong></p>
<pre class="syntax-highlight:php">&lt;?php // get category IDs of Featured, Uncategorized and Personal for exclusion
$categories_to_exclude = get_cat_ID(&#039;featured&#039;).&#039;,&#039;.get_cat_ID(&#039;uncategorized&#039;).&#039;,&#039;.get_cat_ID(&#039;personal&#039;);

// get category IDs for all subcategories (categories where parent is not 0) for exclusion
$subcats = $wpdb-&gt;get_results(&quot;SELECT term_id FROM $wpdb-&gt;term_taxonomy WHERE taxonomy=&#039;Category&#039; AND parent&gt;0&quot;);
foreach ((array)$subcats as $subcat) { $categories_to_exclude .= &#039;,&#039;.$subcat-&gt;term_id; }

// get all categories minus excluded categories
$cats = get_categories(&#039;exclude=&#039;.$categories_to_exclude.&#039;&amp;amp;orderyby=name&amp;amp;hide_empty=0&#039;); ?&gt;

&lt;h3&gt;CATEGORIES&lt;/h3&gt;

&lt;ul class=&quot;category_list&quot;&gt;

&lt;?php foreach ((array)$categories as $category) { ?&gt;
	&lt;li class=&quot;category_box&quot;&gt;&lt;h5 class=&quot;category_title&quot;&gt;• &lt;?php echo $category-&gt;cat_name; ?&gt;&lt;/h5&gt;
			&lt;div class=&quot;category_description&quot;&gt;“&lt;?php echo $category-&gt;category_description; ?&gt;” &lt;/div&gt;

			&lt;?php $the_query = new WP_Query(&#039;cat=&#039;.$category-&gt;cat_ID.&#039;&amp;amp;showposts=5&amp;amp;orderby=post_date&#039;);
			$first = true; ?&gt;

			&lt;ul class=&quot;category_posts&quot;&gt;
			&lt;?php while ($the_query-&gt;have_posts()) : $the_query-&gt;the_post(); ?&gt;

				&lt;?php if ($first) { ?&gt;
					&lt;li class=&quot;first_post&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; title=&quot;Permanent Link to &lt;?php the_title(); ?&gt;&quot; &gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;br /&gt;
					&lt;small class=&quot;first_post_excerpt&quot;&gt;&lt;?php echo strip_tags(get_the_excerpt(), &#039;&lt;a&gt;&lt;strong&gt;&#039;); ?&gt;&lt;/small&gt;
				&lt;?php $first = false;
				} else { ?&gt;
					&lt;li&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; title=&quot;Permanent Link to &lt;?php the_title(); ?&gt;&quot; &gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
				&lt;?php } ?&gt;
				&lt;/li&gt;
			&lt;?php endwhile; ?&gt;
			&lt;li class=&quot;last&quot;&gt;&lt;a class=&quot;more_articles&quot; href=&quot;&lt;?php the_permalink() ?&gt;&quot; title=&quot;Permanent Link to &lt;?php the_title(); ?&gt;&quot; &gt;More articles in &lt;?php echo $category-&gt;cat_name; ?&gt; »&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;

		&lt;?php $sub_categories =  wp_list_categories(&#039;echo=0&amp;amp;orderby=name&amp;amp;title_li=&amp;amp;hierarchical=0&amp;amp;child_of=&#039;.$category-&gt;cat_ID);
		if ($sub_categories != &quot;&lt;li&gt;No categories&lt;/li&gt;&quot;) { ?&gt;
			&lt;ul class=&quot;subcategory_list&quot;&gt;See Also: &lt;?php echo $sub_categories; ?&gt;&lt;/ul&gt;
		&lt;?php } ?&gt;
	&lt;/li&gt;
&lt;?php } ?&gt;
&lt;/ul&gt;</pre>
<p>I hope you find this short tutorial useful. Thanks for reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoadsensethemes.com/wordpress-latest-posts-subcategories-each-top-level-categories/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
