<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Smashing Themes</title>
	
	<link>http://www.smashingthemes.com</link>
	<description>Quality Themes for your websites</description>
	<lastBuildDate>Thu, 27 May 2010 08:12:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/smashingthemes" /><feedburner:info uri="smashingthemes" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>smashingthemes</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Best practices for deployment and development of CSS and JS files</title>
		<link>http://feedproxy.google.com/~r/smashingthemes/~3/xGY3B3-nfFo/</link>
		<comments>http://www.smashingthemes.com/blog/best-practices-for-deployment-and-development-of-css-and-js-files/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 11:06:54 +0000</pubDate>
		<dc:creator>designcode</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[js]]></category>

		<guid isPermaLink="false">http://www.smashingthemes.com/?p=398</guid>
		<description><![CDATA[When working on a big size web based application, static files (Javascripts, Stylesheets and Images) are something you should handle with care. While you're back-end can be a breeze for server, a front-end without best practices can cause your website to load slow thus resulting in loosing visitors/customers. There are many tips that can make your website load much faster and In this article I am going to write about how you can adopt those techniques.]]></description>
			<content:encoded><![CDATA[<p>When working on a big size web based application, static files (Javascripts, Stylesheets and Images) are something you should handle with care. While you&#8217;re back-end can be a breeze for server, a front-end without best practices can cause your website to load slow thus resulting in loosing visitors/customers. There are many tips that can make your website load much faster and In this article I am going to write about how you can adopt those techniques.</p>
<h3>Load Stylesheets JS Files in correct places</h3>
<p>When writing markup you should make sure that you have all you <strong>stylesheets</strong> in the document <strong>HEAD</strong>, consider the following example:</p>
<pre name="code" class="xhtml">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
&lt;head&gt;
 &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
 &lt;title&gt;My site title&lt;/title&gt;
 &lt;link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="/feeds.xml" /&gt;
 &lt;link rel="shortcut icon" href="/static/images/favicon.ico"&gt;

 &lt;link rel="stylesheet" href="/static/styles/styles.css" type="text/css" media="screen" /&gt;
 &lt;link rel='stylesheet' href="/static/styles/colors.css" type="text/css" media="all" /&gt;
 &lt;link rel='stylesheet' href="/static/styles/portfolio.css" type="text/css" media="all" /&gt;</pre>
<p>On some browsers, Internet explorer precisely, you must have noticed that when opening a site, you see a white page and whole content appears suddenly. This is caused by putting stylesheets outside HEAD of the document. According to <a href="http://developer.yahoo.com/" target="_blank">Yahoo Developers Network</a>, putting stylesheets outside HEAD prohibits progressive rendering in many browsers, including Internet Explorer.</p>
<p>SCRIPTS case in totally different with stylesheet&#8217;s. You should put the scripts at the end of the document, right after BODY ideally. Scripts don&#8217;t allow parallel downloads, with means if you have a 70 KB javascript file in your HEAD, rest of the stuff on page like images or stylesheets will have to wait until that javascript is downloaded on client. In most of the cases, its not easy to move SCRIPTS to bottom, but if you are working on a project from scratch you should write your code with this pratice in mind.</p>
<h3>Write correct CSS and Javascript</h3>
<p>Avoid writing inline CSS and Javascript, instead make those that external. Javascript and CSS files are cached by browsers resulting quick page loading. On the other hand, CSS and Javascript coded in HTML document gets downloaded every time page is loaded. And even apart from speed issues, its a bad development practice to mix up different stuff in one file. Don&#8217;t use garbage like CSS expressions or BS like DEFER (use I hate IE).</p>
<h3>Include minimum Javascript and CSS files</h3>
<p>Instead of including multiple CSS and JS files, you should include one master file for each, like instead of including prototype.js, effects.js, modules.js as separate file, include a single file something like common,js that contains the code all above three files.</p>
<p>The problem with this practice is that it increases development time if you put all code in a single file. Or if you are making separate files for development and merge those at time of deployment, that itself is a big problem. At the end of this article, I will suggest a solution for this problem, I am sure you&#8217;ll find that deadly useful.</p>
<h3>Use compressed Javascript and CSS</h3>
<p>Compressing the Javascript and CSS can also help in reducing load time of web pages. You can use following online tools to compress the your files.</p>
<ul>
<li><a href="http://www.cssdrive.com/index.php/main/csscompressor/" target="_blank">CSS Drive CSS compressor</a></li>
<li><a href="http://www.csscompressor.com/" target="_blank">CSSCompressor.com/</a></li>
<li><a href="http://www.cssoptimiser.com/" target="_blank">CSSOptimiser.com</a></li>
<li><a href="http://javascriptcompressor.com/" target="_blank">JavascriptCompressor.com/</a></li>
<li><a href="http://www.creativyst.com/Prod/3/" target="_blank">Creativyst CSS &amp; JavaScript Compressor</a></li>
<li><a href="http://dean.edwards.name/packer/" target="_blank">Javascript Packer</a></li>
<li>And many others&#8230;.</li>
</ul>
<p>You can imagine that a 100KB file compressed to 60KB will be faster in download.</p>
<h3>Problems and the Solution</h3>
<p>But the main issue with compressing the files is that it can result in increased time of deployment. You can&#8217;t write, edit or understand Javascript in a single line, so before deployment you have to compress your files before uploading. To make the development and deployment cycle a bit smooth, I have adopted a technique which I archived by extending the great article written <a href="http://reinholdweber.com/css/css-deployment-php-snippet-compresses-multiple-css-files-into-one-single-line/" target="_blank">here</a>.</p>
<p>Basically, rather than using the static files after compressing and minimizing the static content into one files ourselves manually, I am using the server side to do that all stuff. A PHP script will include different files as a singe file, compress those file and will send the output to those files. Following the code of file static.php</p>
<pre name="code" class="php">//static.php

// Change folowing path to according to your needs
$_pathToStatic = '/home/mysite/templates/static/';

$_type = $_GET['type'];
$_load = explode(',', $_GET['load']);

if($_type == 'css')
{
	header('Content-type: text/css');
	$ext = '.css';
}
else
{
	header('Content-type: text/javascript');
	$ext = '.js';
}

ob_start("compress");

function compress($buffer)
{
	/* remove comments */
	$buffer = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $buffer);
	/* remove tabs, spaces, newlines, etc. */
	$buffer = str_replace(array("\r\n", "\r", "\n", "\t", '  ', '    ', '    '), '', $buffer);
	return $buffer;
}

foreach($_load as $load)
{
	$_file = $_pathToStatic.trim($load).$ext;
	if(file_exists($_file))
		include($_file);
}

 ob_end_flush();</pre>
<p>The above file basically takes the parameter of which and what type files to include. On the bases parameters, script includes those files from the directory defined in <strong>line 2</strong>, compress the content and send to browser. So this way, your web page makes only one request for both CSS and Javascript and gets the output in compressed form. You don&#8217;t have to write all CSS and JS in one file, and have to compress that when deploying.</p>
<p>Now to use the above file, use the following code,</p>
<pre name="code" class="xhtml">&lt;link rel="stylesheet" href="static.php?type=css&amp;load=common,layout,colors,typography" type="text/css" media="screen" /&gt;
&lt;script type="text/javascript" src="static.php?type=js&amp;load=prototype,effects,builder,dragdrop,modules"&gt;&lt;/script&gt;</pre>
<p>In the <strong>type</strong> parameter, you have to enter either <strong>css</strong> or <strong>js</strong>, based on what files you are including. And <strong>load</strong> parameter takes the comma separated values of files to be included.</p>
<p>As most of the browsers don&#8217;t cache dynamic files (like .php), so there are chances that files included this way will be download on every request. To prevent this, we can use <strong>Apache&#8217;s rewrite rule</strong>.</p>
<pre name="code">RewriteEngine on
RewriteRule ^static.([a-z]+)$ static.php?type=$1 [QSA]</pre>
<p>Now you&#8217;re code to include files now look like</p>
<pre name="code" class="xhtml">&lt;link rel="stylesheet" href="static.css?load=common,layout,colors,typography" type="text/css" media="screen" /&gt;
&lt;script type="text/javascript" src="static.js?load=prototype,effects,builder,dragdrop,modules"&gt;&lt;/script&gt;</pre>
<p>If you find any bugs/problems/suggestions or do some improvements, please do share those with us by commenting.</p>
<img src="http://feeds.feedburner.com/~r/smashingthemes/~4/xGY3B3-nfFo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.smashingthemes.com/blog/best-practices-for-deployment-and-development-of-css-and-js-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.smashingthemes.com/blog/best-practices-for-deployment-and-development-of-css-and-js-files/</feedburner:origLink></item>
		<item>
		<title>Admin avatars not showing up in comments after switching the admin user?</title>
		<link>http://feedproxy.google.com/~r/smashingthemes/~3/v9qe_LcqLws/</link>
		<comments>http://www.smashingthemes.com/blog/admin-avatars-not-showing-up-in-comments-after-switching-the-admin-user/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 07:26:50 +0000</pubDate>
		<dc:creator>designcode</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[avatar]]></category>
		<category><![CDATA[gravatar]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.smashingthemes.com/?p=408</guid>
		<description><![CDATA[Lets say, you posted 5 posts and 3 comments with user <strong>admin</strong> with the same user. Your email address for this user was <strong>x@yoursite.com</strong>. Now you read the <a href="http://www.smashingmagazine.com/2009/01/26/10-steps-to-protect-the-admin-area-in-wordpress/" rel="external nofollow">WordPress admin security article here</a> and decided that you should delete the admin user.

When you've done it,  everything seems to be fine. Except your avatar is not showing up in the comments you made. Changing the email address of the new user won't work. Now you have to do a bit of manual work.]]></description>
			<content:encoded><![CDATA[<p>Lets say, you posted 5 posts and 3 comments with user <strong>admin</strong> with the same user. Your email address for this user was <strong>x@yoursite.com</strong>. Now you read the <a rel="external nofollow" href="http://www.smashingmagazine.com/2009/01/26/10-steps-to-protect-the-admin-area-in-wordpress/">WordPress admin security article here</a> and decided that you should delete the admin user.</p>
<blockquote>
<ol>
<li>Create another administrator in the admin area.</li>
<li>Log out of the back end.</li>
<li>Log in as the new user.</li>
<li>Delete the old <em>admin</em> from the user list.<br />
A second user gives greater security: that name will be displayed in all future published articles and commentaries, and the name of the actual administrator will never be displayed on blog pages and therefore never communicated to the outside world.
</li>
</ol>
<p><a rel="external nofollow" href="http://www.smashingmagazine.com/2009/01/26/10-steps-to-protect-the-admin-area-in-wordpress/"><img class="alignnone size-full wp-image-412" title="wordpress_delete_user" src="http://www.smashingthemes.com/wp-content/uploads/2009/09/wordpress_delete_user.png" alt="wordpress_delete_user" /></a>
</p></blockquote>
<p>When you&#8217;ve done it,  everything seems to be fine. Except your avatar is not showing up in the comments you made. Changing the email address of the new user won&#8217;t work. Now you have to do a bit of manual work.</p>
<p>In order to solve this issue, you will have to connect to your database. You can use phpMyAdmin for it. Go to phpMyAdmin, select your WordPress database and click on the SQL Tab</p>
<p><a rel="external nofollow" href="http://www.smashingthemes.com/wp-content/uploads/2009/09/phpmyadmin.jpg"><img class="alignnone size-full wp-image-414" title="phpmyadmin" src="http://www.smashingthemes.com/wp-content/uploads/2009/09/phpmyadmin.jpg" alt="phpmyadmin" /></a></p>
<p>At this stage you should know two variables,</p>
<ol>
<li><strong>Your table Prefix</strong><br />
You can find the table prefix in wp-congfig.php, search for <strong>$table_prefix = &#8216;XXX_&#8217;</strong>, and copy its value (XXX_ without quotes).</li>
<li><strong>User ID of your newly created admin user</strong><br />
If that was the second user you added, it must be a <strong>2</strong>, but if you are not sure, enter the following query in the Text box right under SQL tab, as shown in above image.</p>
<pre class="sql">select ID from XXX_users where user_login = 'YOURNEWUSERNAMEHERE'</pre>
</li>
</ol>
<p>Replace the XXX_ with your Table prefix and click the <strong>GO</strong> button, right under the text box. This will get you a table on next page like in the image below</p>
<p><a rel="attachment wp-att-420 external nofollow" href="http://www.smashingthemes.com/blog/admin-avatars-not-showing-up-in-comments-after-switching-the-admin-user/attachment/phpmyadmin2/"><img class="aligncenter size-full wp-image-420" title="phpmyadmin2" src="http://www.smashingthemes.com/wp-content/uploads/2009/09/phpmyadmin2.jpg" alt="phpmyadmin2" width="509" height="197" /></a></p>
<p>Copy the number marked with red circle, and now you have your new user&#8217;s ID. Lets proceed with fixing the avater part. Go back to previous page on your browser and enter the following SQL in the text box,</p>
<pre class="sql">update XXX_comments set user_id = Y where user_id = 1</pre>
<p>Replace the Y with the ID you got in the last step and press the <strong>GO</strong> button. This should fix the problem you were having. Feel free to post in comments any questions you may have.</p>
<img src="http://feeds.feedburner.com/~r/smashingthemes/~4/v9qe_LcqLws" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.smashingthemes.com/blog/admin-avatars-not-showing-up-in-comments-after-switching-the-admin-user/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.smashingthemes.com/blog/admin-avatars-not-showing-up-in-comments-after-switching-the-admin-user/</feedburner:origLink></item>
		<item>
		<title>40+ killer logos based on text</title>
		<link>http://feedproxy.google.com/~r/smashingthemes/~3/ypgzBhqr3As/</link>
		<comments>http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 04:54:19 +0000</pubDate>
		<dc:creator>designcode</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Lists]]></category>
		<category><![CDATA[Showcase]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Logo]]></category>
		<category><![CDATA[Logos]]></category>
		<category><![CDATA[Typography]]></category>

		<guid isPermaLink="false">http://www.smashingthemes.com/?p=325</guid>
		<description><![CDATA[Usually logos have some graphics and text together but below we are presenting a showcase of some clever and creative logo designs that are based on text only, yet they reflect the concepts fully.

These logos are made by putting some rotation, color, angel, width, height or size of simple Numbers and Characters. As a designer, we always need inspiration just like breakfast, so I hope this list will bring some inspiration to my readers.]]></description>
			<content:encoded><![CDATA[<p>Usually logos have some graphics and text together but below we are presenting a showcase of some clever and creative logo designs that are based on text only, yet they reflect the concepts fully.</p>
<p>These logos are made by putting some rotation, color, angel, width, height or size of simple Numbers and Characters. As a designer, we always need inspiration just like breakfast, so I hope this list will bring some inspiration to my readers.</p>
<h3>Showcase of Logos based on Text</h3>

<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/rainfall/' title='rainfall'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/rainfall-200x150.jpg" class="attachment-thumbnail" alt="" title="rainfall" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/vuzum/' title='vuzum'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/vuzum-200x150.jpg" class="attachment-thumbnail" alt="" title="vuzum" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/ketchup/' title='ketchup'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/ketchup-200x150.jpg" class="attachment-thumbnail" alt="" title="ketchup" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/mother/' title='mother'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/mother-200x150.png" class="attachment-thumbnail" alt="" title="mother" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/idea/' title='IDEA'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/IDEA-200x150.png" class="attachment-thumbnail" alt="" title="IDEA" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/families/' title='families'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/families-200x150.jpg" class="attachment-thumbnail" alt="" title="families" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/plantwithpurpose/' title='PlantWithPurpose'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/PlantWithPurpose-200x150.gif" class="attachment-thumbnail" alt="" title="PlantWithPurpose" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/danko/' title='danko'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/danko-200x150.jpg" class="attachment-thumbnail" alt="" title="danko" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/void/' title='void'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/void-200x150.png" class="attachment-thumbnail" alt="" title="void" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/hole/' title='hole'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/hole-200x150.png" class="attachment-thumbnail" alt="" title="hole" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/january/' title='january'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/january-200x150.jpg" class="attachment-thumbnail" alt="" title="january" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/h3o/' title='h3o'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/h3o-200x150.png" class="attachment-thumbnail" alt="" title="h3o" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/clickstudio/' title='clickstudio'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/clickstudio-200x150.jpg" class="attachment-thumbnail" alt="" title="clickstudio" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/whitecrimson/' title='whitecrimson'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/whitecrimson-200x150.jpg" class="attachment-thumbnail" alt="" title="whitecrimson" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/crown/' title='Crown'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/Crown-200x150.png" class="attachment-thumbnail" alt="" title="Crown" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/zoomdesign/' title='zoomdesign'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/zoomdesign-200x150.jpg" class="attachment-thumbnail" alt="" title="zoomdesign" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/twins/' title='twins'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/twins-200x150.jpg" class="attachment-thumbnail" alt="" title="twins" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/killed_productions/' title='killed_productions'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/killed_productions-200x150.jpg" class="attachment-thumbnail" alt="" title="killed_productions" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/baboo/' title='baboo'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/baboo-200x150.png" class="attachment-thumbnail" alt="" title="baboo" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/kitab/' title='kitab'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/kitab-200x150.png" class="attachment-thumbnail" alt="" title="kitab" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/colourlogo/' title='colourlogo'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/colourlogo-200x150.jpg" class="attachment-thumbnail" alt="" title="colourlogo" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/wave1/' title='wave1'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/wave1-200x150.jpg" class="attachment-thumbnail" alt="" title="wave1" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/studioeight/' title='studioeight'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/studioeight-200x150.jpg" class="attachment-thumbnail" alt="" title="studioeight" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/catchmotion/' title='catchmotion'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/catchmotion-200x150.png" class="attachment-thumbnail" alt="" title="catchmotion" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/mouse/' title='mouse'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/mouse-200x150.png" class="attachment-thumbnail" alt="" title="mouse" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/half/' title='half'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/half-200x150.jpg" class="attachment-thumbnail" alt="" title="half" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/fish/' title='fish'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/fish-200x150.jpg" class="attachment-thumbnail" alt="" title="fish" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/loopcoach/' title='LoopCoach'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/LoopCoach-200x150.jpg" class="attachment-thumbnail" alt="" title="LoopCoach" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/talkmore/' title='talkmore'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/talkmore-200x150.png" class="attachment-thumbnail" alt="" title="talkmore" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/inkd/' title='inkd'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/inkd-200x150.png" class="attachment-thumbnail" alt="" title="inkd" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/minimum/' title='minimum'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/minimum-200x150.jpg" class="attachment-thumbnail" alt="" title="minimum" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/wiesinger/' title='Wiesinger'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/Wiesinger-200x150.jpg" class="attachment-thumbnail" alt="" title="Wiesinger" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/spokelogo/' title='spokelogo'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/spokelogo-200x150.jpg" class="attachment-thumbnail" alt="" title="spokelogo" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/fido/' title='fido'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/fido-200x150.jpg" class="attachment-thumbnail" alt="" title="fido" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/look/' title='look'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/look-200x150.jpg" class="attachment-thumbnail" alt="" title="look" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/more/' title='more'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/more-200x150.jpg" class="attachment-thumbnail" alt="" title="more" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/urbanarchitechture/' title='UrbanArchitechture'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/UrbanArchitechture-200x150.png" class="attachment-thumbnail" alt="" title="UrbanArchitechture" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/playground/' title='playground'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/playground-200x150.jpg" class="attachment-thumbnail" alt="" title="playground" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/marriage/' title='marriage'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/marriage-200x150.jpg" class="attachment-thumbnail" alt="" title="marriage" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/burn/' title='burn'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/burn-200x150.png" class="attachment-thumbnail" alt="" title="burn" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/bigshift/' title='bigshift'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/bigshift-200x150.gif" class="attachment-thumbnail" alt="" title="bigshift" /></a>
<a href='http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/attachment/play/' title='play'><img width="200" height="150" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/play-200x150.jpg" class="attachment-thumbnail" alt="" title="play" /></a>

<h3>Last but not the least</h3>
<p>I spent more than 3 hours in searching for such logos, browsed 100s of pages, so please help us spread the link by ReTweeting and Digging the article. If you think that I have missed a logo, that should have been in the list, post the link in comments, I&#8217;ll be more than happy to add that in the list.</p>
<p><strong>Credits</strong><br />
Following websites were great source of help in compiling above list.</p>
<ul>
<li><a rel="external nofollow" href="http://creattica.com">creattica.com</a></li>
<li><a rel="external nofollow" href="http://logopond.com">logopond.com</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/smashingthemes/~4/ypgzBhqr3As" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.smashingthemes.com/blog/40-killer-logos-based-on-text/</feedburner:origLink></item>
		<item>
		<title>Themes downloaded 175+ times</title>
		<link>http://feedproxy.google.com/~r/smashingthemes/~3/NQ_LBnaJUxU/</link>
		<comments>http://www.smashingthemes.com/blog/themes-downloaded-175-times/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 05:07:27 +0000</pubDate>
		<dc:creator>designcode</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[News and Announcements]]></category>
		<category><![CDATA[WordPress Themes]]></category>

		<guid isPermaLink="false">http://www.smashingthemes.com/?p=313</guid>
		<description><![CDATA[Thank you all for liking our free wordpress themes. Just in a short time of 20 days, all of our free wordpress themes were downloaded 175+ times. Following are statistics,

    * Dark Side Theme (100)
    * Dark Side Theme (15)
    * Dark Side Theme (16)
    * Enlighten Theme (37)
    * Enlighten Theme (12)

We are working on two new free wordpress themes, which we are planning to release next Month. We will soon post the screenshots.]]></description>
			<content:encoded><![CDATA[<p>Thank you all for liking our free wordpress themes. Just in a short time of 20 days, all of our free wordpress themes were downloaded 175+ times. Following are statistics,</p>
<ul class="downloadList">
<li><a href="http://www.smashingthemes.com/downloads/darkside2.0.zip" title="Version 2.0 downloaded 380 times - Added 2nd Aug 2009" >Dark Side Theme (380)</a></li>
<li><a href="http://www.smashingthemes.com/downloads/darkside2.0.rar" title="Version 2.0 downloaded 253 times - Added 2nd Aug 2009" >Dark Side Theme (253)</a></li>
<li><a href="http://www.smashingthemes.com/downloads/darkside.zip" title="Version 1.0 downloaded 192 times - Added 2nd Aug 2009" >Dark Side Theme (192)</a></li>
<li><a href="http://www.smashingthemes.com/downloads/enlighten.zip" title="Version  downloaded 148 times - Added 2nd Aug 2009" >Enlighten Theme (148)</a></li>
<li><a href="http://www.smashingthemes.com/downloads/enlighten.rar" title="Version  downloaded 200 times - Added 2nd Aug 2009" >Enlighten Theme (200)</a></li>
<li><a href="http://www.smashingthemes.com/downloads/glassical.zip" title="Version 1 downloaded 2928 times - Added 5th Nov 2009" >Glassical (2928)</a></li>
<li><a href="http://www.smashingthemes.com/downloads/screenshots-and-release-image.zip" title="Version  downloaded 78 times - Added 5th Nov 2009" >Screenshots (78)</a></li>
</ul>
<p>We are working on two new free wordpress themes, which we are planning to release next Month. We will soon post the screenshots.</p>
<img src="http://feeds.feedburner.com/~r/smashingthemes/~4/NQ_LBnaJUxU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.smashingthemes.com/blog/themes-downloaded-175-times/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.smashingthemes.com/blog/themes-downloaded-175-times/</feedburner:origLink></item>
		<item>
		<title>WordPress custom fields: Usage and Tips</title>
		<link>http://feedproxy.google.com/~r/smashingthemes/~3/ULTFiR68Xvw/</link>
		<comments>http://www.smashingthemes.com/blog/wordpress-custom-fields-usage-and-tips/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 18:45:51 +0000</pubDate>
		<dc:creator>designcode</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[custom fields]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.smashingthemes.com/?p=274</guid>
		<description><![CDATA[WordPress allows the authors to attach the extra fields. These custom fields are basically the random data that you don't to mix with the Post text.  For instance you want to add a thumbnail to each post or want to display your Mood  at the end of every post. In this tutorial, I am going to show you how can add Custom Fields, and then use it in your Themes. I will also add some examples to make you understand in a more better way.

You can add a custom field when writing a new Page/Post or editing an existing Page/Post. There is a whole section with the name Custom Fields in that Page, look at the image below.]]></description>
			<content:encoded><![CDATA[<p>WordPress allows the authors to attach the extra fields. These custom fields are basically the random data that you don&#8217;t to mix with the Post text. For instance you want to add a thumbnail to each post or want to display your Mood at the end of every post. In this tutorial, I am going to show you how can add Custom Fields, and then use it in your Themes. I will also add some examples to make you understand in a more better way.</p>
<h3>How to add Custom Field?</h3>
<p>You can add a custom field when writing a new Page/Post or editing an existing Page/Post. There is a whole section with the name Custom Fields in that Page, look at the image below.</p>
<p><a href="http://www.smashingthemes.com/wp-content/uploads/2009/08/custom_fields_2.jpg" rel="external nofollow"><img class="alignnone size-full wp-image-277" title="custom_fields_2" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/custom_fields_2.jpg" alt="custom_fields_2" /></a></p>
<p>As you can see there are two things in the section. First <strong>Name</strong> of the Custom Field and second is the <strong>Value</strong> of Custom Field. Let say you want to add a thumbnail to your post, enter &#8220;<strong>tn</strong>&#8221; in <strong>Name field</strong> and the url of the thumbnail in the <strong>Value Field</strong>. Look at the image below.</p>
<p><a href="http://www.smashingthemes.com/wp-content/uploads/2009/08/custom_fields_3.jpg" rel="external nofollow"><img class="alignnone size-full wp-image-282" title="custom_fields_3" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/custom_fields_3.jpg" alt="custom_fields_3" /></a></p>
<p>Now click the Add Custom Field button. Congratulations, you have added the custom field. It was pretty simple wasn&#8217;t it? One thing important that I&#8217;d like to tell you that you can use the same name for multiple custom fields. For instance, if you want two thumbnails to be added as custom fields, you can either use two different names (tn1 and tn2) for both images or you can us &#8220;<strong>tn</strong>&#8221; for both fields.</p>
<p>Once you have added the Custom Field, WordPress starts showing the most used Custom Fields Names in a drop down box in the custom field section, if you want to enter a new Name, you can click the enter new link, that will allow you to add a new Name.</p>
<p><a href="http://www.smashingthemes.com/wp-content/uploads/2009/08/custom_fields_4.jpg" rel="external nofollow"><img class="alignnone size-full wp-image-283" title="custom_fields_4" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/custom_fields_4.jpg" alt="custom_fields_4" /></a></p>
<h3>How to use Custom Fields in the Themes</h3>
<p>Now you&#8217;ve added your Custom Fields, questions is how you can use those fields inside your theme. You can use the following two functions in order to retreive key values.</p>
<ul>
<li><strong>get_post_meta</strong></li>
<li><strong>get_post_custom_values</strong></li>
</ul>
<p>I recommend using <strong>get_post_custom_values</strong> because this function is useful if you wish to access a custom field that is not unique, ie. has more than 1 value associated with it. Also use this function inside <a href="http://codex.wordpress.org/The_Loop" rel="external nofollow">The Loop</a>. Now lets see how we will get the thumbnail values we set when writing the post,</p>
<pre name="code" class="php">while (have_posts()) :
	the_post();
	$tn = get_post_custom_values("tn");
	print '&lt;img src="$tn[0]" alt="Thumbnail" /&gt;';
endwhile;</pre>
<h3>Practical Uses of Custom Fields</h3>
<p>There are literally hundreds of usage of custom fields. Guys have used it in plugins, the famous WP Post Rating also utilizes custom fields. Following are a few examples,</p>
<p><strong>1- Post Thumbnails</strong><br />
This is the best and most common use of custom field (in my opinion). A thumbnail adds a value to your layout and post itself. Many blogs shows small images with post excerpts. A few examples are <a href="http://www.doshdosh.com" rel="external nofollow">DoshDosh.com</a>, <a href="http://www.hongkiat.com/blog/category/photoshop-tutorial/" rel="external nofollow">Hongkiat.com</a> Smashing Theme&#8217;s blog also uses the Custom Fields to display thumbnails against each post. You can see a live preview <a href="http://www.smashingthemes.com/blog/">here</a>.</p>
<p>In order to show a thumbnails, go to &#8220;<strong>Media Library</strong>&#8221; and upload the thumbnail you want to use. Now add a custom field with name <strong>thumbnail</strong> and in value of the field, enter the URL of image you just uploaded.</p>
<p>Open your theme files (index.php, archive.php, category.php or single.php) and get the value of thumbnail and print that in image&#8217;s <strong>src</strong> attribute,</p>
<pre name="code" class="php">while (have_posts()) :
	the_post();
	$thumbnail = get_post_custom_values("thumbnail");
	print '&lt;img src="$thumbnail[0]" alt="Thumbnail" /&gt;';
endwhile;</pre>
<p><strong>2- Show specific posts on Home Page</strong><br />
You are running your portfolio on a WordPress powered website and you want to show your featured work on the home page. You can do the trick with the help of Custom Fields. Edit the post you wants to show on home page and add a custom field, call it &#8220;<strong>featured</strong>&#8221; and set its value to &#8220;<strong>true</strong>&#8220;. Open index.php in your theme&#8217;s folder and right after the call of <strong>get_header();</strong> function, put the following code</p>
<pre name="code" class="php">get_header();
query_posts('meta_key=featured&amp;meta_value=true');</pre>
<p>This code will only fetch the posts that has the <strong>featured</strong> custom field. You can also limit the number of posts fetched here by using <strong>showpost</strong> parameter. You code should look like</p>
<pre name="code" class="php">get_header();
query_posts('showposts=X&amp;meta_key=featured&amp;meta_value=true');</pre>
<p>Replace the X with the number of posts you want to show on home page.</p>
<p>There are many other usages of custom fields which I am going to share with you soon in another post. I hope you found the above tips and tricks useful. BTW I am master in typo mistakes, if you find (I am sure you will) please let me know <img src='http://www.smashingthemes.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/smashingthemes/~4/ULTFiR68Xvw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.smashingthemes.com/blog/wordpress-custom-fields-usage-and-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.smashingthemes.com/blog/wordpress-custom-fields-usage-and-tips/</feedburner:origLink></item>
		<item>
		<title>How not to get more twitter followers</title>
		<link>http://feedproxy.google.com/~r/smashingthemes/~3/DC7wLw363DY/</link>
		<comments>http://www.smashingthemes.com/blog/how-not-to-get-more-twitter-followers/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 19:42:56 +0000</pubDate>
		<dc:creator>designcode</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://www.smashingthemes.com/?p=236</guid>
		<description><![CDATA[There are many comprehensive guides on how you can get more followers to your Twitter account. Following are a few examples.

But there are still some ways that you should avoid on all cost even if those methods are getting you loads of followers. A few days ago, a friend of mine on Facebook posted a link of site tweeterfollow.com, with title get 500 followers a day. Out of curiosity, I went to the site and saw a simple login form, but before blindly signing in with my Twitter account, I thought I should look their terms and privacy policy. I found a link with title Rules located at tweeterfollow.com/rules.php. I was stunned after looking their RULES, read yourself and you'll be stunned yourself.]]></description>
			<content:encoded><![CDATA[<p>There are many comprehensive guides on how you can get more followers to your Twitter account. Following are a few examples.</p>
<ul>
<li><a href="http://www.doshdosh.com/how-to-get-more-twitter-followers/" rel="external nofollow">How to Get More Twitter Followers: Some Methods That Work</a> by Dosh Dosh</li>
<li><a href="http://www.techcrunch.com/2009/01/25/kevin-rose-10-ways-to-increase-your-twitter-followers/" rel="external nofollow">Kevin Rose: 10 Ways To Increase Your Twitter Followers</a> by Kevin Rose of Digg</li>
</ul>
<p>But there are still some ways that you should avoid on all cost even if those methods are getting you loads of followers. A few days ago, a friend of mine on Facebook posted a link of site <strong>tweeterfollow.com</strong>, with title <strong>get 500 followers a day</strong>. Out of curiosity, I went to the site and saw a simple login form, but before blindly signing in with my Twitter account, I thought I should look their terms and privacy policy. I found a link with title <strong>Rules</strong> located at <strong>tweeterfollow.com/rules.php</strong>. I was stunned after looking their <strong>RULES</strong>, read yourself and you&#8217;ll be stunned yourself.</p>
<ol>
<li>You have to add all vip users and 20 regular users to join the train.</li>
<li><span style="color: #ff0000;"><strong>We may use your account to promote our services, with the exception of VIP account.</strong></span></li>
<li>The fee for VIP is non-refundable.</li>
<li>After payment, give us up to 6 hours to update your VIP status.</li>
</ol>
<p>Yes you read it right. They may use your account to promote their accounts. First of all why on Earth they are storing users password when they are using the APIs? Secondly they are saving your passwords un-encrypted. I run a search on Internet about this website and found some horror stories. On GetSatisfaction.com, one person is saying,</p>
<blockquote><p>How can I unsubscribe to tweeterfollow.com?  There is not option for me to opt out.</p></blockquote>
<p>Another guys is having a much big trouble.</p>
<blockquote><p>I&#8217;m with you&#8230;I &#8220;unsubscribed&#8221; and changed my password on Twitter, and now I&#8217;m locked out of my Twitter account because I have too many attempts&#8230;I can only assume all the attempts are tweeterfollow trying to log in under my username and password!!! Ugh!</p></blockquote>
<p>So beware, not only for this website but any other website that is asking for your other website login credentials. BTW, tweeteradder.com is another third class hijacking service.</p>
<img src="http://feeds.feedburner.com/~r/smashingthemes/~4/DC7wLw363DY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.smashingthemes.com/blog/how-not-to-get-more-twitter-followers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.smashingthemes.com/blog/how-not-to-get-more-twitter-followers/</feedburner:origLink></item>
		<item>
		<title>How to remove categories from the_category function in Wordpress</title>
		<link>http://feedproxy.google.com/~r/smashingthemes/~3/SXDEW5HcGs0/</link>
		<comments>http://www.smashingthemes.com/blog/how-to-remove-categories-from-the_category-function-in-wordpress/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 18:30:31 +0000</pubDate>
		<dc:creator>designcode</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.smashingthemes.com/?p=224</guid>
		<description><![CDATA[You might needed this hack if you want to use a single installation of WordPress for multiple sections. <a href="http://codex.wordpress.org/Template_Tags/the_category" rel="external nofollow">the_category()</a> is <a href="http://codex.wordpress.org/Template_Tags" rel="external nofollow">WordPress Template Tag</a> that displays a link to the category or categories a post belongs to. If you want to eliminate a specific category from the string returned by <strong>the_category</strong>, you can use the <a href="http://codex.wordpress.org/Function_Reference/add_filter" rel="external nofollow">add_filter()</a> to achieve that.

For Instance you don't want to show the category <strong>Uncategorized</strong> and <strong>Private</strong>, in order to do so first put the paste code at the end of your <a href="http://codex.wordpress.org/Theme_Development#Theme_Functions_File" rel="external nofollow">functions.php</a> located in your current theme folder.]]></description>
			<content:encoded><![CDATA[<p>You might needed this hack if you want to use a single installation of WordPress for multiple sections. <a href="http://codex.wordpress.org/Template_Tags/the_category" rel="external nofollow">the_category()</a> is <a href="http://codex.wordpress.org/Template_Tags" rel="external nofollow">WordPress Template Tag</a> that displays a link to the category or categories a post belongs to. If you want to eliminate a specific category from the string returned by <strong>the_category</strong>, you can use the <a href="http://codex.wordpress.org/Function_Reference/add_filter" rel="external nofollow">add_filter()</a> to achieve that.</p>
<p>For Instance you don&#8217;t want to show the category <strong>Uncategorized</strong> and <strong>Private</strong>, in order to do so first put the paste code at the end of your <a href="http://codex.wordpress.org/Theme_Development#Theme_Functions_File" rel="external nofollow">functions.php</a> located in your current theme folder.</p>
<pre name="code" class="php">
function the_category_filter($thelist,$separator=' ') {
	if(!defined('WP_ADMIN')) {
		//Category Names to exclude
		$exclude = array('Uncategorized', 'Private');

		$cats = explode($separator,$thelist);
		$newlist = array();
		foreach($cats as $cat) {
			$catname = trim(strip_tags($cat));
			if(!in_array($catname,$exclude))
				$newlist[] = $cat;
		}
		return implode($separator,$newlist);
	} else {
		return $thelist;
	}
}
add_filter('the_category','the_category_filter', 10, 2);
</pre>
<p>The above code will exclude the categories you added in <strong>$exclude</strong> on <strong>line 4</strong>. Now if you want to eliminate the categories on base of <strong>Category ID</strong> instead of <strong>Category Name</strong> (which, in my opinion is a better approach), you&#8217;ll need the following code.</p>
<pre name="code" class="php">
function the_category_filter($thelist,$separator=' ') {
	if(!defined('WP_ADMIN')) {
		//Category IDs to exclude
		$exclude = array(1,5);

		$exclude2 = array();
		foreach($exclude as $c) {
			$exclude2[] = get_cat_name($c);
		}

		$cats = explode($separator,$thelist);
		$newlist = array();
		foreach($cats as $cat) {
			$catname = trim(strip_tags($cat));
			if(!in_array($catname,$exclude2))
				$newlist[] = $cat;
		}
		return implode($separator,$newlist);
	} else {
		return $thelist;
	}
}
add_filter('the_category','the_category_filter', 10, 2);
</pre>
<p>On <strong>line 4</strong>, you can put the <strong>Category IDs</strong> you wants to eliminate.<br />
Happy Blogging!</p>
<img src="http://feeds.feedburner.com/~r/smashingthemes/~4/SXDEW5HcGs0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.smashingthemes.com/blog/how-to-remove-categories-from-the_category-function-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		<feedburner:origLink>http://www.smashingthemes.com/blog/how-to-remove-categories-from-the_category-function-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>Points to consider before choosing web hosting</title>
		<link>http://feedproxy.google.com/~r/smashingthemes/~3/7CyGTuDLuSQ/</link>
		<comments>http://www.smashingthemes.com/blog/points-to-consider-before-choosing-web-hosting/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 11:38:08 +0000</pubDate>
		<dc:creator>designcode</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Web Hosting and Domains]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.smashingthemes.com/?p=196</guid>
		<description><![CDATA[Choosing the company that is going to hold and save you website data is one of the most critical part. If you really want to grow yourself online and you are serious with your online business, then web hosting is the first thing you should really worry about. You can actually get the good web hosting easily if you have big money but with limited budget, its pretty hard to find the honest hosting. I can still remember my first website, how it gain the popularity and traffic and how it went down (thanks to the cheap hosting). In the last 6 years, I tried several web hosting services, from local web hosting providers to many renowned companies. Most of those were a nightmare. I want to share a few points which I learned in the past  years.]]></description>
			<content:encoded><![CDATA[<p>First thing you should know about this post is, THIS IS <span style="font-weight: bold; color: #ff0000;">NOT</span> A PAID REVIEW OR POST OR WHATEVER. This articles is based on my experience over the past 4 years.</p>
<p>Choosing the company that is going to hold and save you website data is one of the most critical part. If you really want to grow yourself online and you are serious with your online business, then web hosting is the first thing you should really worry about. You can actually get the good web hosting easily if you have big money but with limited budget, its pretty hard to find the honest hosting. I can still remember my first website, how it gain the popularity and traffic and how it went down (thanks to the cheap hosting). In the last 6 years, I tried several web hosting services, from local web hosting providers to many renowned companies. Most of those were a nightmare. I want to share a few points which I learned in the past  years.</p>
<h3>1- CHEAP HOSTING (beware of this phrase)</h3>
<p>Most of the people steps into WWW world, search for web hosting with this keyword and they get loads of results. Many companies claiming on their website that offer ultra cheap hosting with excellent support and blah blah. What does that exactly mean? What does they mean when they say <strong>cheap</strong>? Their service, support or what? Let me tell you one thing, bandwidth is not free. That is bought for money so did other stuff like space etc. You could find many hosting companies offering 5GB storage space and 50 GB of data transfer for just 2$s per month. Trust me if you know about server things, this will look like a joke to you. A few popular one even offer <strong>UNLIMITED STORAGE SPACE AND UNLIMITED BANDWIDTH</strong>. What they don’t mention in the feature chart is the CPU and RAM usage you are allowed to use. They tell you about this when you see a page instead of  your website, that says</p>
<blockquote><p>You’re site is suspended due to violation of our terms of our services.</p></blockquote>
<p>What the hell??? You worked hard to build the traffic for your website and when traffic started to arrive, they put this page. You email hosting support and they tell that your website was using high amount of CPU and RAM.</p>
<p>You need to understand here that you can’t use all the unlimited bandwidth or even 50 GB, because if you’re site is getting that much traffic, their server can’t bear that much traffic, and its time for you upgrade.</p>
<p><strong>Conclusion:</strong> Before buying cheap hosting (cheap in terms of price) you should focus on what you exactly needed at the starting stage, not what unlimited stuff they are offering because you’re not going to use their unlimited stuff anyway.</p>
<h3>2- Company Existence</h3>
<p>These days, most of the guys think that web hosting is a good business so they just jump into this field after buying a dedicated server with CPanel and starts advertising their service on various forums etc. What they don’t understand that web hosting is a very complex kind of business and only pros can manage this business. Soon, the server maintenance and other things starts to become out of their control and you wake up one day to see your website gone from the WWW world.</p>
<p><strong>Conclusion:</strong> Better check if the hosting company have a physical address and a phone number so that you have surety that you bought the service from some real world people.</p>
<h3>3- Read Reviews before buying</h3>
<p>You found a web hosting company, their website is just awesome, cool looking and all that. They’re offering almost all the things you needed. You emailed the support your queries, got reply from ‘em in 1 hour. You are impressed and you think you’re ready to buy. This is where you are committing a mistake, they’re not cool just because they look cool to you. Many people are annoyed with them already. Fortunately, there are many honest websites on Internet that are community driven and have bunch of discussions on web hosting. <a href="http://www.webhostingtalk.com/" rel="external nofollow">Webhostingtalk.com</a>, <a href="http://reviews.cnet.com/web-hosting/" rel="external nofollow">CNET webhosting reviews</a>, <a href="http://webhostingunleashed.com/" rel="external nofollow">webhostingunleashed.com</a> are one of those websites. Before you place an order, do a strong search on these websites to check what other people are saying.</p>
<p><strong>Conclusion:</strong> Be patient. See what are the opinions of their customers.</p>
<h3>4- Bandwidth</h3>
<p>According to <a href="http://gigaom.com/2008/05/11/the-rising-cost-of-facebook-infrastructure/" rel="external nofollow">this link</a>, Facebook is spending $7.8 Million per year on their bandwidth. Bandwidth is one of the core of the hosting business, 90% hosting companies actually resell bandwidth.</p>
<p>Lets suppose you find a hosting company that is real, now the problem which rises here is that they’ll gonna take good care of bandwidth. At this point you have to be aware that how they charge for the bandwidth. Most of the companies start charging big amount after you have used your monthly quota. For example you were allotted a quota of 300 GB of data transfer per month for lets say 50$s per moth, at the end of the month you have already used 325 GB of bandwidth. Now you’re thinking they’ll charge you a few extra bucks for the extra bandwidth you used. <strong>You are terribly wrong</strong>. They could charge you 1$ for each extra GB you have used. This is true, I have experience this case in the past. Following is the screen shot of the Invoice I received at the end of the month from my hosting company.</p>
<p><a href="http://www.smashingthemes.com/wp-content/uploads/2009/08/invoice.jpg" rel="external nofollow"><img class="alignnone size-full wp-image-323" title="invoice" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/invoice.jpg" alt="invoice" /></a></p>
<p>This invoice was a nightmare to me, I thought I’d lost all the profit I earned from my websites. However I emailed the support and asked why on earth they didn’t informed me that I have already used my quota and put the bandwidth exceed page when I used all my bandwidth. They told me that they know that for a customer website up-time is very important and many other reasons, however I end up paying 250 USD, terminated the hosting contract and closed my websites.</p>
<p>Another blunder that I did was not checking my bandwidth meter, not checking the right meter to be more precise. I was checking the bandwidth usage at AWSTATS provided by CPanel and I was good according to that. However the AWSTATS doesn’t show the total Inbound + Outbound traffic. In most of the cases you don’t have to worry about inbound bandwidth as its consumption is usually very low (FTP, file uploads etc) but I was running proxy websites so my inbound bandwidth consumption was almost equal to that of outbound. So together, it made a huge number and huge problem for me <img src='http://www.smashingthemes.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p><strong>Conclusion:</strong> You should know how much bandwidth you’re going to use and keep an eye on your bandwidth meter and upgrade to the right account before you have to pay the big amount.</p>
<h3>5- Are you buying the right package?</h3>
<p>If you have bought a package that was smaller than your usage, you’ll know that soon (your host will shut your site). You can’t run proxy or social networking websites with good traffic on a shared hosting. But make sure you’re not buying something that you’ll never use. Like buying a VPS for just running 2-3 directory websites or a small ecommerce website, or you are wasting your money.</p>
<p><strong>Conclusion:</strong> Don’t waste your money or website by purchasing hosting services that is bigger or smaller than your needs.</p>
<h3>Some Recommended Companies</h3>
<p>With all these hosting scams around, there are still companies that take your business seriously. Following are a few web hosting companies that I will suggest based on what kind of hosting you needed. Please note that none of the following urls have any kind of affiliate or referral links.</p>
<h6>Shared Hosting:</h6>
<p><a href="http://www.exabytes.com/" rel="external nofollow">ExaBytes.com</a><br />
<a href="http://www.hostgator.com/" rel="external nofollow">HostGator.com</a><br />
<a href="http://www.bluehost.com/" rel="external nofollow">BlueHost.com</a><br />
<a href="http://www.wpwebhost.com/" rel="external nofollow">WP Webhost</a></p>
<h6>Reseller Hosting:</h6>
<p><a href="http://www.exabytes.com/" rel="external nofollow">ExaBytes.com</a></p>
<h6>VPS / Semi Dedicated Server:</h6>
<p><a href="http://www.a2b2.com/" rel="external nofollow">A2B2.com</a><br />
<a href="http://www.slicehost.com/" rel="external nofollow">SliceHost.com</a><br />
<a href="http://www.liquidweb.com/" rel="external nofollow">LiquidWeb</a></p>
<h6>Dedicated Server:</h6>
<p><a href="http://www.layeredtech.com/" rel="external nofollow">LayeredTech.com</a><br />
<a href="http://www.rackspace.com/" rel="external nofollow">RackSpace.com</a><br />
<a href="http://www.datapipe.net/" rel="external nofollow">Datapipe.net</a></p>
<p>I have used all the above web hosting services either personally or for my clients and I found their service reliable and honest. I hope this article will help you from stumbling into the problems that I faced when I started.</p>
<img src="http://feeds.feedburner.com/~r/smashingthemes/~4/7CyGTuDLuSQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.smashingthemes.com/blog/points-to-consider-before-choosing-web-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.smashingthemes.com/blog/points-to-consider-before-choosing-web-hosting/</feedburner:origLink></item>
		<item>
		<title>10 best WordPress social network plugins</title>
		<link>http://feedproxy.google.com/~r/smashingthemes/~3/rI87G_lnhus/</link>
		<comments>http://www.smashingthemes.com/blog/10-best-wordpress-social-network-plugins/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 15:31:35 +0000</pubDate>
		<dc:creator>designcode</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.smashingthemes.com/?p=181</guid>
		<description><![CDATA[If you go for searching for Twitter or Flickr plugins, you can literally finds 100s. But its hard to check every tool one by one and then select.

Some plugins are really easy to use but not all plugins are made with ease of use in mind. I am sharing a list of plugins that can be used to interact with your social networking accounts and contacts. They are easy and don't sucks.]]></description>
			<content:encoded><![CDATA[<p>If you go for searching for Twitter or Flickr plugins, you can literally finds 100s. But its hard to check every tool one by one and then select. Some plugins are really easy to use, but not all plugins are made with ease of use in mind. I am sharing a list of plugins that can be used to interact with your social networking accounts and contacts. They are easy and don&#8217;t sucks.</p>
<h3><a href="http://wordpress.org/extend/plugins/easy-retweet/" rel="external nofollow">1- Easy Retweet</a></h3>
<p>Easy ReTweet is a WordPress Plugin, which let’s you add retweet or Tweet this buttons for your WordPress posts, together with the retweet count. In my opinion its one of the best plugin to get traffic from Twitter to your posts. This plugin allows freedom of usage and can be used in three ways. Checkout the plugin page for more information.</p>
<h3><a href="http://wordpress.org/extend/plugins/wp-to-twitter/" rel="external nofollow">2- WP to Twitter</a></h3>
<p>The WP-to-Twitter plugin posts a Twitter status update from your WordPress blog using the Cli.gs URL shortening service to provide a link back to your post from Twitter. This way you don&#8217;t have to update your Twitter status manually after publishing a post.</p>
<h3><a href="http://wordpress.org/extend/plugins/twitter-blog/" rel="external nofollow">3- Twitter Blog</a></h3>
<p>Twitter Blog will not only tweet about your blog post, but it will also check hourly for public replies to that tweet and add them as comments to your post. That enables you to convert your WordPress blog into twitter powered micro-blog.</p>
<h3><a href="http://wordpress.org/extend/plugins/share-this/" rel="external nofollow">4- Share This</a></h3>
<p>The ShareThis WordPress plugin provides a simple way for users to add your post to many social bookmarking sites, or to send a link to your post via email, AIM, Facebook, Twitter and more.</p>
<h3><a href="http://wordpress.org/extend/plugins/friendfeed-widget/" rel="external nofollow">5- FriendFeed Widget</a></h3>
<p>This plugin allows you to add a sidebar widget to your theme where you can show a list of your recent online activity, with the data provided by Friendfeed.</p>
<h3><a href="http://wiki.developers.facebook.com/index.php/WP-FBConnect" rel="external nofollow">6- WP-FacebookConnect</a></h3>
<p>WP-FacebookConnect adds Facebook functionality to WordPress using the Facebook Connect APIs. It provides single sign-on, avatars, and News Feed publication of comments. While this plugin brings a tremendous functionality to your blog, be advised that is requires some changes in your theme files.</p>
<h3><a href="http://rick.jinlabs.com/code/twitter" rel="external nofollow">7- Twitter for Wordpress</a></h3>
<p>Twitter for WordPress displays yours latest tweets in your WordPress blog. Its simple, customizable and widget ready. Simply upload plugin in your plugin directory, activate plugin and you are ready to go. If you use WordPress widgets, just drag the widget into your sidebar and configure, otherwise you just have to use small code in your theme to display your public Twitter messages.</p>
<h3><a href="http://eightface.com/wordpress/flickrrss/" rel="external nofollow">8- flickr RSS</a></h3>
<p>This plugin for WordPress allows you to display Flickr photos on your weblog. It supports user, set, favorite, group and community photostreams, and is relatively easy to setup and configure via a settings panel. The plugin also has cache support, allowing you to save thumbnails on your own server. This plugin is also widget ready, which means you can simply drag the widget into your sidebar and show your Flickr photos on your blog.</p>
<h3><a href="http://wordpress.org/extend/plugins/wordpress-flickr-manager/" rel="external nofollow">9- WordPress Flickr Manager</a></h3>
<p>Inserting images into posts could never have been easier. If you have installed this plugin you can use your Flickr photos in your post directly from WordPress. Simply click on an image from the added &#8216;Flickr Manager&#8217; panel on the edit page and it will automatically be inserted into your post.</p>
<h3><a href="http://rick.jinlabs.com/code/delicious/" rel="external nofollow">10- del.icio.us for WordPress</a></h3>
<p>del.icio.us for WordPress displays your latest del.icio.us bookmarks in your WordPress blog. Written by the same guy who wrote <a href="http://rick.jinlabs.com/code/twitter" rel="external nofollow">Twitter for Wordpress</a>, shares all the properties of that plugin. Easy to use and widget ready. If you are a Delicious addict and wanna show off, that plugin even supports multiple widgets.</p>
<img src="http://feeds.feedburner.com/~r/smashingthemes/~4/rI87G_lnhus" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.smashingthemes.com/blog/10-best-wordpress-social-network-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.smashingthemes.com/blog/10-best-wordpress-social-network-plugins/</feedburner:origLink></item>
		<item>
		<title>Free WordPress themes based on themes</title>
		<link>http://feedproxy.google.com/~r/smashingthemes/~3/OhNrTN_8YVo/</link>
		<comments>http://www.smashingthemes.com/blog/free-wordpress-themes-based-on-themes/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 08:50:16 +0000</pubDate>
		<dc:creator>designcode</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://www.smashingthemes.com/?p=153</guid>
		<description><![CDATA[Yes you read it right, that isn't a typo error. There title reads "<strong>WordPress themes based on themes</strong>". The best part of the WordPress is its Themes. You can port your WordPress blog to work as any kind of website just using Themes. Some designers have gone beyond the simple themes, they adopted the look and feel from famous web apps, browser and created the WordPress themes upon those designs. I know there are many other CNN and Magazine themes but those are not free ones. In this post, I am going to share a free themes.]]></description>
			<content:encoded><![CDATA[<p>Yes you read it right, that isn&#8217;t a typo error. The title reads &#8220;<strong>WordPress themes based on themes</strong>&#8220;. The best part of the WordPress is its Themes. You can port your WordPress blog to work as any kind of website just using Themes. Some designers have gone beyond the simple themes, they adopted the look and feel from famous web apps, browsers, even desktop applications and created the WordPress themes upon those designs. Here are a few of those themes.</p>
<h3><a href="http://foxinni.com/my-themes/facebook-layouts-wordpress-theme/" rel="external nofollow">Facebook Theme</a></h3>
<p>First and foremost, everyone&#8217;s addiction Facebook&#8217;s Theme. The genius guy at <a href="http://foxinni.com">foxinni.com</a> have created this tremendous theme.<br />
<a href="http://foxinni.com/my-themes/facebook-layouts-wordpress-theme/" rel="external nofollow"><img class="alignnone size-full wp-image-162 mb" title="Facebook WordPress Theme" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/fb.jpg" alt="Facebook WordPress Theme" /></a></p>
<h3><a href="http://ericulous.com/2008/09/09/wp-theme-google-chrome/" rel="external nofollow">Google Chrome Theme</a></h3>
<p>A lightweight theme based on the highly coveted Google Chrome browser.<br />
<a href="http://ericulous.com/2008/09/09/wp-theme-google-chrome/" rel="external nofollow"><img class="alignnone size-full wp-image-162" title="Google Chrome WordPress Theme" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/chrome.jpg" alt="Google Chrome WordPress Theme" /></a></p>
<h3><a href="http://freshpressthemes.com/blog/twitter-wordpress-theme/" rel="external nofollow">Twitter Theme</a></h3>
<p>This is one of the best adopted theme. It’s a very clean and simple theme, the major thing you will notice here is that the comment textarea comes before the comments itself like Twitter.<br />
<a href="http://freshpressthemes.com/blog/twitter-wordpress-theme/" rel="external nofollow"><img class="alignnone size-full wp-image-162" title="Twitter WordPress Theme" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/twitter.jpg" alt="Twitter WordPress Theme" /></a></p>
<h3><a href="http://www.vcars.co.uk/wordpress-themes/themes/digg-like/digg-like-instructions.php" rel="external nofollow">Digg Theme</a></h3>
<p>This theme is based on the massive social media site Digg, designed by VCARS. There are a range of awesome features, along with step-by-step instructions on how to install all the plugins.<br />
<a href="http://www.vcars.co.uk/wordpress-themes/themes/digg-like/digg-like-instructions.php" rel="external nofollow"><img class="alignnone size-full wp-image-162" title="Digg WordPress Theme" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/digg.jpg" alt="Digg WordPress Theme" /></a></p>
<h3><a href="http://ericulous.com/2009/03/18/wp-theme-woogle-the-google-search-engine-clone/" rel="external nofollow">Google Theme</a></h3>
<p>It’s a Google Search Engine(GSE) packaged in a WordPress theme! At the first glance you won&#8217;t be able to recognize if you&#8217;re not watching the google search result page.<br />
<a href="http://ericulous.com/2009/03/18/wp-theme-woogle-the-google-search-engine-clone/" rel="external nofollow"><img class="alignnone size-full wp-image-162" title="Google WordPress Theme" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/google.jpg" alt="Google WordPress Theme" /></a></p>
<h3><a href="http://www.codigogeek.com/2008/06/03/msnlog-theme-wordpress-con-estilo-msn/" rel="external nofollow">Windows Live Messenger Theme</a></h3>
<p>WordPress Theme Based on Windows Live Messenger Chat window. Pretty awesome in my opinion.<br />
<a href="http://www.codigogeek.com/2008/06/03/msnlog-theme-wordpress-con-estilo-msn/" rel="external nofollow"><img class="alignnone size-full wp-image-162" title="Windows Live Messenger WordPress Theme" src="http://www.smashingthemes.com/wp-content/uploads/2009/08/msn.jpg" alt="Windows Live Messenger WordPress Theme" /></a></p>
<p>There are many other CNN and Magazine themes available but those are not free ones so those are not included in this post.</p>
<img src="http://feeds.feedburner.com/~r/smashingthemes/~4/OhNrTN_8YVo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.smashingthemes.com/blog/free-wordpress-themes-based-on-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.smashingthemes.com/blog/free-wordpress-themes-based-on-themes/</feedburner:origLink></item>
	</channel>
</rss>
