<?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>Dig Gadgets &#187; wordpress 2.7 theme</title>
	<atom:link href="http://www.51gadget.com/tag/wordpress-2-7-theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.51gadget.com</link>
	<description>Dig cool gadgets and designs</description>
	<lastBuildDate>Wed, 25 Aug 2010 15:03:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Starting up a fresh blog</title>
		<link>http://www.51gadget.com/2008/11/starting-up-a-fresh-blog/</link>
		<comments>http://www.51gadget.com/2008/11/starting-up-a-fresh-blog/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 08:57:47 +0000</pubDate>
		<dc:creator>Clark</dc:creator>
				<category><![CDATA[Blog Tech]]></category>
		<category><![CDATA[wordpress 2.7 theme]]></category>

		<guid isPermaLink="false">http://www.51gadget.com/?p=3</guid>
		<description><![CDATA[Leave a long time not to use the top domain &#8220;www.51gadget.com&#8221; that I hesitate which type website exibited here. A aggresive idea is comming up in my head after  the  lasted version 2.7 beta3 of wordpress was released sveral days ago. However I will  have only one way to arrive the island named achivement without no turning back, [...]]]></description>
			<content:encoded><![CDATA[<p>Leave a long time not to use the top domain &#8220;www.51gadget.com&#8221; that I hesitate which type website exibited here. A aggresive idea is comming up in my head after  the  lasted version 2.7 beta3 of wordpress was released sveral days ago. However I will  have only one way to arrive the island named achivement without no turning back, today is the first step to make.</p>
<p>Now the foremost work is to democrate my english blog located here.</p>
<p>cite a post showed by:<a href="http://ericulous.com/2008/10/27/wordpress-27-theme-changes/">http://ericulous.com/2008/10/27/wordpress-27-theme-changes/</a>  to make my old theme compatible with 2.7.</p>
<p>as follows:</p>
<h3>WordPress 2.7 Theme Changes</h3>
<p>A comparison of the Default wordpress theme (v2.7 alpha vs v2.6.3). In short, my free/premium themes should continue to work in v2.7. Just that features like threaded comments and sticky post styling will not be available. Yet.<span id="more-5"></span></p>
<div class="postcontent">
<p><strong>Old</strong>: &lt;div class=”post”&gt;<br />
<strong>New</strong>: &lt;div &lt;?php post_class() ?&gt;&gt;<br />
<strong>Found</strong>: multiple files<br />
Display the classes for the post div e.g class=”sticky category-uncategorized tag-untagged”. Using this function will break your theme on older version of WordPress (&lt; v2.7). Not using this, however, you are unable to style your individual sticky/category/tag post. Workaround would be to do a if function_exists() check.</p>
<p><strong>Old</strong>: &lt;?php include (TEMPLATEPATH . &#8216;/searchform.php&#8217;); ?&gt;<br />
<strong>New</strong>: &lt;?php get_search_form(); ?&gt;<br />
<strong>Found</strong>: multiple files<br />
Will first attempt to locate the searchform.php file in either the child or the parent, then load it. If it doesn’t exist, then the default search form will be displayed. Probably can safely ignore this for now because if you use this template function, your theme will not be backward compatible to older version of WordPress (&lt; v2.7).</p>
<p><strong>New</strong>: &lt;link rel=&#8221;alternate&#8221; type=&#8221;application/atom+xml&#8221; title=&#8221;&lt;?php bloginfo(&#8216;name&#8217;); ?&gt; Atom Feed&#8221; href=&#8221;&lt;?php bloginfo(&#8216;atom_url&#8217;); ?&gt;&#8221; /&gt;<br />
<strong>Found</strong>: header.php<br />
Add Atom feed link</p>
<p><strong>New</strong>: &lt;?php if ( is_singular() ) wp_enqueue_script( &#8216;comment-reply&#8217; ); ?&gt;<br />
<strong>Found</strong>: header.php<br />
Add script for threaded comments if current page is a single post, is a page, or is an attachment.</p>
<p><strong>New CSS classes</strong> in style.css, mainly for the threaded comments<br />
.thread-alt {<br />
.thread-even {<br />
.depth-1 {<br />
.even, .alt {<br />
.commentlist li ul li<br />
#commentform {<br />
#respond:after<br />
.commentlist li ul li<br />
.children</p>
<p><strong>comments.php</strong>: Major code changes. I think this post on <a href="http://ottodestruct.com/blog/2008/09/29/wordpress-27-comments-enhancements/">WordPress 2.7 Comments Enhancements</a> will do a better job of explaining the changes.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.51gadget.com/2008/11/starting-up-a-fresh-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
