<?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>m-eken &#187; The Simplest WordPress Theme</title>
	<atom:link href="http://m-eken.com/tag/the-simplest-wordpress-theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://m-eken.com</link>
	<description>time time time...</description>
	<lastBuildDate>Mon, 23 Aug 2010 20:49:43 +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>The Simplest WordPress Theme</title>
		<link>http://m-eken.com/2009/12/09/the-simplest-wordpress-theme/</link>
		<comments>http://m-eken.com/2009/12/09/the-simplest-wordpress-theme/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 22:10:57 +0000</pubDate>
		<dc:creator>Eken</dc:creator>
				<category><![CDATA[Theme]]></category>
		<category><![CDATA[The Simplest WordPress Theme]]></category>

		<guid isPermaLink="false">http://m-eken.com/?p=576</guid>
		<description><![CDATA[header.php &#60;html&#62; &#60;head profile="http://gmpg.org/xfn/11"&#62; &#60;title&#62;&#60;?php bloginfo('name'); ?&#62;&#60;/title&#62; &#60;style type="text/css" media="screen"&#62;@import url( &#60;?php bloginfo('stylesheet_url'); ?&#62; );&#60;/style&#62; &#60;?php wp_head(); ?&#62; &#60;/head&#62; &#60;body&#62; &#60;div id="bigframe"&#62; &#60;h1 id="header"&#62;&#60;a href="&#60;?php bloginfo('url'); ?&#62;/"&#62;&#60;?php bloginfo('name'); ?&#62;&#60;/a&#62;&#60;/h1&#62; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; index.php &#60;?php get_header();?&#62; &#60;!-- Top side of the theme. header.php --&#62; &#60;div id="centerframe"&#62; &#60;?php if (have_posts()) : while (have_posts()) : the_post(); // If there are [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://m-eken.com/wp-content/depo/2009/12/screenshot.png"><img class="aligncenter" title="The Simplest WordPress Theme" src="http://m-eken.com/wp-content/depo/2009/12/screenshot.png" alt="" width="461" height="288" /></a></p>
<p>header.php</p>
<p><code>&lt;html&gt;<br />
&lt;head profile="http://gmpg.org/xfn/11"&gt;<br />
&lt;title&gt;&lt;?php bloginfo('name'); ?&gt;&lt;/title&gt;<br />
&lt;style type="text/css" media="screen"&gt;@import url( &lt;?php bloginfo('stylesheet_url'); ?&gt; );&lt;/style&gt;<br />
&lt;?php wp_head(); ?&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;div id="bigframe"&gt;<br />
&lt;h1 id="header"&gt;&lt;a href="&lt;?php bloginfo('url'); ?&gt;/"&gt;&lt;?php bloginfo('name'); ?&gt;&lt;/a&gt;&lt;/h1&gt;</code><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
index.php</p>
<p><code>&lt;?php get_header();?&gt; &lt;!-- Top side of the theme. header.php --&gt;<br />
&lt;div id="centerframe"&gt;<br />
&lt;?php if (have_posts()) : while (have_posts()) : the_post(); // If there are posts print posts.  ?&gt;<br />
&lt;div&gt;<br />
&lt;h3&gt;&lt;a href="&lt;?php the_permalink() // The link of post ?&gt;" rel="bookmark"&gt;&lt;?php the_title(); // post title ?&gt;&lt;/a&gt;&lt;/h3&gt;<br />
&lt;?php the_content(); //the content ?&gt;<br />
Category: &lt;?php the_category() ?&gt; Tag: &lt;?php the_tags(); ?&gt; Author: &lt;?php the_author() ?&gt;<br />
Time: &lt;?php the_time() ?&gt; &lt;?php edit_post_link(__('Edit This')); //Edit ?&gt;<br />
&lt;?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?&gt;<br />
&lt;/div&gt;&lt;!-- post end --&gt;<br />
&lt;div id="comments"&gt;&lt;?php comments_template(); // wp-comments.php  ?&gt;&lt;/div&gt;<br />
&lt;?php endwhile; endif; ?&gt;<br />
&lt;?php posts_nav_link(); // next page, previous page links?&gt;<br />
&lt;/div&gt;&lt;!-- End of centerframe --&gt;<br />
&lt;?php get_sidebar(); //Side menu of the theme. sidebar.php ?&gt;<br />
&lt;?php get_footer(); // Footer of the theme. footer.php?&gt;</code><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
sidebar.php</p>
<p><code>&lt;div id="sidebar"&gt;<br />
&lt;?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : //if there is no widget ?&gt;<br />
&lt;?php  get_search_form(); ?&gt;<br />
&lt;li&gt;&lt;?php wp_list_pages(); ?&gt;&lt;/li&gt;<br />
&lt;li&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;?php  wp_loginout(); ?&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="&lt;?php bloginfo('rss2_url'); ?&gt;"&gt;RSS&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="http://wordpress.org/"&gt;WP&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="http://m-eken.com/"&gt;The Simplest Theme&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;?php endif; ?&gt;<br />
&lt;/div&gt;</code><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
footer.php</p>
<p><code>&lt;p id="footer"&gt;&lt;a href="http://m-eken.com"&gt;m-eken.com&lt;/a&gt;&lt;/p&gt;<br />
&lt;/div&gt;&lt;!-- End of bigframe --&gt;<br />
&lt;?php wp_footer(); ?&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
functions.php</p>
<p><code>&lt;?php if ( function_exists('register_sidebar') )<br />
register_sidebar(); ?&gt;</code><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
comments.php</p>
<p><code>&lt;?php if ( post_password_required() ) : ?&gt;<br />
&lt;p&gt;Pass require.&lt;/p&gt;<br />
&lt;?php return; endif; ?&gt;<br />
&lt;h2&gt;Comments&lt;/h2&gt;<br />
&lt;?php if ( have_comments() ) : ?&gt;<br />
&lt;ol&gt;&lt;?php foreach ($comments as $comment) : ?&gt;<br />
&lt;li&gt;&lt;?php comment_text() ?&gt;<br />
&lt;p&gt;&lt;cite&gt;&lt;?php comment_type(_x('Comment', 'noun'), __('Trackback'), __('Pingback')); ?&gt; &lt;?php _e('by'); ?&gt; &lt;?php comment_author_link() ?&gt; # &lt;?php comment_date() ?&gt; @ &lt;a href="#comment-&lt;?php comment_ID() ?&gt;"&gt;&lt;?php comment_time() ?&gt;&lt;/a&gt;&lt;/cite&gt; &lt;?php edit_comment_link(__("Edit This"), ' |'); ?&gt;&lt;/p&gt;<br />
&lt;/li&gt;<br />
&lt;?php endforeach; ?&gt;<br />
&lt;/ol&gt;<br />
&lt;?php else : // If there are no comments yet ?&gt;&lt;p&gt;&lt;?php _e('No comments yet.'); ?&gt;&lt;/p&gt;<br />
&lt;?php endif; ?&gt;<br />
&lt;?php if ( comments_open() ) : ?&gt;<br />
&lt;h2&gt;&lt;?php _e('Leave a comment'); ?&gt;&lt;/h2&gt;<br />
&lt;?php if ( get_option('comment_registration') &amp;&amp; !is_user_logged_in() ) : ?&gt;<br />
&lt;p&gt;&lt;?php printf(__('You must be &lt;a href="%s"&gt;logged in&lt;/a&gt; to post a comment.'), wp_login_url( get_permalink() ) );?&gt;&lt;/p&gt;<br />
&lt;?php else : ?&gt;<br />
&lt;form action="&lt;?php echo get_option('siteurl'); ?&gt;/wp-comments-post.php" method="post" id="commentform"&gt;<br />
&lt;?php if ( is_user_logged_in() ) : ?&gt;<br />
&lt;p&gt;&lt;?php printf(__('Logged in as %s.'), '&lt;a href="'.get_option('siteurl').'/wp-admin/profile.php"&gt;'.$user_identity.'&lt;/a&gt;'); ?&gt; &lt;a href="&lt;?php echo wp_logout_url(get_permalink()); ?&gt;" title="&lt;?php _e('Log out of this account') ?&gt;"&gt;&lt;?php _e('Log out &amp;raquo;'); ?&gt;&lt;/a&gt;&lt;/p&gt;<br />
&lt;?php else : ?&gt;<br />
&lt;p&gt;&lt;input type="text" name="author" id="author" value="&lt;?php echo esc_attr($comment_author); ?&gt;" size="22" tabindex="1" /&gt;<br />
&lt;label for="author"&gt;&lt;small&gt;&lt;?php _e('Name'); ?&gt; &lt;?php if ($req) _e('(required)'); ?&gt;&lt;/small&gt;&lt;/label&gt;&lt;/p&gt;<br />
&lt;p&gt;&lt;input type="text" name="email" id="email" value="&lt;?php echo esc_attr($comment_author_email); ?&gt;" size="22" tabindex="2" /&gt;<br />
&lt;label for="email"&gt;&lt;small&gt;&lt;?php _e('Mail (will not be published)');?&gt; &lt;?php if ($req) _e('(required)'); ?&gt;&lt;/small&gt;&lt;/label&gt;&lt;/p&gt;<br />
&lt;p&gt;&lt;input type="text" name="url" id="url" value="&lt;?php echo esc_attr($comment_author_url); ?&gt;" size="22" tabindex="3" /&gt;<br />
&lt;label for="url"&gt;&lt;small&gt;&lt;?php _e('Website'); ?&gt;&lt;/small&gt;&lt;/label&gt;&lt;/p&gt;<br />
&lt;?php endif; ?&gt;<br />
&lt;p&gt;&lt;textarea name="comment" id="comment" cols="60" rows="10" tabindex="4"&gt;&lt;/textarea&gt;&lt;/p&gt;<br />
&lt;p&gt;&lt;input name="submit" type="submit" id="submit" tabindex="5" value="&lt;?php esc_attr_e('Submit Comment'); ?&gt;" /&gt;<br />
&lt;input type="hidden" name="comment_post_ID" value="&lt;?php echo $id; ?&gt;" /&gt;<br />
&lt;/p&gt;<br />
&lt;?php do_action('comment_form', $post-&gt;ID); ?&gt;<br />
&lt;/form&gt;<br />
&lt;?php endif; // If registration required and not logged in ?&gt;<br />
&lt;?php else : // Comments are closed ?&gt;<br />
&lt;p&gt;&lt;?php _e('Sorry, the comment form is closed at this time.'); ?&gt;&lt;/p&gt;<br />
&lt;?php endif; ?&gt;</code><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
style.css</p>
<p><code><br />
/*<br />
Theme Name: Simplest Theme<br />
Theme URI: http://m-eken.com/<br />
Description: The Simplest WordPress Theme<br />
Version: 1.0<br />
Author: M-Eken<br />
Tags: Simple</p>
<p>http://www.m-eken.com</p>
<p>*/<br />
#bigframe{ width:810px;background:gray;margin-left:auto;margin-right:auto}<br />
#header, #header a{ color:yellow; width:800px;float:left }<br />
#centerframe { background:blue; width:600px;float:left}<br />
.post,#comments  {    background: green;width:590px; }<br />
#sidebar { background:red;width:180px;float:right }<br />
#footer {background:black; width:800px;float:left}</code></p>
<p><a href="http://m-eken.com/wp-content/depo/2009/12/simplest.zip"><strong>Download The Simplest WordPress Theme</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://m-eken.com/2009/12/09/the-simplest-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
