<?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>Sulumits Retsambew &#187; theme</title>
	<atom:link href="http://www.sulumitsretsambew.org/tag/theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sulumitsretsambew.org</link>
	<description>Sulumits Retsambew is entry by Evil Science for NetBuilders seo contest.</description>
	<lastBuildDate>Wed, 17 Nov 2010 10:07:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress SEO theme</title>
		<link>http://www.sulumitsretsambew.org/wordpress-seo-theme/</link>
		<comments>http://www.sulumitsretsambew.org/wordpress-seo-theme/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 12:42:59 +0000</pubDate>
		<dc:creator>Hellas</dc:creator>
				<category><![CDATA[Sulumits Retsambew]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[seo wp template]]></category>
		<category><![CDATA[sulumits retsambew seo theme]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress seo theme]]></category>

		<guid isPermaLink="false">http://www.sulumitsretsambew.org/?p=568</guid>
		<description><![CDATA[Here is theme used on this blog as I promised. Sulumits Retsambew wp theme is based on Seo Simple by Internet Wealth Master, but I changed a lot of things, so that it fits my purpose. It is easily possible that this is most optimized wordpress seo theme ever.
Main characteristics of this improved theme are:
-         content close to the body (in original theme content is even closer)
-         valid xhtml/css
-         optimized h1 h2 h3 tags. Frontpage of the site has name of the site in h1, and blogposts in h2, blogposts pages have title of blogposts in h1.
-         works in Opera 10, Opera 9, Firefox, IE 6, IE 7, IE 8, Chrome and other browsers
-         lightweight (no images except logo, everything is done by using css)
-         static [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Here is theme used on this blog as I promised. Sulumits Retsambew wp theme is based on <a title="SEO Simple" href="http://www.internetwealthmaster.com/seo-simple/">Seo Simple</a> by Internet Wealth Master, but I changed a lot of things, so that it fits my purpose. It is easily possible that this is most optimized <strong><span style="text-decoration: underline;">wordpress seo theme</span></strong> ever.</p>
<p>Main characteristics of this improved theme are:</p>
<p>-         content close to the body (in original theme content is even closer)<br />
-         valid xhtml/css<br />
-         optimized h1 h2 h3 tags. Frontpage of the site has name of the site in h1, and blogposts in h2, blogposts pages have title of blogposts in h1.<br />
-         works in Opera 10, Opera 9, Firefox, IE 6, IE 7, IE 8, Chrome and other browsers<br />
-         lightweight (no images except logo, everything is done by using css)<br />
-         static frontpage option with latest post on it<br />
(to activate this set your Wordpress to use some page as frontpage then assign the Sulumits page template to that page, modify code of the sulumits.php to show all posts or to show posts only from certain category)</p>
<p style="text-align: left;">Some things are hard coded in to the template, so remember to check my code if you don’t have a clue how to change something.</p>
<p style="text-align: center;"><a title="seo wp theme" href="http://www.sulumitsretsambew.org/wp-content/uploads/sulumits.zip">DOWNLOAD SULUMITS RETSAMBEW SEO THEME<br />
</a><br />
<a href="http://www.sulumitsretsambew.org/wp-content/uploads/2009/08/wordpressseotheme.gif"><img class="size-medium wp-image-569 aligncenter" title="wordpressseotheme" src="http://www.sulumitsretsambew.org/wp-content/uploads/2009/08/wordpressseotheme-500x429.gif" alt="wordpressseotheme 500x429 Wordpress SEO theme" width="500" height="429" /></a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sulumitsretsambew.org/wordpress-seo-theme/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Latest post in my Wordpress theme frontpage</title>
		<link>http://www.sulumitsretsambew.org/latest-post-in-my-wordpress-theme-frontpage/</link>
		<comments>http://www.sulumitsretsambew.org/latest-post-in-my-wordpress-theme-frontpage/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 09:59:20 +0000</pubDate>
		<dc:creator>Hellas</dc:creator>
				<category><![CDATA[Sulumits Retsambew]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[excerpt]]></category>
		<category><![CDATA[frontpage]]></category>
		<category><![CDATA[latest post]]></category>
		<category><![CDATA[modifying]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.sulumitsretsambew.org/?p=333</guid>
		<description><![CDATA[I just did some upgrades on my Sulumits Retsambew theme. I added latest blog post to the static frontpage. I wanted to have combination of static page with dynamic content. So my fixed text is always above with the latest blog post from some category. Since I lost an hour with that I thought maybe you would have use of it.
Here is how to do it:
First thing if you use static page is to make template for that specific page. So first make the template let say frontpage.php. On the beginning of the code add this:

&#60;?php
/*
Template Name: Front page
*/
?&#62;

Then just copy all content from page.php bellow above code in frontpage.php.
Now we have customized code for our page. Go to Wordpress -> edit pages, on assign this template to our given page. Usually frontpage page.
Now we well add Latest post to our frontpage. 
This code

&#60;?php query_posts&#40;'showposts=1&#38;cat=23'&#41;; ?&#62;   
&#60;?php while [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I just did some upgrades on my Sulumits Retsambew theme. I added <strong>latest blog post to the static frontpage.</strong> I wanted to have combination of static page with dynamic content. So my fixed text is always above with the latest blog post from some category. Since I lost an hour with that I thought maybe you would have use of it.</p>
<p>Here is how to do it:</p>
<p><strong>First thing if you use static page is to make template for that specific page. So first make the template let say frontpage.php. On the beginning of the code add this:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">/*
Template Name: Front page
*/</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Then just copy all content from page.php bellow above code in frontpage.php.<br />
Now we have customized code for our page. Go to Wordpress -> edit pages, on assign this template to our given page. Usually frontpage page.</p>
<p><strong>Now we well add Latest post to our frontpage. </strong></p>
<p>This code</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> query_posts<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'showposts=1&amp;cat=23'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>   
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>   
&lt;div class=&quot;post&quot;&gt; 
&lt;h2&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; rel=&quot;bookmark&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;storycontent&quot;&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_excerpt<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;div class=&quot;date&quot;&gt;
&lt;div class=&quot;meta&quot;&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Posted in &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_category<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">','</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> &amp;#8212; <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_author<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> @ <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_time<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> @ <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_date<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">''</span><span style="color: #339933;">,</span><span style="color: #0000ff;">''</span><span style="color: #339933;">,</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;?php</span> edit_post_link<span style="color: #009900;">&#40;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Edit This'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/div&gt;
&lt;/div&gt;  
&lt;/div&gt;
&lt;/div&gt;  
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>will show last post title, link, and default number of words from last post. Put it on needed position in your frontpage.php. Make wanted tweaks in css for  post, storycontent, date, meta or just replace this with equilalents from your template. Also you can wrap all this in another div and gave the latest post special look.</p>
<p><strong>Now we want to change the amount of text that the excerpt() function return us!</strong></p>
<p>In your theme function.php file add this:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'excerpt_length'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'my_excerpt_length'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">function</span> my_excerpt_length<span style="color: #009900;">&#40;</span><span style="color: #000088;">$length</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">return</span> <span style="color: #cc66cc;">150</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span></pre></div></div>

<p>This code will modify excerpt and instead of default 100 it will show 150 words from given post. </p>
<p>You will notice that excerpt function has missing „Read more“ link at the end, and instead it will show [...].<br />
<strong>You will replace [...] with the „Read more“ link with this code:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> excerpt_ellipse<span style="color: #009900;">&#40;</span><span style="color: #000088;">$text</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #b1b100;">return</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'[...]'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">' &lt;a href=&quot;'</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;Read more...&lt;/a&gt;'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_excerpt'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'excerpt_ellipse'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Add it also into your theme functions.php.</p>
<p>Be careful, to not add <strong>any space</strong> to the beginning or the end of the functions.php or you will get the  „Cannot modify header information &#8211; headers already sent function.php wordpress“ error. </p>
<p>That is it. To see how this work check my <a href="http://www.sulumitsretsambew.org">Sulumits Retsambew</a> frontpage. Notice that I show posts only from category that is related to the Sulumits Retsambew.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sulumitsretsambew.org/latest-post-in-my-wordpress-theme-frontpage/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

