<?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>Iacob Ionut - Freelance Website Design &#187; Wordpress</title>
	<atom:link href="http://iacobionut.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://iacobionut.com</link>
	<description></description>
	<lastBuildDate>Sat, 12 Jun 2010 07:48:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Twitter Tools Plugin Problem Solved</title>
		<link>http://iacobionut.com/twitter-tools-plugin-problem-solved/</link>
		<comments>http://iacobionut.com/twitter-tools-plugin-problem-solved/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 20:45:39 +0000</pubDate>
		<dc:creator>Iacob Ionut</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[twitter plugin]]></category>

		<guid isPermaLink="false">http://iacobionut.com/?p=792</guid>
		<description><![CDATA[In the last couple of weeks I&#8217;ve been having some problems with Twitter Tools . For some reason , after I upgraded Wordpress to 2.8.6 the plugin stopped working . Whenever I tried to test my user ID and password I got this message :
&#8221; Sorry, login failed. Error message from Twitter: Rate limit exceeded. [...]]]></description>
			<content:encoded><![CDATA[<p>In the last couple of weeks I&#8217;ve been having some problems with Twitter Tools . For some reason , after I upgraded Wordpress to 2.8.6 the plugin stopped working . Whenever I tried to test my user ID and password I got this message :</p>
<p>&#8221; <em>Sorry, login failed. Error message from Twitter: Rate limit exceeded. Clients may not make more than 150 requests per hour.&#8221;</em> .<br />
<span id="more-792"></span><br />
So I upgraded WP to 2.9.1 , reinstalled the plugin and tried again &#8230;. with no luck . I Googled the message and found out that I wasn&#8217;t the only one with <a href="http://wordpress.org/support/topic/289319">this</a> <a href="http://wordpress.org/support/topic/312067/page/2?replies=46">problem</a>. Those solutions didn&#8217;t work so I uninstalled the plugin (again) and tried an earlier version . This didn&#8217;t work either . I started looking for other solutions . <a href="http://www.wprecipes.com/how-to-display-your-latest-twitter-entry-on-your-wp-blog">This one</a> didn&#8217;t work because of my server&#8217;s settings , but I found CSS Trick&#8217;s &#8220;<a href="http://css-tricks.com/build-your-own-social-home/">Build your own Social Home</a>&#8221; post. They&#8217;ve used Twitter&#8217;s API and a bit of JSON to load and display tweets on the page.</p>
<p>This is the code I use to display tweets on my home page . It&#8217;s basically the same , with some small changes. </p>
<pre class="brush: php;">
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function(){
		$.getJSON('http://twitter.com/status/user_timeline/iacobionut.json?count=2&amp;callback=?', function(data){
		$.each(data, function(index, item){
			$('#twitter-home').append('&lt;div class=&quot;tweet&quot;&gt;&lt;p&gt;' + item.text.linkify() + '&lt;/p&gt;&lt;p&gt;&lt;em&gt;' + relative_time(item.created_at) + '&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;');
		});

	});
function relative_time(time_value) {
	  var values = time_value.split(&quot; &quot;);
	  time_value = values[1] + &quot; &quot; + values[2] + &quot;, &quot; + values[5] + &quot; &quot; + values[3];
	  var parsed_date = Date.parse(time_value);
	  var relative_to = (arguments.length &gt; 1) ? arguments[1] : new Date();
	  var delta = parseInt((relative_to.getTime() - parsed_date) / 1000);
	  delta = delta + (relative_to.getTimezoneOffset() * 60);

	  var r = '';
	  if (delta &lt; 60) {
		r = 'a minute ago';
	  } else if(delta &lt; 120) {
		r = 'couple of minutes ago';
	  } else if(delta &lt; (45*60)) {
		r = (parseInt(delta / 60)).toString() + ' minutes ago';
	  } else if(delta &lt; (90*60)) {
		r = 'an hour ago';
	  } else if(delta &lt; (24*60*60)) {
		r = '' + (parseInt(delta / 3600)).toString() + ' hours ago';
	  } else if(delta &lt; (48*60*60)) {
		r = '1 day ago';
	  } else {
		r = (parseInt(delta / 86400)).toString() + ' days ago';
	  }

	  return r;
	}

	String.prototype.linkify = function() {
		return this.replace(/[A-Za-z]+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&amp;\?\/.=]+/, function(m) {
			return m.link(m);
		});
	};

});
&lt;/script&gt;
</pre>
<p>I still have no idea why Twitter Tools doesn&#8217;t work , but this solution is really easy to use if you have the same problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://iacobionut.com/twitter-tools-plugin-problem-solved/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wordpress How-To : Exporting / Importing a Wordpress Database</title>
		<link>http://iacobionut.com/wordpress-how-to-exporting-importing-a-wordpress-database/</link>
		<comments>http://iacobionut.com/wordpress-how-to-exporting-importing-a-wordpress-database/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 13:22:28 +0000</pubDate>
		<dc:creator>Iacob Ionut</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://iacobionut.com/?p=399</guid>
		<description><![CDATA[When working on a project , I usually install Wordpress on my local server (WAMP on a PC) and after I&#8217;m done developing the theme , I export the database to the client&#8217;s server.This is a pretty easy process and this is how you do it.
1. Exporting the database &#8211; Phpmyadmin
Enter Phpmyadmin and select your [...]]]></description>
			<content:encoded><![CDATA[<p>When working on a project , I usually install Wordpress on my local server (WAMP on a PC) and after I&#8217;m done developing the theme , I export the database to the client&#8217;s server.This is a pretty easy process and this is how you do it.</p>
<h3>1. Exporting the database &#8211; Phpmyadmin</h3>
<p>Enter Phpmyadmin and select your database.<br />
<span id="more-399"></span><br />
<a id="single_1" href="http://iacobionut.com/wp-content/uploads/2009/07/1-1.jpg"><img class="alignnone size-full wp-image-400" title="WP database" src="http://iacobionut.com/wp-content/uploads/2009/07/1-1.jpg" alt="" width="500" height="146"  /></a></p>
<p>Select the Export tab</p>
<p>Tick Add DROP TABLE/VIEW/PROCEDURE/FUNCTION . Make sure all the tables and SQL are selected . Tick &#8220;Save as file&#8221; . Click &#8220;GO&#8221; and you&#8217;re done with the first part.</p>
<p><a href="http://iacobionut.com/wp-content/uploads/2009/07/2.jpg" rel="lightbox"><img class="alignnone size-full wp-image-403" title="Export DB" src="http://iacobionut.com/wp-content/uploads/2009/07/2.jpg" alt="" width="500" height="356" /></a></p>
<p>Open the file (*.sql) with Notepad (or any other text editor) . Replace all local URLs ( http://localhost ) with you new domain name (e.g. http://www.mysite.com ). After you&#8217;re done , save the file.</p>
<h3>2. Upload the Wordpress folder to your server</h3>
<p><a href="http://iacobionut.com/wp-content/uploads/2009/07/3.jpg" rel="lightbox"><img src="http://iacobionut.com/wp-content/uploads/2009/07/3.jpg" alt="" title="Wordpress" width="500" height="356" class="alignnone size-full wp-image-407" /></a></p>
<h3>3. Importing the database</h3>
<p>Log in to Phpmyadmin on your server and select the Import Tab. Click Browse , select the database file (*.sql) from your HDD and click GO.</p>
<p><a href="http://iacobionut.com/wp-content/uploads/2009/07/4.jpg" rel="lightbox"><img src="http://iacobionut.com/wp-content/uploads/2009/07/4.jpg" alt="" title="Import DB" width="500" height="356" class="alignnone size-full wp-image-408" /></a></p>
<h3>4. Changing WP Settings</h3>
<p>Edit wp-config.php and change these following lines.</p>
<p><a href="http://iacobionut.com/wp-content/uploads/2009/07/5.jpg" rel="lightbox"><img src="http://iacobionut.com/wp-content/uploads/2009/07/5.jpg" alt="" title="wp-config" width="500" height="116" class="alignnone size-full wp-image-409" /></a></p>
<p>Done.</p>
<h2>Problems you may encounter .</h2>
<p>One problem I found after I imported the database was that I couldn&#8217;t upload images from the Dashboard to the &#8220;Upload&#8221; folder. To solve this , log in to phpmyadmin on your server. Select the newly imported database .<br />
Select the wp_options table and click Browse.<br />
<a href="http://iacobionut.com/wp-content/uploads/2009/07/6.jpg" rel="lightbox"><img src="http://iacobionut.com/wp-content/uploads/2009/07/6.jpg" alt="" title="WP DB" width="500" height="356" class="alignnone size-full wp-image-411" /></a></p>
<p>Search for the option_name called upload_path (I found it on the second page)</p>
<p><a href="http://iacobionut.com/wp-content/uploads/2009/07/7.jpg" rel="lightbox"><img src="http://iacobionut.com/wp-content/uploads/2009/07/7.jpg" alt="" title="wp-options" width="500" height="88" class="alignnone size-full wp-image-412" /></a></p>
<p>Select it and click Change (the little Pencil icon)</p>
<p>Enter the Full path to your &#8220;Uploads&#8221; folder and click GO.</p>
<p><a href="http://iacobionut.com/wp-content/uploads/2009/07/8.jpg" rel="lightbox"><img src="http://iacobionut.com/wp-content/uploads/2009/07/8.jpg" alt="" title="Edit wp-options" width="500" height="228" class="alignnone size-full wp-image-413" /></a></p>
<p>And you&#8217;re done.</p>
]]></content:encoded>
			<wfw:commentRss>http://iacobionut.com/wordpress-how-to-exporting-importing-a-wordpress-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ProudBlack &#8211; Free Wordpress Theme</title>
		<link>http://iacobionut.com/proudblack-free-wordpress-theme/</link>
		<comments>http://iacobionut.com/proudblack-free-wordpress-theme/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 20:33:25 +0000</pubDate>
		<dc:creator>Iacob Ionut</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[proudblack]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://iacobionut.com/?p=160</guid>
		<description><![CDATA[Today I&#8217;m glad to release my first free Wordpress Theme . Proudblack , a simple , 2-column design theme , is best suited for personal blogs .
 Features :
 Tabbed sidebar area (Mootools) containing : Latest Posts , Latest Comments and Tags
Widget Ready Sidebar
Integrated Theme Options : You can enter your Twitter and Flickr ID’s [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;m glad to release my first free Wordpress Theme . Proudblack , a simple , 2-column design theme , is best suited for personal blogs .</p>
<ul> <strong>Features :</strong></p>
<li> Tabbed sidebar area (Mootools) containing : Latest Posts , Latest Comments and Tags</li>
<li>Widget Ready Sidebar</li>
<li>Integrated Theme Options : You can enter your Twitter and Flickr ID’s and customize the copyright area</li>
<li>Lifestream Support</li>
<li> Custom page template for Archives page</li>
<li> Gravatar support for comments</li>
</ul>
<p><span id="more-160"></span><br />
<img class="aligncenter size-full wp-image-162" title="Proudblack Wordpress Theme" src="http://iacobionut.com/wp-content/uploads/2009/02/1.jpg" alt="" width="590" height="300" /></p>
<p>
<ul><strong>Changelog :</strong><br />
	<strong>Ver 1.1</strong></p>
<li>Minor CSS bugs fixed</li>
<li>Dropdown menus added</li>
<li>Minor design changes</li>
</ul>
<p><img class="aligncenter size-full wp-image-163" title="3" src="http://iacobionut.com/wp-content/uploads/2009/02/3.jpg" alt="" width="605" height="311" /><br />
Remember that this is the first version , so I&#8217;m waiting for feedback on the theme .</p>
<p><a href="http://proudblack.iacobionut.com" target="_blank">Live Demo</a></p>
<p><a href="http://iacobionut.com/proudblack.zip">Download Proudblack Wordpress Theme</a></p>
]]></content:encoded>
			<wfw:commentRss>http://iacobionut.com/proudblack-free-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>Sneak Peek &#8211; Free Wordpress Theme &#8211; Proudblack</title>
		<link>http://iacobionut.com/sneak-peek-free-wordpress-theme-proudblack/</link>
		<comments>http://iacobionut.com/sneak-peek-free-wordpress-theme-proudblack/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 15:37:04 +0000</pubDate>
		<dc:creator>Iacob Ionut</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[proudblack]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://iacobionut.com/?p=150</guid>
		<description><![CDATA[Proudblack is a simple and clean wordpress theme . I&#8217;ve been working on this theme for a while in my spare time and ,finally, it&#8217;s ready to be released.
Proudblack is best used as a personal theme : it includes Flickr , Twitter and Lifestream support .

Wordpress 2.7 or 2.7.x needed.

V 1.0 Features :

Tabbed sidebar area [...]]]></description>
			<content:encoded><![CDATA[<p>Proudblack is a simple and clean wordpress theme . I&#8217;ve been working on this theme for a while in my spare time and ,finally, it&#8217;s ready to be released.<br />
Proudblack is best used as a personal theme : it includes Flickr , Twitter and Lifestream support .<br />
<span id="more-150"></span><br />
<strong>Wordpress 2.7 or 2.7.x needed.</strong></p>
<p><img src="http://iacobionut.com/wp-content/uploads/2009/02/sneak2.jpg" alt="Proudblack Sneak Peek" title="Proudblack Sneak Peek 2" width="590" height="240" class="aligncenter size-full wp-image-152" /></p>
<p><strong>V 1.0 Features :</strong></p>
<ul>
<li>Tabbed sidebar area (Mootools) containing : Latest Posts , Latest Comments and Tags.</li>
<li>Widget Ready Sidebar</li>
<li>Integrated Theme Options : You can enter your Twitter and Flickr ID&#8217;s and customize the copyright area</li>
<li>Lifestream Support</li>
<li>Custom page template for Archives page</li>
<li>Gravatar support for comments</li>
</ul>
<p>I need a couple of &#8220;testers&#8221; to test it and give me their feedback(bugs , what can be improved etc) before I&#8217;ll launch it.So if you&#8217;re interested drop a comment below and I&#8217;ll send you the theme.<br />
The theme will be available for download next week .  </p>
]]></content:encoded>
			<wfw:commentRss>http://iacobionut.com/sneak-peek-free-wordpress-theme-proudblack/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Christmas Giveaway &#8211; Winners Announced</title>
		<link>http://iacobionut.com/christmas-giveaway-winners-announced/</link>
		<comments>http://iacobionut.com/christmas-giveaway-winners-announced/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 19:04:15 +0000</pubDate>
		<dc:creator>Iacob Ionut</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[winners]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://iacobionut.com/?p=146</guid>
		<description><![CDATA[Happy New Year everyone! I&#8217;m happy to announce the winners of the Christmas Contest .
The winners are&#8230;
I&#8217;ve randomly picked the following numbers : 19 , 2 , 13 , 7 , 5 and 12. So the winners are:

 Allahverdi  &#8211;  CSS Gallery Theme
 Marko &#8211; CSS Gallery Theme
 twoaz1 &#8211; WoodWorld Theme
 John [...]]]></description>
			<content:encoded><![CDATA[<p>Happy New Year everyone! I&#8217;m happy to announce the winners of the Christmas Contest .</p>
<h2>The winners are&#8230;</h2>
<p>I&#8217;ve randomly picked the following numbers : 19 , 2 , 13 , 7 , 5 and 12. So the winners are:</p>
<ul>
<li> Allahverdi  &#8211;  CSS Gallery Theme</li>
<li> Marko &#8211; CSS Gallery Theme</li>
<li> twoaz1 &#8211; WoodWorld Theme</li>
<li> John Holt &#8211; Did not specify </li>
<li> Steve Robillard &#8211; CSS Gallery Theme </li>
<li> darkitten &#8211; Did not specify</li>
</ul>
<p>Congratulations to all the winners ! For those who didn&#8217;t win , I&#8217;m planning more contests in these following months so stay tuned .</p>
]]></content:encoded>
			<wfw:commentRss>http://iacobionut.com/christmas-giveaway-winners-announced/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Christmas Giveaway !</title>
		<link>http://iacobionut.com/christmas-giveaway/</link>
		<comments>http://iacobionut.com/christmas-giveaway/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 13:34:17 +0000</pubDate>
		<dc:creator>Iacob Ionut</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[giveaway]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://iacobionut.com/?p=119</guid>
		<description><![CDATA[Christmas is almost here and I thought that this is the best time to give some of my Wordpress Themes away for free . There are a total of 6 Wordpress themes up for grabs designed by yours truly.
All you need to do is leave a comment on this post about what does Christmas mean [...]]]></description>
			<content:encoded><![CDATA[<p>Christmas is almost here and I thought that this is the best time to give some of my Wordpress Themes away for free . There are a total of <strong>6 Wordpress themes up for grabs</strong> designed by yours truly.</p>
<p>All you need to do is leave a comment on this post about what does Christmas mean to you . Also please include what theme you&#8217;d like to win. Winners will be randomly picked by me and the results will be announced on Friday &#8211; January 2nd, 2009  .<br />
<span id="more-119"></span></p>
<h2>Wordpress Themes  </h2>
<h3>1. CSS Gallery Theme</h3>
<p><img src="http://iacobionut.com/wp-content/uploads/2008/12/gallery_contest.jpg" alt="" title="CSS Gallery Theme" width="500" height="228" class="aligncenter size-full wp-image-120" /></p>
<p><strong>Features :</strong></p>
<ul>
<li> 2 PSD Files for easy customization ( Logo and Main Page)</li>
<li> jQuery hover effects</li>
<li> Gravatar Support</li>
<li> Featured (“Smoking Hot” ) Category</li>
</ul>
<h3>2. Keep it Simple</h3>
<p><img src="http://iacobionut.com/wp-content/uploads/2008/12/kis_contest.jpg" alt="" title="Keep it Simple" width="500" height="228" class="aligncenter size-full wp-image-124" /></p>
<p><strong>Features :</strong></p>
<ul>
<li> Clean and simple design</li>
<li> 1 PSD file for easy customization </li>
<li> 2 Column design </li>
<li> 1 Widgetized Sidebar</li>
</ul>
<h3>3. Pretty in Pink</h3>
<p><img src="http://iacobionut.com/wp-content/uploads/2008/12/pink_contest.jpg" alt="" title="Pretty in Pink" width="500" height="228" class="aligncenter size-full wp-image-126" /><br />
<strong>Features :</strong></p>
<ul>
<li> Grunge White Pink Design </li>
<li> 3 PSD files (Background texture , Header and Main Page)</li>
<li> One Widgetized Sidebar</li>
</ul>
<h3>4. OldTheme Project</h3>
<p><img src="http://iacobionut.com/wp-content/uploads/2008/12/oldproject_contest.jpg" alt="" title="OldTheme Project" width="500" height="228" class="aligncenter size-full wp-image-127" /></p>
<p><strong>Features :</strong></p>
<ul>
<li> 2 PSD files for customization (Header and Main Page)</li>
<li> Gravatar support with custom admin styling</li>
<li> 1 Widgetized Sidebar</li>
</ul>
<h3>5. ZedMag Theme</h3>
<p><img src="http://iacobionut.com/wp-content/uploads/2008/12/zed_contest.jpg" alt="" title="ZedMag Theme" width="500" height="228" class="aligncenter size-full wp-image-129" /></p>
<p><strong>Features :</strong></p>
<ul>
<li> 4 Styles (Blue , Green , Red and Concrete) with easy switching between them</li>
<li> 3 Column Magazine Theme</li>
<li> Featured Articles Section ( jQuery Gallery )</li>
<li> Custom Admin Menu </li>
<li> Scrolling News Ticker (jQuery)</li>
<li> 6 Boxes to display the latest post in 6 different categories</li>
<li> 8 PSD Files (4 Headers + 4 Main Pages) </li>
</ul>
<h3>6. WoodWorld Theme</h3>
<p><img src="http://iacobionut.com/wp-content/uploads/2008/12/woodworld_contest.jpg" alt="" title="WoodWorld Theme" width="500" height="228" class="aligncenter size-full wp-image-132" /></p>
<p><strong>Features :</strong></p>
<ul>
<li> 2 PSD files for easy customization ( Main File + Header)</li>
<li> Built-in Gravatar Comments with different styling for admins </li>
<li> One Widgetized sidebar </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://iacobionut.com/christmas-giveaway/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Wordpress How-To : Week 1 &#8211; The Excerpt</title>
		<link>http://iacobionut.com/wordpress-how-to-week-1-the-excerpt/</link>
		<comments>http://iacobionut.com/wordpress-how-to-week-1-the-excerpt/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 20:09:36 +0000</pubDate>
		<dc:creator>Iacob Ionut</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[excerpt]]></category>

		<guid isPermaLink="false">http://iacobionut.com/?p=67</guid>
		<description><![CDATA[I&#8217;ve decided to make some changes to the blog. One is to write a weekly series of &#8220;Wordpress How-To&#8217;s&#8221; . Every monday  I&#8217;ll try to find something interesting about Wordpress and write about it . Ok&#8230;now let&#8217;s begin.

Week 1 : Wordpress Excerpt &#8211; how to limit the number of words displayed 
The excerpt displays [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to make some changes to the blog. One is to write a weekly series of &#8220;Wordpress How-To&#8217;s&#8221; . Every monday  I&#8217;ll try to find something interesting about Wordpress and write about it . Ok&#8230;now let&#8217;s begin.<br />
<span id="more-67"></span></p>
<h3>Week 1 : Wordpress Excerpt &#8211; how to limit the number of words displayed </h3>
<p>The excerpt displays the first 55 words of a post&#8230;a &#8220;teaser&#8221; if you like.It&#8217;s usually used on front pages of blogs and online newspapers  . Unlike the_content() , the_excerpt() does not show a &#8220;Read More&#8221; link after the text &#8230;this is replaced by [..] .</p>
<p>Today we&#8217;ll learn how to change the number of words displayed by the excerpt.Let&#8217;s say that you don&#8217;t have the space to show the first 55 words of a post/article and you would like to show only the first 25.This is how you do it :</p>
<p>First of all you&#8217;ll need to open the functions.php file of your theme and add these following lines:</p>
<pre class="brush: php;">
&lt;?php
function string_limit_words($string, $word_limit)
{
  $words = explode(' ', $string, ($word_limit + 1));
  if(count($words) &gt; $word_limit)
  array_pop($words);
  return implode(' ', $words);
}
?&gt;
</pre>
<p>Then add this where you want the excerpt to be displayed :</p>
<pre class="brush: php;">
&lt;?php $excerpt = get_the_excerpt();
 echo string_limit_words($excerpt,25);
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://iacobionut.com/wordpress-how-to-week-1-the-excerpt/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Freelancing</title>
		<link>http://iacobionut.com/freelancing/</link>
		<comments>http://iacobionut.com/freelancing/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 17:36:59 +0000</pubDate>
		<dc:creator>Iacob Ionut</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://iacobionut.com/?p=38</guid>
		<description><![CDATA[Hey guys , I&#8217;m sorry I haven&#8217;t been able to write in these last couple of weeks , but I&#8217;ve been really really busy designing stuff. I wanted to write some posts about Wordpress , about Photoshop etc but I&#8217;ve failed miserably due to the lack of time .
I have some spare time these days [...]]]></description>
			<content:encoded><![CDATA[<p>Hey guys , I&#8217;m sorry I haven&#8217;t been able to write in these last couple of weeks , but I&#8217;ve been really really busy designing stuff. I wanted to write some posts about Wordpress , about Photoshop etc but I&#8217;ve failed miserably due to the lack of time .</p>
<p>I have some spare time these days and I&#8217;m planning to do some changes around here:</p>
<ul>
<li>Minor tweaks to the site (contact form , paragraphs etc )</li>
<li>Some free wordpress themes for my &#8220;Freebies&#8221; section</li>
<li>A couple of posts/tutorials about Wordpress</li>
</ul>
<p>Until then&#8230;take care.</p>
]]></content:encoded>
			<wfw:commentRss>http://iacobionut.com/freelancing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
