<?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>Roy Tanck's weblog &#187; WordPress themes</title> <atom:link href="http://www.roytanck.com/category/internet/wordpress-themes/feed/" rel="self" type="application/rss+xml" /><link>http://www.roytanck.com</link> <description>Fascinated by new technology</description> <lastBuildDate>Thu, 09 Feb 2012 11:20:49 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>Idea: A WordPress theme for e-mail newsletters?</title><link>http://www.roytanck.com/2010/11/10/idea-a-wordpress-theme-for-e-mail-newsletters/</link> <comments>http://www.roytanck.com/2010/11/10/idea-a-wordpress-theme-for-e-mail-newsletters/#comments</comments> <pubDate>Wed, 10 Nov 2010 14:08:59 +0000</pubDate> <dc:creator>Roy</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[ideas]]></category> <category><![CDATA[Internet]]></category> <category><![CDATA[WordPress themes]]></category> <category><![CDATA[e-mail]]></category> <category><![CDATA[FeedBurner]]></category> <category><![CDATA[idea]]></category> <category><![CDATA[MailChimp]]></category> <category><![CDATA[newsletter]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://www.roytanck.com/?p=2855</guid> <description><![CDATA[TweetThere are plenty of way to have &#8220;automated&#8221; newsletters sent out based on your WordPress blog&#8217;s RSS feed. Feedburner and MailChimp, among other do this, and there&#8217;s nothing wrong with those services. However, if you&#8217;d want to write content specifically for your weekly e-mail, RSS is not ideal. High quality e-mailings usually don&#8217;t simply copy [...]]]></description> <content:encoded><![CDATA[<div id="tweetbutton2855" class="tw_button" style="float: right; margin: 0 0 0 10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.roytanck.com%2F2010%2F11%2F10%2Fidea-a-wordpress-theme-for-e-mail-newsletters%2F&amp;via=roytanck&amp;text=Idea%3A%20A%20WordPress%20theme%20for%20e-mail%20newsletters%3F&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.roytanck.com%2F2010%2F11%2F10%2Fidea-a-wordpress-theme-for-e-mail-newsletters%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.roytanck.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><img src="http://www.roytanck.com/wp-content/uploads/2010/11/email-150x135.jpg" alt="" title="E-mail" width="150" height="135" class="alignleft size-thumbnail wp-image-2857" style="border: none;" />There are plenty of way to have &#8220;automated&#8221; newsletters sent out based on your WordPress blog&#8217;s RSS feed. Feedburner and MailChimp, among other do this, and there&#8217;s nothing wrong with those services.</p><p>However, if you&#8217;d want to write content specifically for your weekly e-mail, RSS is not ideal. High quality e-mailings usually don&#8217;t simply copy blog posts, they&#8217;re carefullt crafted by copywriters to get as much response as possible. That&#8217;s why the idea of a newsletter-theme has been floating around in my head. Here&#8217;s what I&#8217;m thinking might work&#8230;<br /> <span id="more-2855"></span></p><h2>Using WordPress to author e-mail newsletters</h2><ol><li>Set up a WordPress install on something like mycompany.com/newsletter.</li><li>Write posts like you normally would.</li><li>The theme renders the newsletter as e-mail-friendly HTML.</li><li>Take the theme&#8217;s output and send it out using a bulk e-mail service of your choice.</li><li>The WordPress install functions as a &#8220;read this online&#8221; fallback and image host.</li><li>Ideally, the theme would have a custom taxonomy to group posts into newsletter issues.</li></ol><p>I once spent a couple of weeks editing HTML mailings for use in a very high-end e-mail newsletter system that did not have a nice visual editor, and this idea is primarily aimed at the users of such systems. But even compared to more user-friendly systems, there&#8217;s a case to be made for using WordPress. Authoring in an environment you control makes it easier to switch mailing services, and WordPress adds near unlimited flexibility.</p><h2>Potential drawbacks</h2><p>No plan, certainly not one as immature as this one, is perfect. Gathering statistics is critical with newsletters, and there&#8217;s tons of standard WordPress stuff that the theme would have to omit to keep the result e-mail client friendly. But I think a customizable newsletter theme for WordPress has potential. I&#8217;d love to hear what you think.</p> ]]></content:encoded> <wfw:commentRss>http://www.roytanck.com/2010/11/10/idea-a-wordpress-theme-for-e-mail-newsletters/feed/</wfw:commentRss> <slash:comments>13</slash:comments> </item> <item><title>Creating a split menu in WordPress 3.0</title><link>http://www.roytanck.com/2010/09/16/creating-a-split-menu-in-wordpress-3-0/</link> <comments>http://www.roytanck.com/2010/09/16/creating-a-split-menu-in-wordpress-3-0/#comments</comments> <pubDate>Thu, 16 Sep 2010 13:26:40 +0000</pubDate> <dc:creator>Roy</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[WordPress themes]]></category> <category><![CDATA[categories]]></category> <category><![CDATA[code]]></category> <category><![CDATA[development]]></category> <category><![CDATA[menus]]></category> <category><![CDATA[pages]]></category> <category><![CDATA[parent]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://www.roytanck.com/?p=2766</guid> <description><![CDATA[TweetFor a project I&#8217;m working on, I needed to create a split menu, where the top level navigation was in a horizontal menu in the header, with all underlying content listed elsewhere on the page. This turned out to be a little harder than I had anticipated, but I managed to get it working. Here&#8217;s [...]]]></description> <content:encoded><![CDATA[<div id="tweetbutton2766" class="tw_button" style="float: right; margin: 0 0 0 10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.roytanck.com%2F2010%2F09%2F16%2Fcreating-a-split-menu-in-wordpress-3-0%2F&amp;via=roytanck&amp;text=Creating%20a%20split%20menu%20in%20WordPress%203.0&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.roytanck.com%2F2010%2F09%2F16%2Fcreating-a-split-menu-in-wordpress-3-0%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.roytanck.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>For a project I&#8217;m working on, I needed to create a split menu, where the top level navigation was in a horizontal menu in the header, with all underlying content listed elsewhere on the page. This turned out to be a little harder than I had anticipated, but I managed to get it working. Here&#8217;s how I did it. Feel free to add suggestions in the comments if you see room for improvement.</p><p><img src="http://www.roytanck.com/wp-content/uploads/2010/09/splitmenu-layout-diagram.png" alt="" title="split menu layout" width="400" height="283" class="alignnone size-full wp-image-2770" /><br /> <span id="more-2766"></span></p><h2>The horizontal menu</h2><p>For the main menu (shown in red in the image above), I wanted to use <a href="http://codex.wordpress.org/Appearance_Menus_SubPanel">WordPress 3.0&#8242;s new &#8216;Menus&#8217; feature</a>. By doing so, my client has full control over the menu&#8217;s content. <a href="http://codex.wordpress.org/Navigation_Menus">Setting it up</a> is very easy to do, so I won&#8217;t bother explaining it here.</p><p>WordPress automatically adds CSS classes to the menu for selected items, so highlighting the current selection is very easy.</p><p><code><pre style="display: block; background-color: #eee; padding: 10px; border: 1px solid #ccc; margin-bottom: 30px;">
#mainmenu li.current-menu-item,
#mainmenu li.current-page-ancestor,
#mainmenu li.current-post-ancestor,
#mainmenu li.current-category-ancestor { background-color: #00f; }
</pre><p></code></p><h2>The sub menu</h2><p>The main issue with the secondary menu (light blue in the image) was figuring out what to display. It&#8217;s easy enough in WordPress to feed the current page&#8217;s ID number to the <a href="http://codex.wordpress.org/Function_Reference/wp_list_pages">wp_list_pages</a> function and get its children, but in this case, that&#8217;s not what I wanted. I needed to display the menu from the selected main menu item on down, even if the current page was nested four levels deep. So instead of using the current page&#8217;s ID, I needed to figure out the selected top level page, and use that page&#8217;s ID.</p><p><code><pre style="display: block; background-color: #eee; padding: 10px; border: 1px solid #ccc;">
function rt_getTopPageID( $page_ID ){
	$ancestors = get_post_ancestors($page_ID);
	if( !empty($ancestors) ){
		foreach( $ancestors as $ancestor ){
			$anc = get_post_ancestors($ancestor);
			if( empty($anc) ){ return $ancestor; }
		}
	}
	return $page_ID;
}
</pre><p></code></p><p>I added this function to my theme&#8217;s functions.php file. What it does is move up the page hierarchy step my step until it reaches the top page. It returns that page&#8217;s ID for use with wp_list_pages. I&#8217;m aware that this may be slow, but it&#8217;s the most efficient way I could find to get the top page.</p><p>On the sidebar, I used something like this to display the sub menu:</p><p><code><pre style="display: block; background-color: #eee; padding: 10px; border: 1px solid #ccc;">
global $wp_query;
$page_ID = $wp_query->post->ID;
$toppage = rt_getTopPageID( $page_ID );
wp_list_pages( 'title_li=&#038;child_of='.$toppage );
</pre><p></code></p><p>What this does is get the current page&#8217;s ID from the page query, and feed it to my rt_getTopPageID function. The returned ID is then used to call the correct menu.</p><h2>Categories</h2><p>I then needed to do the same for categories. I ended up creating a sidebar widget that, depending on the context, displayed the right menu. The widget is very specific to my project, but here&#8217;s the function it uses to get the top category.</p><p><code><pre style="display: block; background-color: #eee; padding: 10px; border: 1px solid #ccc;">
function rt_getTopCategoryID( $cat_ID ){
	$pathStr = get_category_parents( $cat_ID, false, '[#]', false );
	$pathArr = explode( '[#]', $pathStr );
	$cat = get_term_by( 'name', $pathArr[0], 'category' );
	return $cat->term_id;
}
</pre><p></code></p><p>This function uses a shortcut to get to the top level category. The <a href="http://codex.wordpress.org/Function_Reference/get_category_parents">get_category_parents</a> function returns a string with the full hierarchy, which we can then split. The first item in the resulting array is the top category&#8217;s name. Using <a href="http://codex.wordpress.org/Function_Reference/get_term_by">get_term_by</a>, we can then get that category&#8217;s ID. I&#8217;m assuming that this is lighter and quicker than trying to move up the hierarchy like I did with the pages.</p><p>The widget then uses this function to get the category structure. On category overview pages, I use this code.</p><p><code><pre style="display: block; background-color: #eee; padding: 10px; border: 1px solid #ccc;">
$cat_ID = get_query_var('cat');
$topCat = rt_getTopCategoryID( $cat_ID );
wp_list_categories( 'title_li=&#038;child_of='.$topCat );
</pre><p></code></p><p>On single post pages, This is what I currently use, but I&#8217;ll be the first to admit this needs work. Posts can be in many categories, which can result in all sorts of weirdness. Some editorial restraint will be in order for my client, but the principle works.</p><p><code><pre style="display: block; background-color: #eee; padding: 10px; border: 1px solid #ccc;">
global $post;
$categories = get_the_category($post->ID);
$topCat = rt_getTopCategoryID( $categories[0]->term_id );
wp_list_categories( 'title_li=&#038;child_of='.$topCat );
</pre><p></code></p><p>That&#8217;s it. My widget now shows the correct menu on single page, post and category pages. There&#8217;s probably some room left for improvement, so don&#8217;t be shy and comment away.</p> ]]></content:encoded> <wfw:commentRss>http://www.roytanck.com/2010/09/16/creating-a-split-menu-in-wordpress-3-0/feed/</wfw:commentRss> <slash:comments>21</slash:comments> </item> <item><title>How to show each post&#8217;s date in WordPress</title><link>http://www.roytanck.com/2009/12/17/how-to-show-each-posts-date-in-wordpress/</link> <comments>http://www.roytanck.com/2009/12/17/how-to-show-each-posts-date-in-wordpress/#comments</comments> <pubDate>Thu, 17 Dec 2009 14:45:50 +0000</pubDate> <dc:creator>Roy</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress themes]]></category> <category><![CDATA[blogging]]></category> <category><![CDATA[fix]]></category> <category><![CDATA[template tags]]></category> <category><![CDATA[themes]]></category> <category><![CDATA[the_date]]></category> <category><![CDATA[the_time]]></category><guid isPermaLink="false">http://www.roytanck.com/?p=2430</guid> <description><![CDATA[TweetThe templating system in WordPress is very flexible, and there&#8217;s rarely something you can&#8217;t do or that doesn&#8217;t work as you&#8217;d expect. A notable exception however is the_date. Its purpose is simple enough. It displays the current post&#8217;s date of creation. But on pages with more than one post (such as on many blog home [...]]]></description> <content:encoded><![CDATA[<div id="tweetbutton2430" class="tw_button" style="float: right; margin: 0 0 0 10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.roytanck.com%2F2009%2F12%2F17%2Fhow-to-show-each-posts-date-in-wordpress%2F&amp;via=roytanck&amp;text=How%20to%20show%20each%20post%26%238217%3Bs%20date%20in%20WordPress&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.roytanck.com%2F2009%2F12%2F17%2Fhow-to-show-each-posts-date-in-wordpress%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.roytanck.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><img src="http://www.roytanck.com/wp-content/uploads/2009/12/clock-150x150.jpg" alt="clock" title="clock" width="150" height="150" class="alignleft size-thumbnail wp-image-2432" />The templating system in WordPress is very flexible, and there&#8217;s rarely something you can&#8217;t do or that doesn&#8217;t work as you&#8217;d expect. A notable exception however is <a href="http://codex.wordpress.org/Template_Tags/the_date"><code>the_date</code></a>. Its purpose is simple enough. It displays the current post&#8217;s date of creation. But on pages with more than one post (such as on many blog home pages), something weird happens. If a number of posts on any given page were created on the same date, <code>the_date</code> will only show that date for the first of those posts.</p><p>In the early days of blogging, posts were usually listed by date, much like a regular, paper diary. In the old default theme that comes with WordPress a big date title is used to separate posts into days. That&#8217;s what <code>the_date</code> was created to do, and so it makes sense it only displays the same date once. In most modern themes however, people like the date to be among the meta data for each article, so <code>the_date</code> falls short.<br /> <span id="more-2430"></span></p><h2>the_time</h2><p>In comes <code>the_time</code>. This template tag, as the name suggests, shows the time at which a post was created. However, it accepts a <a href="http://codex.wordpress.org/Formatting_Date_and_Time">PHP time format string</a> as an argument, and can be made to display the date. You could simply put a date formatting string in there and be done with it, but I like to keep things flexible, so i wanted to use the date format string set in WordPress&#8217; settings. That way the user controls the output, and it can be adjusted to international preferences.</p><p>When I first ran into this I posted my issue on the WordPress forums, and <a href="http://ottodestruct.com/blog/">Otto42</a> came up with a prefect solution. I&#8217;ve been using it ever since and thought I&#8217;d share it here.</p><p><code>the_time(get_option('date_format'));</code></p><p>What this does is get the user-set date format from WordPress and feed it to the_time. Since that function doesn&#8217;t have a &#8216;once a day&#8217; limitation, you can use this as often as you like in your theme.</p> ]]></content:encoded> <wfw:commentRss>http://www.roytanck.com/2009/12/17/how-to-show-each-posts-date-in-wordpress/feed/</wfw:commentRss> <slash:comments>36</slash:comments> </item> <item><title>Obfuscate email addresses using PHP</title><link>http://www.roytanck.com/2009/02/18/obfuscate-email-addresses-using-php/</link> <comments>http://www.roytanck.com/2009/02/18/obfuscate-email-addresses-using-php/#comments</comments> <pubDate>Wed, 18 Feb 2009 12:35:43 +0000</pubDate> <dc:creator>Roy</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[WordPress themes]]></category> <category><![CDATA[email]]></category> <category><![CDATA[obfuscate]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[security]]></category> <category><![CDATA[spam]]></category><guid isPermaLink="false">http://www.roytanck.com/?p=1257</guid> <description><![CDATA[TweetIf you want to include an email link in a WordPress template, or any other web page for that matter, its advisable to &#8216;obfuscate&#8217; the address. Unfortunately, spammers scour the web to harvest email addresses, so if you simply place your address online, you&#8217;re very likely to get a some extra unwanted email. That&#8217;s where [...]]]></description> <content:encoded><![CDATA[<div id="tweetbutton1257" class="tw_button" style="float: right; margin: 0 0 0 10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.roytanck.com%2F2009%2F02%2F18%2Fobfuscate-email-addresses-using-php%2F&amp;via=roytanck&amp;text=Obfuscate%20email%20addresses%20using%20PHP&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.roytanck.com%2F2009%2F02%2F18%2Fobfuscate-email-addresses-using-php%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.roytanck.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>If you want to include an email link in a WordPress template, or any other web page for that matter, its advisable to &#8216;obfuscate&#8217; the address. Unfortunately, spammers scour the web to harvest email addresses, so if you simply place your address online, you&#8217;re very likely to get a some extra unwanted email. That&#8217;s where obfuscation comes in.<br /> <span id="more-1257"></span><br /> If the address is fixed (the page is custom-made for one site) you can use a service like <a href="http://www.albionresearch.com/misc/obfuscator.php">this</a> to obfuscate that one address. In WordPress, it makes more sense to get the user or admin&#8217;s email from the system instead, and handle the obfuscation in the theme&#8217;s PHP file. I&#8217;ve been using a solution originally devised by <a href="http://pthree.org/2005/11/19/email-obfuscation-php-style/">Aaron Toponce</a>, but with a few modifications.</p><p><code style="display: block; border: 1px solid #e8e7e5; padding: 8px 10px; margin: 20px; background-color: #ededed;">&lt;?php<br /> &nbsp;&nbsp;&nbsp;&nbsp; $link = 'mailto:' . get_bloginfo("admin_email");<br /> &nbsp;&nbsp;&nbsp;&nbsp; $obfuscatedLink = "";<br /> &nbsp;&nbsp;&nbsp;&nbsp; for ($i=0; $i&lt;strlen($link); $i++){<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $obfuscatedLink .= "&#" . ord($link[$i]) . ";";<br /> &nbsp;&nbsp;&nbsp;&nbsp; }<br /> ?&gt;<br /> &lt;a href="&lt;?php echo $obfuscatedLink; ?&gt;"&gt;email&lt;/a&gt;<br /> </code></p><p>What this example does is take the WordPress admin email address, create a mailto link and then loop though the characters, replacing each with its ASCII equivalent. Your users won&#8217;t notice a thing, but when you look at the code you&#8217;ll see that the link is made up of ASCII codes. That&#8217;s you first line of defense against spammers.</p> ]]></content:encoded> <wfw:commentRss>http://www.roytanck.com/2009/02/18/obfuscate-email-addresses-using-php/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>Like the new look?</title><link>http://www.roytanck.com/2008/12/18/like-the-new-look/</link> <comments>http://www.roytanck.com/2008/12/18/like-the-new-look/#comments</comments> <pubDate>Thu, 18 Dec 2008 08:08:25 +0000</pubDate> <dc:creator>Roy</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[WordPress themes]]></category> <category><![CDATA[design]]></category> <category><![CDATA[paper trail]]></category> <category><![CDATA[sidebar]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://www.roytanck.com/?p=817</guid> <description><![CDATA[TweetI&#8217;ve been meaning to redesign this blog for a while now. Most of all I wanted a better sidebar setup which would accommodate more links and wider ads widgets. In fact, the old Papertrail theme I was using has only a very rudimentary widget support, and with the recent success of this blog I needed [...]]]></description> <content:encoded><![CDATA[<div id="tweetbutton817" class="tw_button" style="float: right; margin: 0 0 0 10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.roytanck.com%2F2008%2F12%2F18%2Flike-the-new-look%2F&amp;via=roytanck&amp;text=Like%20the%20new%20look%3F&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.roytanck.com%2F2008%2F12%2F18%2Flike-the-new-look%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.roytanck.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>I&#8217;ve been meaning to redesign this blog for a while now. Most of all I wanted a better sidebar setup which would accommodate more links and wider <del>ads</del> widgets. In fact, the old Papertrail theme I was using has only a very rudimentary widget support, and with the recent success of this blog I needed more flexibility.</p><p>Although still a work in progress, I quite like the results so far. It&#8217;s cleaner, it uses less Flash(*) and it loads extremely fast. The design still needs work and I definitely need a better tagline (wanna help me out with that one?).<br /> <span id="more-817"></span><br /> * = I&#8217;ve come to believe that using Flash to create fancy titles simply isn&#8217;t worth the trouble. For one thing, most mobile phone browsers don&#8217;t support Flash, and the old theme looked terrible on those as a result. Flash is great for lots of things, but having 10+ movies on one page just to have specific font is like shooting a mosquito with a cannon (as we say here in the Netherlands).</p> ]]></content:encoded> <wfw:commentRss>http://www.roytanck.com/2008/12/18/like-the-new-look/feed/</wfw:commentRss> <slash:comments>13</slash:comments> </item> <item><title>WordPress theme: Paper Trail</title><link>http://www.roytanck.com/2008/03/13/wordpress-theme-paper-trail/</link> <comments>http://www.roytanck.com/2008/03/13/wordpress-theme-paper-trail/#comments</comments> <pubDate>Thu, 13 Mar 2008 14:44:29 +0000</pubDate> <dc:creator>Roy</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[WordPress themes]]></category> <category><![CDATA[paper trail]]></category> <category><![CDATA[theme]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://www.roytanck.com/2008/03/13/wordpress-theme-paper-trail/</guid> <description><![CDATA[Tweet I love it when business and pleasure coincide. I had to look into styling widgets today for an upcoming project, and decided to use my Paper Trail theme as test material. Turns out the markup of widgets gives you surprisingly (frustratingly) little to work with in terms of CSS. Still I managed to get [...]]]></description> <content:encoded><![CDATA[<div id="tweetbutton214" class="tw_button" style="float: right; margin: 0 0 0 10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.roytanck.com%2F2008%2F03%2F13%2Fwordpress-theme-paper-trail%2F&amp;via=roytanck&amp;text=WordPress%20theme%3A%20Paper%20Trail&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.roytanck.com%2F2008%2F03%2F13%2Fwordpress-theme-paper-trail%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.roytanck.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><img src="http://www.roytanck.com/wp-content/uploads/2008/03/screenshot.png" alt="Paper Trail WordPress theme screenshot" /></p><p>I love it when business and pleasure coincide. I had to look into styling widgets today for an upcoming project, and decided to use my Paper Trail theme as test material. Turns out the markup of widgets gives you surprisingly (frustratingly) little to work with in terms of CSS. Still I managed to get the widgets to look like I wanted them to, thus completing the theme.</p><p>Paper Trail is a two column layout with fancy Flash post and blog titles.</p><ul><li>It requires Flash and Javascript (although it doesn&#8217;t break completely if these are missing). If your blog targets mobile users (for instance), this is not the theme for you.</li><li>This is my first theme where I&#8217;ve paid any real attention to widget styling. Third party widgets may not look as intended. Chances are they will.</li><li>Thanks to <a href="http://blog.deconcept.com/swfobject/">Geoff Stearns</a>, the use of flash will not affect search engine ranking.</li><li>The Flash titles contain complex algorithms that change things like line breaks and font size in order to best accommodate your post&#8217;s titles. Let me know if they act up. Using very long words in titles might render them unreadable.</li><li>I&#8217;ll not be releasing the source code for the Flash movies. Mostly because I&#8217;m afraid you&#8217;ll laugh at me for my poor coding skills, but also because I fear you&#8217;ll ask me to explain how they work.</li><li>Paper Trail was built for <strong>WordPress version 2.3</strong>, and will spend most if it&#8217;s time looking for missing things like tags on older versions (and not actually work).</li><li>Because of limitations in the way Flash handles dynamic text the theme supports basic Latin characters only. Sorry about that.</li></ul><p>If you want to give it a try, you can download it <a href="http://www.roytanck.com/wp-content/uploads/papertrail.zip">here</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.roytanck.com/2008/03/13/wordpress-theme-paper-trail/feed/</wfw:commentRss> <slash:comments>64</slash:comments> </item> <item><title>Test driving a new theme&#8230;</title><link>http://www.roytanck.com/2008/02/16/test-driving-a-new-theme/</link> <comments>http://www.roytanck.com/2008/02/16/test-driving-a-new-theme/#comments</comments> <pubDate>Sat, 16 Feb 2008 10:55:13 +0000</pubDate> <dc:creator>Roy</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[Flash]]></category> <category><![CDATA[Internet]]></category> <category><![CDATA[WordPress themes]]></category> <category><![CDATA[design]]></category> <category><![CDATA[testing]]></category> <category><![CDATA[themes]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://www.roytanck.com/2008/02/16/test-driving-a-new-theme/</guid> <description><![CDATA[TweetAs of now, &#8216;m testing a new WordPress theme on this site. I haven&#8217;t decided on a title yet, and there&#8217;s tons of little stuff missing, but I&#8217;m pretty sure I&#8217;ll be releasing this one sometime this or next month. The most important thing to sort out is decent widget support. This was sorely lacking [...]]]></description> <content:encoded><![CDATA[<div id="tweetbutton207" class="tw_button" style="float: right; margin: 0 0 0 10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.roytanck.com%2F2008%2F02%2F16%2Ftest-driving-a-new-theme%2F&amp;via=roytanck&amp;text=Test%20driving%20a%20new%20theme%26%238230%3B&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.roytanck.com%2F2008%2F02%2F16%2Ftest-driving-a-new-theme%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.roytanck.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>As of now, &#8216;m testing a new WordPress theme on this site. I haven&#8217;t decided on a title yet, and there&#8217;s tons of little stuff missing, but I&#8217;m pretty sure I&#8217;ll be releasing this one sometime this or next month. The most important thing to sort out  is decent widget support. This was sorely lacking from some of my earlier themes, and instead of updating them I decided to dedicate the time to designing a new one altogether.</p><p>I wanted to use a white background to increase readability, and I&#8217;m using Flash movies to do some typography tricks that plain HTML doesn&#8217;t know yet. Other than that it&#8217;s a relatively simple theme that will be easy to modify by anyone who isn&#8217;t completely allergic to style sheets or HTML.</p><p>So, what do you think?</p> ]]></content:encoded> <wfw:commentRss>http://www.roytanck.com/2008/02/16/test-driving-a-new-theme/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>My themes and WordPress 2.3</title><link>http://www.roytanck.com/2007/10/09/my-themes-and-wordpress-23/</link> <comments>http://www.roytanck.com/2007/10/09/my-themes-and-wordpress-23/#comments</comments> <pubDate>Tue, 09 Oct 2007 12:47:37 +0000</pubDate> <dc:creator>Roy</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[WordPress themes]]></category> <category><![CDATA[Crete]]></category> <category><![CDATA[themes]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://www.roytanck.com/2007/10/09/my-themes-and-wordpress-23/</guid> <description><![CDATA[TweetI&#8217;ve been getting a lot of email asking me whether I&#8217;m going to be updating my themes to work with the new WordPress version that was released a couple of weeks ago. The short answer is &#8216;yes&#8217;, but there&#8217;s a &#8216;but&#8217;. I&#8217;m writing this from a spyware-ridden PC in an internet cafe in Bali, Crete, [...]]]></description> <content:encoded><![CDATA[<div id="tweetbutton177" class="tw_button" style="float: right; margin: 0 0 0 10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.roytanck.com%2F2007%2F10%2F09%2Fmy-themes-and-wordpress-23%2F&amp;via=roytanck&amp;text=My%20themes%20and%20WordPress%202.3&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.roytanck.com%2F2007%2F10%2F09%2Fmy-themes-and-wordpress-23%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.roytanck.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>I&#8217;ve been getting a lot of email asking me whether I&#8217;m going to be updating my themes to work with the new WordPress version that was released a couple of weeks ago. The short answer is &#8216;yes&#8217;, but there&#8217;s a &#8216;but&#8217;. I&#8217;m writing this from a spyware-ridden PC in an internet cafe in Bali, Crete, where I&#8217;m on vacation with my family. I&#8217;ll be back home next week and I hope to find the time to work on a new version for my themes. I&#8217;ll post the new versions here of course. Please hang in there a little longer&#8230;</p> ]]></content:encoded> <wfw:commentRss>http://www.roytanck.com/2007/10/09/my-themes-and-wordpress-23/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Modified themes</title><link>http://www.roytanck.com/2007/09/10/modified-themes/</link> <comments>http://www.roytanck.com/2007/09/10/modified-themes/#comments</comments> <pubDate>Mon, 10 Sep 2007 13:06:52 +0000</pubDate> <dc:creator>Roy</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[WordPress themes]]></category> <category><![CDATA[modifications]]></category> <category><![CDATA[themes]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://www.roytanck.com/2007/09/10/modified-themes/</guid> <description><![CDATA[Tweet One of the things I like about releasing WordPress themes is seeing what people do with them. Some just take out the credit link, other change so much I barely recognize my original work. And that&#8217;s a good thing. I try and make my themes easy to modify and do not attach any kind [...]]]></description> <content:encoded><![CDATA[<div id="tweetbutton172" class="tw_button" style="float: right; margin: 0 0 0 10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.roytanck.com%2F2007%2F09%2F10%2Fmodified-themes%2F&amp;via=roytanck&amp;text=Modified%20themes&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.roytanck.com%2F2007%2F09%2F10%2Fmodified-themes%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.roytanck.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><img src='http://www.roytanck.com/wp-content/uploads/2007/09/nikkocity.jpg' alt='Nikkocity’s modified Positive Feeling theme' /></p><p>One of the things I like about releasing WordPress themes is seeing what people do with them. Some just take out the credit link, other change so much I barely recognize my original work. And that&#8217;s a good thing. I try and make my themes easy to modify and do not attach any kind of license (which I know to be stupid, but I haven&#8217;t had the time to read up on things like Creative Commons).</p><p>Anyway, I liked <a href="http://www.nikkocity.com/">Nikko City&#8217;s</a> version (image above) of my <a href="http://www.roytanck.com/2006/07/27/positive-feeling-released/">Positive Feeling theme</a> so much I thought I&#8217;d share it. They didn&#8217;t even change all that much, but seeing my layout used to sell Japanese cooking equipment made my day.</p> ]]></content:encoded> <wfw:commentRss>http://www.roytanck.com/2007/09/10/modified-themes/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>bestwpthemes.com</title><link>http://www.roytanck.com/2007/07/24/bestwpthemescom/</link> <comments>http://www.roytanck.com/2007/07/24/bestwpthemescom/#comments</comments> <pubDate>Tue, 24 Jul 2007 18:59:39 +0000</pubDate> <dc:creator>Roy</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[WordPress themes]]></category> <category><![CDATA[bestwpthemes]]></category> <category><![CDATA[themes]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://www.roytanck.com/2007/07/24/bestwpthemescom/</guid> <description><![CDATA[TweetMatt of bestwpthemes.com contacted me a couple of days ago to let me know he added my Tranquility themes to his list of best WP themes. It&#8217;s always nice when someone adds your work to any kind of shortlist. Thanks Matt.]]></description> <content:encoded><![CDATA[<div id="tweetbutton146" class="tw_button" style="float: right; margin: 0 0 0 10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.roytanck.com%2F2007%2F07%2F24%2Fbestwpthemescom%2F&amp;via=roytanck&amp;text=bestwpthemes.com&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fwww.roytanck.com%2F2007%2F07%2F24%2Fbestwpthemescom%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.roytanck.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Matt of <a href="http://www.bestwpthemes.com" rel="nofollow">bestwpthemes.com</a> contacted me a couple of days ago to let me know he added my Tranquility themes to his list of best WP themes. It&#8217;s always nice when someone adds your work to any kind of shortlist. Thanks Matt.</p> ]]></content:encoded> <wfw:commentRss>http://www.roytanck.com/2007/07/24/bestwpthemescom/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
