<?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; wordpress</title>
	<atom:link href="http://www.sulumitsretsambew.org/category/wordpress/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>Mon, 16 Aug 2010 09:41: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>Must have plugins for Wordpress</title>
		<link>http://www.sulumitsretsambew.org/must-have-plugins-for-wordpress/</link>
		<comments>http://www.sulumitsretsambew.org/must-have-plugins-for-wordpress/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 17:53:59 +0000</pubDate>
		<dc:creator>Hellas</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[must have plugins]]></category>
		<category><![CDATA[wordpress plugins]]></category>
		<category><![CDATA[wordpress seo]]></category>

		<guid isPermaLink="false">http://www.sulumitsretsambew.org/?p=526</guid>
		<description><![CDATA[
Since Sulumits Retsambew contest is going toward its end, I am going to reveal more and more things around this blog. Since this site is based on CMS Wordpress, I used many of his plugins to get what I exactly wanted. Here are exact plugins I used and why:

Akismet      &#8211; Akismet is Wordpress spam watcher. Basicly I added Wordpress API key and      selected option to delete the spam comments automatically on posts older      then month.
All      in One Adsense and YPN – This plugin insert flawlessly Google ads in the      content. It’s known that in content ads perform better then other types of      ads.
All      in One SEO Pack – This plugin is must have. It arranges [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sulumitsretsambew.org/wp-content/uploads/2009/08/plug1.jpg"><img class="alignnone size-medium wp-image-528" title="plug1" src="http://www.sulumitsretsambew.org/wp-content/uploads/2009/08/plug1-500x344.jpg" alt="plug1 500x344 Must have plugins for Wordpress" width="500" height="344" /></a></p>
<p>Since Sulumits Retsambew contest is going toward its end, I am going to reveal more and more things around this blog. Since this site is based on CMS Wordpress, I used many of his plugins to get what I exactly wanted. Here are exact plugins I used and why:</p>
<ol>
<li>Akismet      &#8211; Akismet is Wordpress spam watcher. Basicly I added Wordpress API key and      selected option to delete the spam comments automatically on posts older      then month.</li>
<li>All      in One Adsense and YPN – This plugin insert flawlessly Google ads in the      content. It’s known that in content ads perform better then other types of      ads.</li>
<li>All      in One SEO Pack – This plugin is must have. It arranges my titles and meta      descriptions across the site.</li>
<li>Contact      Form 7 – I used this plugin to generate Contact form with Captcha at my      contact page.</li>
<li>Karailiev&#8217;s      sitemap – This plugin generates Sitemap for spiders (Google). It does job      on excellent way. After adding this it’s needed that you add your sitemap      to your Google Webmasters Central.</li>
<li>Really      Simple CAPTCHA – This plugin is needed for Contact form 7 plugin.</li>
<li>SEO      Friendly Images – Excellent plugin for SEO-ing your images. This plugin      will append post title to every image ALT tag and by that your images will      become more relevant to the given topic. You can specify more option      according to your taste.</li>
<li>Sociable      – This plugin will add bunch of WEB 2.0 and social bookmark buttons so      your visitors can easily bookmark it.</li>
<li>WP-Syntax      – If you publish code from time to time, this plugin will do code      highlighting for most programming languages.</li>
<li>WP-Pagenavi      – This plugin will give you navigation numbers as you can see it on my      Blog section. However I use manually coded version because of xhtml      compliance.</li>
<li>Yet      Another Related Posts Plugin – This plugin will find relevant post by      calculating not just simply using tags, but with complex algorithm that      use, post titles, post content and other functions to find your related      posts.</li>
</ol>
<p>That would be plugins installed on this Sulumits Retsambew site. I would appreciate if you would share and suggest further plugins that you find useful in comments bellow.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sulumitsretsambew.org/must-have-plugins-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Change number of recent posts in Wordpress to more then 15</title>
		<link>http://www.sulumitsretsambew.org/recent-posts-number-wordpress/</link>
		<comments>http://www.sulumitsretsambew.org/recent-posts-number-wordpress/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 13:10:45 +0000</pubDate>
		<dc:creator>Hellas</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[recent posts]]></category>

		<guid isPermaLink="false">http://www.sulumitsretsambew.org/?p=489</guid>
		<description><![CDATA[I just worked on some site where I needed to have more then 15 recent posts listed in wordpress sidebar. However when I changed value in the default wordpress widget it did not worked. After researching little bit I found solution for Wordpress 2.8.
What you need is to do little hack on some wordpress core files. You can see example at above mentioned site.

First go to folder wp-includes of Wordpress. Find file default-widgets.php.
Open it with some editor and find this part of code:
if ( !$number = (int) $instance['number'] )
$number = 10;
else if ( $number < 1 )
$number = 1;
else if ( $number > 15 )
$number = 15;
Its located on line 540 and 541.
Change the “15” at both place to max number of desired latest posts.
After that search for next occurence of “15”. It should be on line 589 with the text
“at most 15”. Change this too to your picked number.
Save [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I just worked on <a href="http://www.whyguides.com/">some site</a> where I needed to have <strong>more then 15 recent posts listed in wordpress sidebar</strong>. However when I changed value in the default wordpress widget it did not worked. After researching little bit I found solution for Wordpress 2.8.<br />
What you need is to do little hack on some wordpress core files. You can see example at above mentioned site.<br />
<span id="more-489"></span><br />
First go to folder wp-includes of Wordpress. Find file default-widgets.php.</p>
<p>Open it with some editor and find this part of code:</p>
<p><strong><code>if ( !$number = (int) $instance['number'] )<br />
$number = 10;<br />
else if ( $number < 1 )<br />
$number = 1;<br />
else if ( $number > 15 )<br />
$number = 15;</code></strong></p>
<p>Its located on line 540 and 541.</p>
<p>Change the <strong>“15”</strong> at both place to max number of desired latest posts.</p>
<p>After that search for next occurence of “15”. It should be on line 589 with the text<br />
<strong>“at most 15”</strong>. Change this too to your picked number.</p>
<p>Save the file. Go to widgets, and raise the number of your recent post it should work now.<br />
Notice that after Wordpress upgrade you should do hack again.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sulumitsretsambew.org/recent-posts-number-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Limit number of tags in Wordpress</title>
		<link>http://www.sulumitsretsambew.org/limit-tags-wordpress/</link>
		<comments>http://www.sulumitsretsambew.org/limit-tags-wordpress/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 07:27:29 +0000</pubDate>
		<dc:creator>Hellas</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.sulumitsretsambew.org/?p=473</guid>
		<description><![CDATA[Aquarezz @ Netbuilders recently asked interesting question. How to limit number of tags shown in tag cloud on Wordpress powered sites. Well its very easy to limit or change the numbers if you decide to use some widget, but you can do it manually too. Only problem is that after Wordpress upgrade you will lose your modification, and you will need to do it again.
Here are steps how to do it:
1. Open the category-template.php
(it is located in the folder wp-includes)
2. Find this part of code in it
function wp_tag_cloud( $args = '' ) {
$defaults = array(
'smallest' =&#62; 8, 'largest' =&#62; 22, 'unit' =&#62; 'pt', 'number' =&#62; 45,
'format' =&#62; 'flat', 'orderby' =&#62; 'name', 'order' =&#62; 'ASC',
'exclude' =&#62; '', 'include' =&#62; '', 'link' =&#62; 'view', 'taxonomy' =&#62; 'post_tag', 'echo' =&#62; true
);
its located under Display tags section&#8230;
3. Change the value &#8216;number&#8217; =&#62; 45, to the number of desired tags
4. Save &#38; refresh the page
That [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Aquarezz @ Netbuilders recently asked interesting question. How to limit number of tags shown in tag cloud on Wordpress powered sites. Well its very easy to limit or change the numbers if you decide to use some widget, but you can do it manually too. Only problem is that after Wordpress upgrade you will lose your modification, and you will need to do it again.</p>
<p>Here are steps how to do it:</p>
<p>1. Open the category-template.php</p>
<p>(it is located in the folder wp-includes)</p>
<p>2. Find this part of code in it</p>
<p><code>function wp_tag_cloud( $args = '' ) {<br />
$defaults = array(<br />
'smallest' =&gt; 8, 'largest' =&gt; 22, 'unit' =&gt; 'pt', 'number' =&gt; 45,<br />
'format' =&gt; 'flat', 'orderby' =&gt; 'name', 'order' =&gt; 'ASC',<br />
'exclude' =&gt; '', 'include' =&gt; '', 'link' =&gt; 'view', 'taxonomy' =&gt; 'post_tag', 'echo' =&gt; true<br />
);</code></p>
<p>its located under Display tags section&#8230;</p>
<p>3. Change the value &#8216;number&#8217; =&gt; 45, to the number of desired tags</p>
<p>4. Save &amp; refresh the page</p>
<p>That is it. Simple as I said.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sulumitsretsambew.org/limit-tags-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress 2.8 released</title>
		<link>http://www.sulumitsretsambew.org/wordpress-2-8-released/</link>
		<comments>http://www.sulumitsretsambew.org/wordpress-2-8-released/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 11:38:27 +0000</pubDate>
		<dc:creator>Hellas</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress 2.8]]></category>

		<guid isPermaLink="false">http://www.sulumitsretsambew.org/?p=444</guid>
		<description><![CDATA[Wordpress team is working hard and it did not passed much time after 2.7.1 Wordpress 2.8 (Baker) is out. I just upgraded this blog with one click upgrade, and everything passed just fine. New thing in this version are browsing for available themes from dashboard and one click install similar to plugins in 2.7.1. Widget page is redesigned, and speed is greatly increased. Wordpress team fixed over 790 known bugs for this release.



No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Wordpress team is working hard and it did not passed much time after 2.7.1 Wordpress 2.8 (Baker) is out. I just upgraded this blog with one click upgrade, and everything passed just fine. New thing in this version are browsing for available themes from dashboard and one click install similar to plugins in 2.7.1. Widget page is redesigned, and speed is greatly increased. Wordpress team fixed over 790 known bugs for this release.</p>
<p><object type="application/x-shockwave-flash" data="http://www.youtube.com/v/bA7tn7jj28c&amp;hl=en&amp;fs=1&amp;" width="425" height="344"><param name="movie" value="http://www.youtube.com/v/bA7tn7jj28c&amp;hl=en&amp;fs=1&amp;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param></object></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sulumitsretsambew.org/wordpress-2-8-released/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Google Opera Enter key problem</title>
		<link>http://www.sulumitsretsambew.org/google-opera-enter-key-problem/</link>
		<comments>http://www.sulumitsretsambew.org/google-opera-enter-key-problem/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 08:50:58 +0000</pubDate>
		<dc:creator>Hellas</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[enter]]></category>
		<category><![CDATA[enter button]]></category>
		<category><![CDATA[enter key]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[proble]]></category>
		<category><![CDATA[query suggestions]]></category>
		<category><![CDATA[userjs]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://www.sulumitsretsambew.org/?p=434</guid>
		<description><![CDATA[I noticed few days ago that my keyboard enter key does not work in Google search bar from my Opera browser. I researched little bit, and here is what I found.
Google added recently some new features to its search. But some of them like “query suggestion” have broken Javascript in them, so it stop enter functionality. Strange thing is that Google give one version of javascript to Firefox and another to Opera. If you mask Opera as Firefox everything will work, what gives me idea that Google maybe want to steal some of Opera browser users to their Chrome, but maybe I am just paranoic.
However don’t switch to another browser  , here is workaround until Google resolve this issue. 
Go to google site you use, then click on “preferences” and under “Query Suggestions” section select “Do not provide query suggestions in the search box.” and save the Preferences.
After that [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I noticed few days ago that my keyboard enter key does not work in Google search bar from my Opera browser. I researched little bit, and here is what I found.<br />
Google added recently some new features to its search. But some of them like “query suggestion” have broken Javascript in them, so it stop enter functionality. Strange thing is that Google give one version of javascript to Firefox and another to Opera. If you mask Opera as Firefox everything will work, what gives me idea that Google maybe want to steal some of Opera browser users to their Chrome, but maybe I am just paranoic.</p>
<p>However don’t switch to another browser <img src='http://www.sulumitsretsambew.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="Google Opera Enter key problem" /> , here is workaround until Google resolve this issue. </p>
<p>Go to google site you use, then click on “preferences” and under “Query Suggestions” section select “Do not provide query suggestions in the search box.” and save the Preferences.</p>
<p>After that your enter will work as supposed to work.</p>
<p>There is another fix in the form of User JS. I did not test it but people say it works too.<br />
Here is it <a href="http://www.tomec.net/files/google-enter.js">http://www.tomec.net/files/google-enter.js</a>. Just insert it in your User JS folder of Opera. </p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sulumitsretsambew.org/google-opera-enter-key-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wordpress SEO paging navigation</title>
		<link>http://www.sulumitsretsambew.org/wordpress-seo-paging-navigation/</link>
		<comments>http://www.sulumitsretsambew.org/wordpress-seo-paging-navigation/#comments</comments>
		<pubDate>Sat, 02 May 2009 09:52:26 +0000</pubDate>
		<dc:creator>Hellas</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[paging]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[seo pages]]></category>

		<guid isPermaLink="false">http://www.sulumitsretsambew.org/?p=350</guid>
		<description><![CDATA[I was not satisfied how my blog paging looks like, and I realized on the SEO side it would be better that I have more links to pages available, so search engine spiders can hit the articles with the less steps. So I found this guy http://robertbasic.com/blog/wordpress-paging-navigation/ and his code. It works flawless and it is right what I needed. However since I like to have my pages validated, and his code break validation I decided to fix it. You need to add this code into your link-template.php which is located in the wp-includes folder (p.s. you can find wordpress pager plugin but it is also not valiadated).
So here is his code validated:

/** 
* A pagination function 
* @param integer $range: The range of the slider, works best with even numbers 
* Used WP functions: 
* get_pagenum_link($i) - creates the link, e.g. http://site.com/page/4 
* previous_posts_link(' &#38;#171; '); - returns the [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I was not satisfied how my blog paging looks like, and I realized on the SEO side it would be better that I have more links to pages available, so search engine spiders can hit the articles with the less steps. So I found this guy <a href="http://robertbasic.com/blog/wordpress-paging-navigation/">http://robertbasic.com/blog/wordpress-paging-navigation/</a> and his code. It works flawless and it is right what I needed. However since I like to have my pages validated, and his code break validation I decided to fix it. You need to add this code into your link-template.php which is located in the wp-includes folder (p.s. you can find wordpress pager plugin but it is also not valiadated).<span id="more-350"></span></p>
<p>So here is his code validated:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/** 
* A pagination function 
* @param integer $range: The range of the slider, works best with even numbers 
* Used WP functions: 
* get_pagenum_link($i) - creates the link, e.g. http://site.com/page/4 
* previous_posts_link(' &amp;#171; '); - returns the Previous page link 
* next_posts_link(' &amp;#187; '); - returns the Next page link 
*/</span>  
<span style="color: #000000; font-weight: bold;">function</span> get_pagination<span style="color: #009900;">&#40;</span><span style="color: #000088;">$range</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">8</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
  <span style="color: #666666; font-style: italic;">// $paged - number of the current page  </span>
  <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$paged</span><span style="color: #339933;">,</span> <span style="color: #000088;">$wp_query</span><span style="color: #339933;">;</span>  
  <span style="color: #666666; font-style: italic;">// How much pages do we have?  </span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #000088;">$max_page</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>  
    <span style="color: #000088;">$max_page</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$wp_query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">max_num_pages</span><span style="color: #339933;">;</span>  
  <span style="color: #009900;">&#125;</span>  
  <span style="color: #666666; font-style: italic;">// We need the pagination only if there are more than 1 page  </span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$max_page</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$paged</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
      <span style="color: #000088;">$paged</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>  
    <span style="color: #009900;">&#125;</span>  
    <span style="color: #666666; font-style: italic;">// On the first page, don't put the First page link  </span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$paged</span> <span style="color: #339933;">!=</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
      <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> get_pagenum_link<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt; First &lt;/a&gt;'</span><span style="color: #339933;">;</span>  
    <span style="color: #009900;">&#125;</span>  
    <span style="color: #666666; font-style: italic;">// To the previous page  </span>
    previous_posts_link<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">' &amp;#171; '</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
    <span style="color: #666666; font-style: italic;">// We need the sliding effect only if there are more pages than is the sliding range  </span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$max_page</span> <span style="color: #339933;">&gt;</span> <span style="color: #000088;">$range</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
      <span style="color: #666666; font-style: italic;">// When closer to the beginning  </span>
      <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$paged</span> <span style="color: #339933;">&lt;</span> <span style="color: #000088;">$range</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
        <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$range</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
          <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> get_pagenum_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">' &quot;'</span><span style="color: #339933;">;</span>  
          <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">==</span><span style="color: #000088;">$paged</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'class=&quot;current&quot;'</span><span style="color: #339933;">;</span>  
          <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&gt;<span style="color: #006699; font-weight: bold;">$i</span>&lt;/a&gt;&quot;</span><span style="color: #339933;">;</span>  
        <span style="color: #009900;">&#125;</span>  
      <span style="color: #009900;">&#125;</span>  
      <span style="color: #666666; font-style: italic;">// When closer to the end  </span>
      <span style="color: #b1b100;">elseif</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$paged</span> <span style="color: #339933;">&gt;=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$max_page</span> <span style="color: #339933;">-</span> <span style="color: #990000;">ceil</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$range</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
        <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$max_page</span> <span style="color: #339933;">-</span> <span style="color: #000088;">$range</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;=</span> <span style="color: #000088;">$max_page</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
          <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> get_pagenum_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">' &quot;'</span><span style="color: #339933;">;</span>  
          <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">==</span><span style="color: #000088;">$paged</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'class=&quot;current&quot;'</span><span style="color: #339933;">;</span>  
          <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&gt;<span style="color: #006699; font-weight: bold;">$i</span>&lt;/a&gt;&quot;</span><span style="color: #339933;">;</span>  
        <span style="color: #009900;">&#125;</span>  
      <span style="color: #009900;">&#125;</span>  
      <span style="color: #666666; font-style: italic;">// Somewhere in the middle  </span>
      <span style="color: #b1b100;">elseif</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$paged</span> <span style="color: #339933;">&gt;=</span> <span style="color: #000088;">$range</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$paged</span> <span style="color: #339933;">&lt;</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$max_page</span> <span style="color: #339933;">-</span> <span style="color: #990000;">ceil</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$range</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
        <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$paged</span> <span style="color: #339933;">-</span> <span style="color: #990000;">ceil</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$range</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$paged</span> <span style="color: #339933;">+</span> <span style="color: #990000;">ceil</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$range</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
          <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> get_pagenum_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">' &quot;'</span><span style="color: #339933;">;</span>  
          <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">==</span><span style="color: #000088;">$paged</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'class=&quot;current&quot;'</span><span style="color: #339933;">;</span>  
          <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&gt;<span style="color: #006699; font-weight: bold;">$i</span>&lt;/a&gt;&quot;</span><span style="color: #339933;">;</span>  
        <span style="color: #009900;">&#125;</span>  
      <span style="color: #009900;">&#125;</span>  
    <span style="color: #009900;">&#125;</span>  
    <span style="color: #666666; font-style: italic;">// Less pages than the range, no sliding effect needed  </span>
    <span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>  
      <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;=</span> <span style="color: #000088;">$max_page</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> get_pagenum_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">' &quot;'</span><span style="color: #339933;">;</span>  
        <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">==</span><span style="color: #000088;">$paged</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'class=&quot;current&quot;'</span><span style="color: #339933;">;</span>  
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&gt;<span style="color: #006699; font-weight: bold;">$i</span>&lt;/a&gt;&quot;</span><span style="color: #339933;">;</span>  
      <span style="color: #009900;">&#125;</span>  
    <span style="color: #009900;">&#125;</span>  
    <span style="color: #666666; font-style: italic;">// Next page  </span>
    next_posts_link<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">' &amp;#187; '</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
    <span style="color: #666666; font-style: italic;">// On the last page, don't put the Last page link  </span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$paged</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$max_page</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
      <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> get_pagenum_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$max_page</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt; Last &lt;/a&gt;'</span><span style="color: #339933;">;</span>  
    <span style="color: #009900;">&#125;</span>  
  <span style="color: #009900;">&#125;</span>  
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>After that you need to define in your theme index.php where the pagination will show itself, and you will do that with this piece of code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;div class=&quot;navigation&quot;&gt;  
        <span style="color: #000000; font-weight: bold;">&lt;?php</span> get_pagination<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/div&gt;</pre></div></div>

<p>Now you only need to style it to fit your current wordpress theme. For example since we wrapedd pagination into div with class “navigation” add this classes to your css and adopt the variables:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.navigation</span> <span style="color: #00AA00;">&#123;</span>  
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>  
<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>  
<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>  
<span style="color: #000000; font-weight: bold;">margin-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">60px</span><span style="color: #00AA00;">;</span>  
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">80</span>%</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#000000</span>
<span style="color: #00AA00;">&#125;</span>  
&nbsp;
<span style="color: #6666ff;">.navigation</span> a<span style="color: #00AA00;">&#123;</span>  
<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>  
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>  
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">2px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">2px</span><span style="color: #00AA00;">;</span>  
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#000000</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#ffffff</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span>  
&nbsp;
<span style="color: #6666ff;">.navigation</span> a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>  
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#a90000</span><span style="color: #00AA00;">;</span>  
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Example of the pagination you can see at this site blog section. And as I said again, credits for this code goes to <a href="http://robertbasic.com/blog/wordpress-paging-navigation/">this guy</a>, I just validated the code.</p>
<p>Since this code because of copy/paste maybe have some extra spaces here you can download my link-template.php. It is from wordpress 2.7.1</p>
<p><a href="http://www.sulumitsretsambew.org/wp-content/uploads/link-template.zip">link-template.zip</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sulumitsretsambew.org/wordpress-seo-paging-navigation/feed/</wfw:commentRss>
		<slash:comments>11</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>
