<?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>Zack Live</title>
	
	<link>http://zacklive.com</link>
	<description>Global Tech &amp; Web2.0 News Headline</description>
	<lastBuildDate>Wed, 11 Nov 2009 06:27:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</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" href="http://feeds.feedburner.com/zacklivewp" type="application/rss+xml" /><feedburner:emailServiceId>zacklivewp</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>LockerZ Offers Free Gifts for Playing Games</title>
		<link>http://feedproxy.google.com/~r/zacklivewp/~3/T_PzHeRwf4A/</link>
		<comments>http://zacklive.com/lockerz-offers-free-gifts-for-playing-games/614/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 04:19:52 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[Web2.0 & Tech]]></category>
		<category><![CDATA[Free iPod]]></category>
		<category><![CDATA[Free MacBook]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Gifts]]></category>
		<category><![CDATA[LockerZ]]></category>

		<guid isPermaLink="false">http://zacklive.com/?p=614</guid>
		<description><![CDATA[
Is it possible to get a free MacBook or iPod for playing games? LockerZ is a new website still in beta version, users of LockerZ gain points(PTZ) via playing games, answer questions and watching videos. These points can be used to change with real gifts, like MacBook, iPod, Wii, Amazon Gift Card and so on. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://zacklive.com/wp-content/uploads/2009/11/lockerz_08.png"></a><a href="http://zacklive.com/wp-content/uploads/2009/11/lockerz_07.png"><img class="aligncenter size-medium wp-image-620" title="lockerz_07" src="http://zacklive.com/wp-content/uploads/2009/11/lockerz_07-450x354.png" alt="lockerz_07" width="450" height="354" /></a></p>
<p>Is it possible to get a <a title="free zacklive" href="http://zacklive.com/tag/free">free</a> MacBook or iPod for playing games? <a title="lockerz free gift" href="http://lockerz.com">LockerZ</a> is a new website still in beta version, users of LockerZ gain points(PTZ) via playing games, answer questions and watching videos. These points can be used to change with real gifts, like MacBook, iPod, Wii, Amazon Gift Card and so on. Check out the list below:</p>
<blockquote><p>Samsung 40&#8243; 1080P / 120Hz / LCD HDTV &#8211; 3200 PTZ<br />
MacBook Air 13&#8243; &#8211; 2500 PTZ<br />
MacBook Pro 13&#8243; &#8211; 1500 PTZ<br />
MacBook 13&#8243; &#8211; 1000 PTZ<br />
iPod Touch 64GB &#8211; 800 PTZ<br />
PSP &#8211; 675 PTZ<br />
Xbox &#8211; 675 PTZ<br />
PS3 &#8211; 625 PTZ<br />
iPod Nano &#8211; 425 PTZ<br />
DSi &#8211; 375 PTZ<br />
iPod Shuffle &#8211; 200 PTZ<br />
iPod Shuffle (1GB) &#8211; 150 PTZ</p></blockquote>
<p>You win PTZ by daily login(2 PTZ), answering questions(2 PTZ) and inviting friends(2 PTZ). For now, you must have invitation to register, if you want to give it a shot, you can comment on this this post, I will send a invitation to your email. It&#8217;s available for global users since October.</p>
<p><span id="more-614"></span></p>
<p>The invitation looks like this one:</p>
<p><a href="http://zacklive.com/wp-content/uploads/2009/11/lockerz_02.png"><img class="aligncenter size-medium wp-image-615" title="lockerz_02" src="http://zacklive.com/wp-content/uploads/2009/11/lockerz_02-450x168.png" alt="lockerz_02" width="450" height="168" /></a>Click on the link to register, after fill in your information, you can start to earn PTZ.</p>
<p><a href="http://zacklive.com/wp-content/uploads/2009/11/lockerz.png"><img class="aligncenter size-medium wp-image-616" title="lockerz" src="http://zacklive.com/wp-content/uploads/2009/11/lockerz-450x332.png" alt="lockerz" width="450" height="332" /></a>Click &#8220;PLAY&#8221; on the bottom, the game will be started, just catch as more PTZ as you can.</p>
<p><a href="http://zacklive.com/wp-content/uploads/2009/11/lockerz_05.png"><img class="aligncenter size-medium wp-image-617" title="lockerz_05" src="http://zacklive.com/wp-content/uploads/2009/11/lockerz_05-450x298.png" alt="lockerz_05" width="450" height="298" /></a>You can find the questions by click on &#8220;DAILIES&#8221; at the right bottom. You can only gain PTZ from the question of today.</p>
<p><a href="http://zacklive.com/wp-content/uploads/2009/11/lockerz_08.png"><img class="aligncenter size-medium wp-image-618" title="lockerz_08" src="http://zacklive.com/wp-content/uploads/2009/11/lockerz_08-450x298.png" alt="lockerz_08" width="450" height="298" /></a>After invited 20 friends, you will be on the Z-List, like a VIP, you will gain twice PTZ, 4 PTZ for a question, for example. I heard that someone from Taiwan had received a $50 iTune Gift Card, let me know if you&#8217;ve got your gift.</p>
<p>This article is also posted on <a title="gearor technology IT news" href="http://gearor.com/lockerz-offers-free-gifts-for-playing-games/80/">Gearor.com</a>.</p>
<img src="http://zacklive.com/?ak_action=api_record_view&id=614&type=feed" alt="" /><div  class="related_post_title">Most Popular Posts</div><ul class="related_post"><li><a href="http://zacklive.com/get-free-flag-counter-for-your-website/223/" title="Get Free Flag Counter for Your Website">Get Free Flag Counter for Your Website</a></li><li><a href="http://zacklive.com/new-black-and-white-wordpress-theme/300/" title="New Black and White WordPress Theme (Updated:05/Nov/09)">New Black and White WordPress Theme (Updated:05/Nov/09)</a></li><li><a href="http://zacklive.com/almost-9000-free-fonts-for-download/204/" title="Almost 9,000 Free Fonts for Download">Almost 9,000 Free Fonts for Download</a></li><li><a href="http://zacklive.com/hello-world-tutorial-for-kohana/15/" title="Hello World Tutorial for Kohana">Hello World Tutorial for Kohana</a></li><li><a href="http://zacklive.com/my-first-wordpress-theme-gray-lines/168/" title="My First WordPress Theme: Gray Lines (Updated:05/Nov/09)">My First WordPress Theme: Gray Lines (Updated:05/Nov/09)</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/PkMnVZnRSaGowbCryn8RBXZ0S4U/0/da"><img src="http://feedads.g.doubleclick.net/~a/PkMnVZnRSaGowbCryn8RBXZ0S4U/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/PkMnVZnRSaGowbCryn8RBXZ0S4U/1/da"><img src="http://feedads.g.doubleclick.net/~a/PkMnVZnRSaGowbCryn8RBXZ0S4U/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/zacklivewp?a=T_PzHeRwf4A:RNuRqMOqqEo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=T_PzHeRwf4A:RNuRqMOqqEo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=T_PzHeRwf4A:RNuRqMOqqEo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=T_PzHeRwf4A:RNuRqMOqqEo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=T_PzHeRwf4A:RNuRqMOqqEo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=T_PzHeRwf4A:RNuRqMOqqEo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=T_PzHeRwf4A:RNuRqMOqqEo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=T_PzHeRwf4A:RNuRqMOqqEo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://zacklive.com/lockerz-offers-free-gifts-for-playing-games/614/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://zacklive.com/lockerz-offers-free-gifts-for-playing-games/614/</feedburner:origLink></item>
		<item>
		<title>Update: BlackNWhite Theme Update 05/November/2009</title>
		<link>http://feedproxy.google.com/~r/zacklivewp/~3/mm-pHrmYD6w/</link>
		<comments>http://zacklive.com/update-blacknwhite-theme-update-05-november-2009/605/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 03:16:03 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[Blockquote]]></category>
		<category><![CDATA[Gray Lines]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Update]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://zacklive.com/?p=605</guid>
		<description><![CDATA[
While updating Gray Lines theme, I also did the same modifications to BlackNWhite theme. Here is the change log:
05/Nov/2009:
Sidebar tabs added for Recent posts, popular posts and recent commentsSidebar tabs added for Recent posts, popular posts and recent comments
New Blockquote Design
Fix a missing “l” in a &#60;li&#62; of sidebar
Codes of blog title and description been [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://zacklive.com/wp-content/uploads/2008/11/blanknwhite.png"><img class="aligncenter size-medium wp-image-304" title="BlacknWhite" src="http://zacklive.com/wp-content/uploads/2008/11/blanknwhite-400x311.png" alt="BlacknWhite" width="400" height="311" /></a></p>
<p>While updating <a title="gray wordpress theme" href="http://zacklive.com/update-graylines-theme-updated-05november2009/599/">Gray Lines theme</a>, I also did the same modifications to BlackNWhite theme. Here is the change log:</p>
<blockquote><p>05/Nov/2009:<br />
Sidebar tabs added for Recent posts, popular posts and recent commentsSidebar tabs added for Recent posts, popular posts and recent comments<br />
New Blockquote Design<br />
Fix a missing “l” in a &lt;li&gt; of sidebar<br />
Codes of blog title and description been changed, better code style, looks no difference</p>
<p>14/Aug/2009: Control panel added.</p>
<p>21/Jul/2009: Upgrade to WordPress 2.8 (Supporting threaded (nested) comments, sticky-post and comment pages)&lt;/li&gt;</p></blockquote>
<p>The updated version have been uploaded to <a style="color: #046380; text-decoration: none; font-weight: bold;" title="black n white wordpress theme" href="http://wordpress.org/extend/themes/black-n-white">Theme Directory</a> of <strong>wordpress.org</strong>, may be available in several days, you can now download it here:</p>
<p>Download: <a style="color: #046380; text-decoration: none; font-weight: bold;" title="black n white Wordpress theme" href="http://zacklive.com/wp-content/uploads/BlacknWhite_2.0.2.rar">Black n White WordPress Themes</a></p>
<p>Let me know if you got some ideas about this theme.</p>
<img src="http://zacklive.com/?ak_action=api_record_view&id=605&type=feed" alt="" /><div  class="related_post_title">Related Posts</div><ul class="related_post"><li><a href="http://zacklive.com/update-graylines-theme-updated-05november2009/599/" title="Update: GrayLines Theme Updated 05/November/2009">Update: GrayLines Theme Updated 05/November/2009</a></li><li><a href="http://zacklive.com/getting-recent-posts-in-wordpress/573/" title="Getting Recent Posts in WordPress">Getting Recent Posts in WordPress</a></li><li><a href="http://zacklive.com/wordpress-getting-most-popularcommented-posts/589/" title="WordPress: Getting Most Popular(Commented) Posts">WordPress: Getting Most Popular(Commented) Posts</a></li><li><a href="http://zacklive.com/little-tip-for-image-editing-in-wordpress/579/" title="Little Tip for Image Editing in WordPress">Little Tip for Image Editing in WordPress</a></li><li><a href="http://zacklive.com/my-two-wordpress-themes-updated/555/" title="My WordPress Themes Updated">My WordPress Themes Updated</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/cYhUS5rJD7OgJ57AqsxzleatvdI/0/da"><img src="http://feedads.g.doubleclick.net/~a/cYhUS5rJD7OgJ57AqsxzleatvdI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/cYhUS5rJD7OgJ57AqsxzleatvdI/1/da"><img src="http://feedads.g.doubleclick.net/~a/cYhUS5rJD7OgJ57AqsxzleatvdI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/zacklivewp?a=mm-pHrmYD6w:qWhydeqXoaU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=mm-pHrmYD6w:qWhydeqXoaU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=mm-pHrmYD6w:qWhydeqXoaU:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=mm-pHrmYD6w:qWhydeqXoaU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=mm-pHrmYD6w:qWhydeqXoaU:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=mm-pHrmYD6w:qWhydeqXoaU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=mm-pHrmYD6w:qWhydeqXoaU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=mm-pHrmYD6w:qWhydeqXoaU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://zacklive.com/update-blacknwhite-theme-update-05-november-2009/605/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://zacklive.com/update-blacknwhite-theme-update-05-november-2009/605/</feedburner:origLink></item>
		<item>
		<title>Update: GrayLines Theme Updated 05/November/2009</title>
		<link>http://feedproxy.google.com/~r/zacklivewp/~3/vQ4lIAE0eXk/</link>
		<comments>http://zacklive.com/update-graylines-theme-updated-05november2009/599/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 02:59:51 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Gray Lines]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Theme Directory]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://zacklive.com/?p=599</guid>
		<description><![CDATA[
I&#8217;ve done some modifications to GrayLines theme, here is the change log:
Chang Log:
05/Nov/2009:
Publish Date added to individual posts
New Blockquote Design
Fix a missing &#8220;l&#8221; in a 	&#60;li&#62; of sidebar
Codes of blog title and description been changed, better code style, looks no difference
14/Aug/2009: Control panel added.
21/Jul/2009: Upgrade to WordPress 2.8 (Supporting threaded (nested) comments, sticky-post and comment [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://zacklive.com/wp-content/uploads/2009/11/GrayLines.png"><img class="aligncenter size-medium wp-image-600" title="GrayLines WordPress Theme" src="http://zacklive.com/wp-content/uploads/2009/11/GrayLines-450x436.png" alt="GrayLines WordPress Theme" width="450" height="436" /></a></p>
<p>I&#8217;ve done some modifications to <strong>GrayLines theme</strong>, here is the change log:<br />
Chang Log:</p>
<blockquote><p>05/Nov/2009:<br />
Publish Date added to individual posts<br />
New Blockquote Design<br />
Fix a missing &#8220;l&#8221; in a 	&lt;li&gt; of sidebar<br />
Codes of blog title and description been changed, better code style, looks no difference</p>
<p>14/Aug/2009: Control panel added.</p>
<p>21/Jul/2009: Upgrade to WordPress 2.8 (Supporting threaded (nested) comments, sticky-post and comment pages)&lt;/li&gt;</p></blockquote>
<p>Because changes are very small, I am not going to upload it to <a title="gray lines wordpress theme" href="http://wordpress.org/extend/themes/gray-lines">Theme Directory</a> of <strong>wordpress.org</strong>, you can download it here:</p>
<p>Download: <a title="Gray Lines Wordpress theme" href="http://zacklive.com/wp-content/uploads/GrayLines_2.0.1.zip">Gray Line WordPress Themes</a></p>
<p>Let me know if you got some ideas about this theme.</p>
<img src="http://zacklive.com/?ak_action=api_record_view&id=599&type=feed" alt="" /><div  class="related_post_title">Related Posts</div><ul class="related_post"><li><a href="http://zacklive.com/update-blacknwhite-theme-update-05-november-2009/605/" title="Update: BlackNWhite Theme Update 05/November/2009">Update: BlackNWhite Theme Update 05/November/2009</a></li><li><a href="http://zacklive.com/getting-recent-posts-in-wordpress/573/" title="Getting Recent Posts in WordPress">Getting Recent Posts in WordPress</a></li><li><a href="http://zacklive.com/wordpress-getting-most-popularcommented-posts/589/" title="WordPress: Getting Most Popular(Commented) Posts">WordPress: Getting Most Popular(Commented) Posts</a></li><li><a href="http://zacklive.com/little-tip-for-image-editing-in-wordpress/579/" title="Little Tip for Image Editing in WordPress">Little Tip for Image Editing in WordPress</a></li><li><a href="http://zacklive.com/my-two-wordpress-themes-updated/555/" title="My WordPress Themes Updated">My WordPress Themes Updated</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/dOdVBCtjSCF_HaKDwUUynOYd950/0/da"><img src="http://feedads.g.doubleclick.net/~a/dOdVBCtjSCF_HaKDwUUynOYd950/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/dOdVBCtjSCF_HaKDwUUynOYd950/1/da"><img src="http://feedads.g.doubleclick.net/~a/dOdVBCtjSCF_HaKDwUUynOYd950/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/zacklivewp?a=vQ4lIAE0eXk:Uql6Pygf00c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=vQ4lIAE0eXk:Uql6Pygf00c:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=vQ4lIAE0eXk:Uql6Pygf00c:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=vQ4lIAE0eXk:Uql6Pygf00c:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=vQ4lIAE0eXk:Uql6Pygf00c:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=vQ4lIAE0eXk:Uql6Pygf00c:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=vQ4lIAE0eXk:Uql6Pygf00c:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=vQ4lIAE0eXk:Uql6Pygf00c:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://zacklive.com/update-graylines-theme-updated-05november2009/599/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://zacklive.com/update-graylines-theme-updated-05november2009/599/</feedburner:origLink></item>
		<item>
		<title>WordPress: Getting Most Popular(Commented) Posts</title>
		<link>http://feedproxy.google.com/~r/zacklivewp/~3/PZLwWgyIvDE/</link>
		<comments>http://zacklive.com/wordpress-getting-most-popularcommented-posts/589/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 00:04:31 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Comments]]></category>
		<category><![CDATA[Popular Posts]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://zacklive.com/?p=589</guid>
		<description><![CDATA[
After my post Getting Recent Posts In WordPress before, I am thinking about getting the most popular posts or most commented posts. Talking about most popular posts, are those most posts  commented mean they are most popular. Not really, there may be some posts, they&#8217;ve been read many times, but people seldom leave comments, aren&#8217;t they popular? [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://zacklive.com/wp-content/uploads/2009/11/halo_wordpress-400x310.jpg"><img class="aligncenter size-full wp-image-591" title="halo_wordpress-400x310" src="http://zacklive.com/wp-content/uploads/2009/11/halo_wordpress-400x310.jpg" alt="halo_wordpress-400x310" width="400" height="310" /></a></p>
<p>After my post <a title="Getting Recent Posts in WordPress" rel="bookmark" href="http://zacklive.com/getting-recent-posts-in-wordpress/573/">Getting Recent Posts In WordPress</a> before, I am thinking about getting the most popular posts or most commented posts. Talking about most popular posts, are those most posts  commented mean they are most popular. Not really, there may be some posts, they&#8217;ve been read many times, but people seldom leave comments, aren&#8217;t they popular? So at the first place, I thought popular posts should be calculated by both view count and comment count. But when I go deep to coding, I found that it&#8217;s much more difficult to get the view count than comment count, because WordPress saves comment count by default, we can get the number from the database. On the other hand, view count is not saved. Which means we need to count every posts from the every beginning by ourselves, and most of time, this is not worth to do. This reminds me the <a title="wordpress plugin popularity contest" href="http://wordpress.org/extend/plugins/popularity-contest/">Popularity Contest</a> plugin, it counts the views, comments, trackbacks and so on, to determine the popularity of posts. If you want a exactly perfect popular posts list, you may try out this plugin. But I prefer a light way to do it as it&#8217;s not a really important need, let focus on most commented posts.</p>
<p>The first solution I found is from <a title="wordpress most popular posts" href="http://bavotasan.com/tutorials/how-to-list-your-most-popular-posts-in-wordpress/">bavotasan.com</a>, it&#8217;s simple and clear. Here is the main code:</p>
<pre class="brush: php">
function popularPosts($num) {
    global $wpdb;  

    $posts = $wpdb-&gt;get_results(&quot;SELECT comment_count, ID, post_title FROM $wpdb-&gt;posts ORDER BY comment_count DESC LIMIT 0 , $num&quot;);  

    foreach ($posts as $post) {
        setup_postdata($post);
        $id = $post-&gt;ID;
        $title = $post-&gt;post_title;
        $count = $post-&gt;comment_count;  

        if ($count != 0) {
            $popular .= &#039;&lt;li&gt;&#039;;
            $popular .= &#039;&lt;a href=&quot;&#039; . get_permalink($id) . &#039;&quot; title=&quot;&#039; . $title . &#039;&quot;&gt;&#039; . $title . &#039;&lt;/a&gt; &#039;;
            $popular .= &#039;&lt;/li&gt;&#039;;
        }
    }
    return $popular;
</pre>
<p>But when I come to <a title="wordpress most popular posts" href="http://www.blogohblog.com/10-wordpress-hacks-to-make-your-life-easy/">blogohblog.com</a>, the blogger used a more complex way to do it, he thought about more details, like do not count unaproved comments, able to set duration and should the password protected posted be counted or not. To make this happen, he re-counted comments by the comment_post_ID, very clever, here is the codes:</p>
<pre class="brush: php">
&lt;?php function most_popular_posts($no_posts = 5, $before = &#039;&lt;li&gt;&#039;, $after = &#039;&lt;/li&gt;&#039;, $show_pass_post = false, $duration=&#039;&#039;) {
global $wpdb;
$request = &quot;SELECT ID, post_title, COUNT($wpdb-&gt;comments.comment_post_ID) AS &#039;comment_count&#039; FROM $wpdb-&gt;posts, $wpdb-&gt;comments&quot;;
$request .= &quot; WHERE comment_approved = &#039;1&#039; AND $wpdb-&gt;posts.ID=$wpdb-&gt;comments.comment_post_ID AND post_status = &#039;publish&#039;&quot;;
if(!$show_pass_post) $request .= &quot; AND post_password =&#039;&#039;&quot;;
if($duration !=&quot;&quot;) { $request .= &quot; AND DATE_SUB(CURDATE(),INTERVAL &quot;.$duration.&quot; DAY) &lt; post_date &quot;;
}
$request .= &quot; GROUP BY $wpdb-&gt;comments.comment_post_ID ORDER BY comment_count DESC LIMIT $no_posts&quot;;
$posts = $wpdb-&gt;get_results($request);
$output = &#039;&#039;;
if ($posts) {
foreach ($posts as $post) {
$post_title = stripslashes($post-&gt;post_title);
$comment_count = $post-&gt;comment_count;
$permalink = get_permalink($post-&gt;ID);
$output .= $before . &#039;&lt;a href=&quot;&#039; . $permalink . &#039;&quot; title=&quot;&#039; . $post_title.&#039;&quot;&gt;&#039; . $post_title . &#039;&lt;/a&gt; (&#039; . $comment_count.&#039;)&#039; . $after;
}
} else {
$output .= $before . &quot;None found&quot; . $after;
}
echo $output;
} ?&gt;
</pre>
<p>The second one is a better choice, more options and flexibility. You can display popular posts list by placing the following code to your theme, sidebar.php or index.php or else.</p>
<pre class="brush: php">
&lt;?php most_popular_posts(); ?&gt;
</pre>
<img src="http://zacklive.com/?ak_action=api_record_view&id=589&type=feed" alt="" /><div  class="related_post_title">Related Posts</div><ul class="related_post"><li><a href="http://zacklive.com/update-blacknwhite-theme-update-05-november-2009/605/" title="Update: BlackNWhite Theme Update 05/November/2009">Update: BlackNWhite Theme Update 05/November/2009</a></li><li><a href="http://zacklive.com/update-graylines-theme-updated-05november2009/599/" title="Update: GrayLines Theme Updated 05/November/2009">Update: GrayLines Theme Updated 05/November/2009</a></li><li><a href="http://zacklive.com/little-tip-for-image-editing-in-wordpress/579/" title="Little Tip for Image Editing in WordPress">Little Tip for Image Editing in WordPress</a></li><li><a href="http://zacklive.com/getting-recent-posts-in-wordpress/573/" title="Getting Recent Posts in WordPress">Getting Recent Posts in WordPress</a></li><li><a href="http://zacklive.com/technorati-launches-twittorati-top-tweets-from-blogosphere/501/" title="Technorati Launches Twittorati: Top Tweets from Blogosphere">Technorati Launches Twittorati: Top Tweets from Blogosphere</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/7FRaKB1Vk8lqnRNIW3JzrTpaz_I/0/da"><img src="http://feedads.g.doubleclick.net/~a/7FRaKB1Vk8lqnRNIW3JzrTpaz_I/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7FRaKB1Vk8lqnRNIW3JzrTpaz_I/1/da"><img src="http://feedads.g.doubleclick.net/~a/7FRaKB1Vk8lqnRNIW3JzrTpaz_I/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/zacklivewp?a=PZLwWgyIvDE:h4YNmSw9ECQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=PZLwWgyIvDE:h4YNmSw9ECQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=PZLwWgyIvDE:h4YNmSw9ECQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=PZLwWgyIvDE:h4YNmSw9ECQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=PZLwWgyIvDE:h4YNmSw9ECQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=PZLwWgyIvDE:h4YNmSw9ECQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=PZLwWgyIvDE:h4YNmSw9ECQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=PZLwWgyIvDE:h4YNmSw9ECQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://zacklive.com/wordpress-getting-most-popularcommented-posts/589/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://zacklive.com/wordpress-getting-most-popularcommented-posts/589/</feedburner:origLink></item>
		<item>
		<title>CSS: How to Center Your Images</title>
		<link>http://feedproxy.google.com/~r/zacklivewp/~3/GCTPO0MHHqk/</link>
		<comments>http://zacklive.com/css-how-to-center-your-images/585/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 00:00:09 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[Blog and WordPress]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[img]]></category>
		<category><![CDATA[Style]]></category>
		<category><![CDATA[text-align]]></category>

		<guid isPermaLink="false">http://zacklive.com/?p=585</guid>
		<description><![CDATA[
If you have a paragraph(&#60;p&#62;) or a &#60;div&#62; with only images, it&#8217;s very easy to center them, just set the &#8216;text-align&#8217; to &#8216;center&#8217;:
p{ text-align: center }
What if there is other content in the paragraph, like text, and you don&#8217;t want it to be centered. Well, one way to do this, is to add a container, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://zacklive.com/wp-content/uploads/2009/11/css.png"><img class="aligncenter size-full wp-image-586" title="css-tips-tutorials" src="http://zacklive.com/wp-content/uploads/2009/11/css.png" alt="css-tips-tutorials" width="320" height="320" /></a></p>
<p>If you have a paragraph(&lt;p&gt;) or a &lt;div&gt; with only images, it&#8217;s very easy to center them, just set the &#8216;text-align&#8217; to &#8216;center&#8217;:</p>
<blockquote><p>p{ text-align: center }</p></blockquote>
<p>What if there is other content in the paragraph, like text, and you don&#8217;t want it to be centered. Well, one way to do this, is to add a container, for example, a &lt;div&gt;, and the &#8216;text-align&#8217; of the container to &#8216;center&#8217;. But this doesn&#8217;t look like a smart way, as the container is quite a waste. Can I do this within the &lt;img&gt;? Of course, you can make this happen with CSS, Check out the following code:</p>
<blockquote><p>&lt;img style=&#8221;display: block; clear: both; margin-left: auto; margin-right: auto;&#8221; src=&#8221;test.jpg&#8221; /&gt;</p></blockquote>
<p>Just set the &#8216;display&#8217; as &#8216;block&#8217; and both the left and right margin as &#8216;auto&#8217;, that&#8217;s it, or you can add this to you CSS file:</p>
<blockquote><p>p img{ display: block; clear: both; margin-left: auto; margin-right: auto; }</p></blockquote>
<p>Let me know if you have a better idea.</p>
<p><span id="more-585"></span>This article is also posted on<a title="css tips tutorials web design" href="http://gearor.com/css-how-to-center-your-images/70/"> Gearor.com</a>.</p>
<img src="http://zacklive.com/?ak_action=api_record_view&id=585&type=feed" alt="" /><div  class="related_post_title">Related Posts</div><ul class="related_post"><li><a href="http://zacklive.com/margin-or-padding-css-learning/566/" title="Margin or Padding &#8211; CSS Learning">Margin or Padding &#8211; CSS Learning</a></li><li><a href="http://zacklive.com/google-invests-pixazza-adsense-for-images/382/" title="Google Invests Pixazza: AdSense for Images">Google Invests Pixazza: AdSense for Images</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/9udCfhkR8BJ-8eGAyOzQkVW-cYw/0/da"><img src="http://feedads.g.doubleclick.net/~a/9udCfhkR8BJ-8eGAyOzQkVW-cYw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/9udCfhkR8BJ-8eGAyOzQkVW-cYw/1/da"><img src="http://feedads.g.doubleclick.net/~a/9udCfhkR8BJ-8eGAyOzQkVW-cYw/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/zacklivewp?a=GCTPO0MHHqk:anYdI32zw74:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=GCTPO0MHHqk:anYdI32zw74:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=GCTPO0MHHqk:anYdI32zw74:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=GCTPO0MHHqk:anYdI32zw74:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=GCTPO0MHHqk:anYdI32zw74:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=GCTPO0MHHqk:anYdI32zw74:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=GCTPO0MHHqk:anYdI32zw74:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=GCTPO0MHHqk:anYdI32zw74:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://zacklive.com/css-how-to-center-your-images/585/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://zacklive.com/css-how-to-center-your-images/585/</feedburner:origLink></item>
		<item>
		<title>Little Tip for Image Editing in WordPress</title>
		<link>http://feedproxy.google.com/~r/zacklivewp/~3/xgHUvlYbBms/</link>
		<comments>http://zacklive.com/little-tip-for-image-editing-in-wordpress/579/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 21:09:23 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[Blog and WordPress]]></category>
		<category><![CDATA[Image Editing]]></category>
		<category><![CDATA[Settings]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://zacklive.com/?p=579</guid>
		<description><![CDATA[
I used to resize every images manually while they are to big for the post. Later, Automatic added &#8216;Media&#8217; setting to WordPress, we could set default image sizes, so that we could select our image sizes just by one click after uploading. But sometime we don&#8217;t upload, we use &#8216;From URL&#8217; to insert images. In [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://zacklive.com/wp-content/uploads/2009/10/image_resize.png"><img class="aligncenter size-full wp-image-580" title="image_resize" src="http://zacklive.com/wp-content/uploads/2009/10/image_resize.png" alt="image_resize" width="450" height="350" /></a></p>
<p>I used to resize every images manually while they are to big for the post. Later, Automatic added &#8216;Media&#8217; setting to <a title="wordpress blog" href="http://zacklive.com/tag/wordpress/">WordPress</a>, we could set default image sizes, so that we could select our image sizes just by one click after uploading. But sometime we don&#8217;t upload, we use &#8216;From URL&#8217; to insert images. In the &#8216;From URL&#8217; page, there is no image size option for you to select. How to resize these images? How to do it if I only know the width, and I want the height of the image to be auto-adjusted?</p>
<p>Actually it&#8217;s very easy to do, and no need for a image editor. You just insert your image to your post via &#8216;From URL&#8217;. And then click on the image in the text editor, you can see a small image logo on the left top of the image, by clicking on the logo, you get a popup window, choose the &#8216;Advanced Settings&#8217; tab, you can find &#8216;Size&#8217; setting in the middle, if you input the width and a blank height, WordPress will resize the image according to the width, you don&#8217;t need to worry about the height.</p>
<p><span id="more-579"></span></p>
<p>Hope this simple tip could help you, too.</p>
<p>This article is also posted at <a title="Gearor WordPress blog tips" href="http://gearor.com/little-tip-for-image-editing-in-wordpress/61/">Gearor.com</a></p>
<img src="http://zacklive.com/?ak_action=api_record_view&id=579&type=feed" alt="" /><div  class="related_post_title">Related Posts</div><ul class="related_post"><li><a href="http://zacklive.com/update-blacknwhite-theme-update-05-november-2009/605/" title="Update: BlackNWhite Theme Update 05/November/2009">Update: BlackNWhite Theme Update 05/November/2009</a></li><li><a href="http://zacklive.com/update-graylines-theme-updated-05november2009/599/" title="Update: GrayLines Theme Updated 05/November/2009">Update: GrayLines Theme Updated 05/November/2009</a></li><li><a href="http://zacklive.com/wordpress-getting-most-popularcommented-posts/589/" title="WordPress: Getting Most Popular(Commented) Posts">WordPress: Getting Most Popular(Commented) Posts</a></li><li><a href="http://zacklive.com/getting-recent-posts-in-wordpress/573/" title="Getting Recent Posts in WordPress">Getting Recent Posts in WordPress</a></li><li><a href="http://zacklive.com/nice-guide-for-wordpress-forum-users/333/" title="Nice Guide for WordPress Forum Users">Nice Guide for WordPress Forum Users</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/vGuPKjR3r-5fXBvld-a0FkFmcrM/0/da"><img src="http://feedads.g.doubleclick.net/~a/vGuPKjR3r-5fXBvld-a0FkFmcrM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/vGuPKjR3r-5fXBvld-a0FkFmcrM/1/da"><img src="http://feedads.g.doubleclick.net/~a/vGuPKjR3r-5fXBvld-a0FkFmcrM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/zacklivewp?a=xgHUvlYbBms:LdkoJZMyyP8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=xgHUvlYbBms:LdkoJZMyyP8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=xgHUvlYbBms:LdkoJZMyyP8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=xgHUvlYbBms:LdkoJZMyyP8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=xgHUvlYbBms:LdkoJZMyyP8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=xgHUvlYbBms:LdkoJZMyyP8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=xgHUvlYbBms:LdkoJZMyyP8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=xgHUvlYbBms:LdkoJZMyyP8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://zacklive.com/little-tip-for-image-editing-in-wordpress/579/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://zacklive.com/little-tip-for-image-editing-in-wordpress/579/</feedburner:origLink></item>
		<item>
		<title>Getting Recent Posts in WordPress</title>
		<link>http://feedproxy.google.com/~r/zacklivewp/~3/hXSlaadeTXs/</link>
		<comments>http://zacklive.com/getting-recent-posts-in-wordpress/573/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 23:38:14 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[Archives]]></category>
		<category><![CDATA[Codes]]></category>
		<category><![CDATA[Codex]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Widget]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://zacklive.com/?p=573</guid>
		<description><![CDATA[
Getting recent posts in you WordPress blog, is a old topic. WordPress now has a default widget to do this, but sometime we need to display recent posts outside of the widget area. It&#8217;s a simple task, you can use one line of codes to do it:
&#60;?php wp_get_archives(&#8217;title_li=&#38;type=postbypost&#38;limit=10&#8242;); ?&#62;
The function wp_get_archives() is used to display [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://zacklive.com/wp-content/uploads/2009/10/recent_posts.png"><img class="aligncenter size-full wp-image-574" title="recent_posts" src="http://zacklive.com/wp-content/uploads/2009/10/recent_posts.png" alt="recent_posts" width="344" height="343" /></a></p>
<p>Getting recent posts in you <a title="WordPress Blog" href="http://zacklive.com/tag/wordpress">WordPress</a> blog, is a old topic. WordPress now has a default widget to do this, but sometime we need to display recent posts outside of the widget area. It&#8217;s a simple task, you can use one line of codes to do it:</p>
<blockquote><p>&lt;?php wp_get_archives(&#8217;title_li=&amp;type=postbypost&amp;limit=10&#8242;); ?&gt;</p></blockquote>
<p>The function <em>wp_get_archives()</em> is used to display a date-based archives list. While setting &#8216;type&#8217; to &#8216;postbypost&#8217;, it returns posts odered by post date, which means recent posts, that&#8217;s what we want. And then we need to set the limit of posts by &#8216;limit=10&#8242;. That&#8217;s it, we have 10 recent posts now, you can put this codes into wherever in your theme.</p>
<p>For detail of <em>wp_get_archives()</em>, you can visit the WordPress Codex <a title="WordPress Codex Recent posts" href="http://codex.wordpress.org/Template_Tags/wp_get_archives">here</a>.</p>
<p><span id="more-573"></span>This article is also posted at <a title="gearor wordpress recent posts" href="http://gearor.com/getting-recent-posts-in-wordpress/47/">Gearor.com</a>.</p>
<img src="http://zacklive.com/?ak_action=api_record_view&id=573&type=feed" alt="" /><div  class="related_post_title">Related Posts</div><ul class="related_post"><li><a href="http://zacklive.com/update-blacknwhite-theme-update-05-november-2009/605/" title="Update: BlackNWhite Theme Update 05/November/2009">Update: BlackNWhite Theme Update 05/November/2009</a></li><li><a href="http://zacklive.com/update-graylines-theme-updated-05november2009/599/" title="Update: GrayLines Theme Updated 05/November/2009">Update: GrayLines Theme Updated 05/November/2009</a></li><li><a href="http://zacklive.com/wordpress-getting-most-popularcommented-posts/589/" title="WordPress: Getting Most Popular(Commented) Posts">WordPress: Getting Most Popular(Commented) Posts</a></li><li><a href="http://zacklive.com/little-tip-for-image-editing-in-wordpress/579/" title="Little Tip for Image Editing in WordPress">Little Tip for Image Editing in WordPress</a></li><li><a href="http://zacklive.com/nice-guide-for-wordpress-forum-users/333/" title="Nice Guide for WordPress Forum Users">Nice Guide for WordPress Forum Users</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/8a9YkXK9Pn5sxBhknpfVI5ijGmA/0/da"><img src="http://feedads.g.doubleclick.net/~a/8a9YkXK9Pn5sxBhknpfVI5ijGmA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/8a9YkXK9Pn5sxBhknpfVI5ijGmA/1/da"><img src="http://feedads.g.doubleclick.net/~a/8a9YkXK9Pn5sxBhknpfVI5ijGmA/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/zacklivewp?a=hXSlaadeTXs:bQvTzX3-UDQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=hXSlaadeTXs:bQvTzX3-UDQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=hXSlaadeTXs:bQvTzX3-UDQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=hXSlaadeTXs:bQvTzX3-UDQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=hXSlaadeTXs:bQvTzX3-UDQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=hXSlaadeTXs:bQvTzX3-UDQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=hXSlaadeTXs:bQvTzX3-UDQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=hXSlaadeTXs:bQvTzX3-UDQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://zacklive.com/getting-recent-posts-in-wordpress/573/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://zacklive.com/getting-recent-posts-in-wordpress/573/</feedburner:origLink></item>
		<item>
		<title>Margin or Padding – CSS Learning</title>
		<link>http://feedproxy.google.com/~r/zacklivewp/~3/89ONnxNmq4Y/</link>
		<comments>http://zacklive.com/margin-or-padding-css-learning/566/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 10:22:00 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Margin]]></category>
		<category><![CDATA[Padding]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://zacklive.com/?p=566</guid>
		<description><![CDATA[
Padding is inner space.
Margin is outer space.
Take a look at the image above, from outside to inside: margin, border, padding and the content. You may notice that the padding was affected by the background color, while maggin is not. That&#8217;s the difference between inner and outer. So padding is used for design, making some private [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://zacklive.com/wp-content/uploads/2009/10/margin_padding.gif"><img class="aligncenter size-full wp-image-567" title="margin_padding" src="http://zacklive.com/wp-content/uploads/2009/10/margin_padding.gif" alt="margin_padding" width="500" height="384" /></a></p>
<p>Padding is <strong>inner space.<br />
</strong>Margin is <strong>outer space.</strong></p>
<p>Take a look at the image above, from outside to inside: margin, border, padding and the content. You may notice that the padding was affected by the background color, while maggin is not. That&#8217;s the difference between inner and outer. So <strong>padding is used for design</strong>, making some private room for the element, for example, and <strong>maggin is always used as white space to saperate elements</strong>.</p>
<p><span id="more-566"></span>One more thing to be mentioned, <strong>padding adds to the width or height</strong> of the element, which means it expends the final width or height. For example, you had an element which was 100px wide and 50px high, and then you set all paddings of the element to 10px. You will end up with 120px of width and 70px of height.</p>
<p>Width: 100px + 10px(Left padding) + 10px(Right padding) = 120px<br />
Height: 50px + 10px(Top padding) + 10px(Bottom padding) = 70px</p>
<p>for more references:</p>
<ul>
<li><a title="mastering css " href="http://www.smashingmagazine.com/2009/10/05/mastering-css-coding-getting-started/">Mastering CSS Code: Getting Started</a></li>
<li><a href="http://htmldog.com/guides/cssbeginner/margins/">Margins and Padding</a></li>
<li><a href="http://www.smashingmagazine.com/2009/07/27/the-definitive-guide-to-using-negative-margins/">The Definitive Guide to Using Negative Margins</a></li>
<li><a href="http://www.tizag.com/cssT/margin.php">CSS Margin</a></li>
<li><a href="http://www.tizag.com/cssT/padding.php">CSS Padding</a></li>
</ul>
<img src="http://zacklive.com/?ak_action=api_record_view&id=566&type=feed" alt="" /><div  class="related_post_title">Related Posts</div><ul class="related_post"><li><a href="http://zacklive.com/css-how-to-center-your-images/585/" title="CSS: How to Center Your Images">CSS: How to Center Your Images</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/T6Zaw5xMFd8kV5AH4igi0CNar7E/0/da"><img src="http://feedads.g.doubleclick.net/~a/T6Zaw5xMFd8kV5AH4igi0CNar7E/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/T6Zaw5xMFd8kV5AH4igi0CNar7E/1/da"><img src="http://feedads.g.doubleclick.net/~a/T6Zaw5xMFd8kV5AH4igi0CNar7E/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/zacklivewp?a=89ONnxNmq4Y:lBPWx1xdVKw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=89ONnxNmq4Y:lBPWx1xdVKw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=89ONnxNmq4Y:lBPWx1xdVKw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=89ONnxNmq4Y:lBPWx1xdVKw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=89ONnxNmq4Y:lBPWx1xdVKw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=89ONnxNmq4Y:lBPWx1xdVKw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=89ONnxNmq4Y:lBPWx1xdVKw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=89ONnxNmq4Y:lBPWx1xdVKw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://zacklive.com/margin-or-padding-css-learning/566/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://zacklive.com/margin-or-padding-css-learning/566/</feedburner:origLink></item>
		<item>
		<title>SwebApps: Build Your iPhone Apps Online</title>
		<link>http://feedproxy.google.com/~r/zacklivewp/~3/KIvahA3BML8/</link>
		<comments>http://zacklive.com/swebapps-build-your-iphone-apps-online/558/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 19:32:20 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[Web2.0 & Tech]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iphone apps]]></category>
		<category><![CDATA[ReadWriteWeb]]></category>
		<category><![CDATA[Sweb Apps]]></category>

		<guid isPermaLink="false">http://zacklive.com/swebapps-build-your-iphone-apps-online/558/</guid>
		<description><![CDATA[
ReadWriteWeb: A new website Sweb Apps launched for iphone developer, the service is aimed to help anyone to build your own iphone apps in six steps.

[via: ReadWriteWeb]
Related PostsTechnorati Launches Twittorati: Top Tweets from BlogosphereiPhone Approved To Sell In ChinaTwitter is Blocked in The White HouseOracle Acquires GoldenGate SoftwareThe Wearable Phone that Display Content on any Surface]]></description>
			<content:encoded><![CDATA[<p><a href="http://zacklive.com/wp-content/uploads/2009/08/swebapps.png"><img class="aligncenter size-full wp-image-559" title="swebapps" src="http://zacklive.com/wp-content/uploads/2009/08/swebapps.png" alt="swebapps" width="174" height="303" /></a></p>
<p><a title="read write web news" href="http://zacklive.com/tag/readwriteweb/">ReadWriteWeb</a>: A new website <a title="swebapps iphone apps" href="http://swebapps.com">Sweb Apps</a> launched for <strong>iphone developer</strong>, the service is aimed to help anyone to build your own <strong>iphone apps</strong> in six steps.</p>
<p><span id="more-558"></span></p>
<p>[via: <a title="swebapps iphone apps" href="http://www.readwriteweb.com/archives/build_your_own_iphone_app_with_new_service_from_sweb_apps.php">ReadWriteWeb</a>]</p>
<img src="http://zacklive.com/?ak_action=api_record_view&id=558&type=feed" alt="" /><div  class="related_post_title">Related Posts</div><ul class="related_post"><li><a href="http://zacklive.com/technorati-launches-twittorati-top-tweets-from-blogosphere/501/" title="Technorati Launches Twittorati: Top Tweets from Blogosphere">Technorati Launches Twittorati: Top Tweets from Blogosphere</a></li><li><a href="http://zacklive.com/iphone-approved-to-sell-in-china/496/" title="iPhone Approved To Sell In China">iPhone Approved To Sell In China</a></li><li><a href="http://zacklive.com/twitter-is-blocked-in-the-white-house/484/" title="Twitter is Blocked in The White House">Twitter is Blocked in The White House</a></li><li><a href="http://zacklive.com/oracle-acquires-goldengate-software/469/" title="Oracle Acquires GoldenGate Software">Oracle Acquires GoldenGate Software</a></li><li><a href="http://zacklive.com/the-wearable-phone-that-display-content-on-any-surface/417/" title="The Wearable Phone that Display Content on any Surface">The Wearable Phone that Display Content on any Surface</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/5Xukp-AAXraIBn9-_8Czw28LKlM/0/da"><img src="http://feedads.g.doubleclick.net/~a/5Xukp-AAXraIBn9-_8Czw28LKlM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/5Xukp-AAXraIBn9-_8Czw28LKlM/1/da"><img src="http://feedads.g.doubleclick.net/~a/5Xukp-AAXraIBn9-_8Czw28LKlM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/zacklivewp?a=KIvahA3BML8:yb3WtvM6uLw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=KIvahA3BML8:yb3WtvM6uLw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=KIvahA3BML8:yb3WtvM6uLw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=KIvahA3BML8:yb3WtvM6uLw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=KIvahA3BML8:yb3WtvM6uLw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=KIvahA3BML8:yb3WtvM6uLw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=KIvahA3BML8:yb3WtvM6uLw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=KIvahA3BML8:yb3WtvM6uLw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://zacklive.com/swebapps-build-your-iphone-apps-online/558/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://zacklive.com/swebapps-build-your-iphone-apps-online/558/</feedburner:origLink></item>
		<item>
		<title>My WordPress Themes Updated</title>
		<link>http://feedproxy.google.com/~r/zacklivewp/~3/Of7NnAf1zEs/</link>
		<comments>http://zacklive.com/my-two-wordpress-themes-updated/555/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 20:16:47 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[BlacknWhite]]></category>
		<category><![CDATA[comment pages]]></category>
		<category><![CDATA[Gray Lines]]></category>
		<category><![CDATA[RSS feed]]></category>
		<category><![CDATA[sticky-post]]></category>
		<category><![CDATA[threaded comments]]></category>
		<category><![CDATA[WordPress 2.7]]></category>
		<category><![CDATA[WordPress Theme]]></category>

		<guid isPermaLink="false">http://zacklive.com/?p=555</guid>
		<description><![CDATA[
New update:

Update: GrayLines Theme Updated 05/November/2009
Update: BlackNWhite Theme Update 05/November/2009

I&#8217;ve created two WordPress themes, the Gray Lines WordPress Theme and the BlacknWhite WordPress Theme. I updated them today for WordPress 2.7(also 2.8), supporting threaded (nested) comments, sticky-post and comment pages. And  added a control panel which you can set your own RSS feed and your logo [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://zacklive.com/wp-content/uploads/2008/11/blanknwhite.png"><img class="aligncenter" title="blank n white wordpress theme" src="http://zacklive.com/wp-content/uploads/2008/11/blanknwhite.png" alt="" width="400" height="311" /></a></p>
<p>New update:</p>
<ul>
<li><a title="Update: GrayLines Theme Updated 05/November/2009" rel="bookmark" href="http://zacklive.com/update-graylines-theme-updated-05november2009/599/">Update: GrayLines Theme Updated 05/November/2009</a></li>
<li><a title="Update: BlackNWhite Theme Update 05/November/2009" rel="bookmark" href="http://zacklive.com/update-blacknwhite-theme-update-05-november-2009/605/">Update: BlackNWhite Theme Update 05/November/2009</a></li>
</ul>
<p>I&#8217;ve created two WordPress themes, the <a title="gray lines wordpress theme" href="http://zacklive.com/my-first-wordpress-theme-gray-lines/168/">Gray Lines WordPress Theme</a> and the <a title="black n white wordpress theme" href="http://zacklive.com/new-black-and-white-wordpress-theme/300/">BlacknWhite WordPress Theme</a>. I updated them today for <strong>WordPress 2.7</strong>(also 2.8), supporting <strong>threaded (nested) comments</strong>, <strong>sticky-post</strong> and <strong>comment pages</strong>. And  added a control panel which you can set your own RSS feed and your logo image.</p>
<p>Download:</p>
<p><a title="gray lines wordpress theme" href="http://zacklive.com/wp-content/uploads/GrayLines_2.0.1.zip">Gray Lines WordPress Theme</a></p>
<p><a title="black n white wordpress theme" href="http://zacklive.com/wp-content/uploads/BlacknWhite_2.0.2.zip">BlacknWhite WordPress Theme</a></p>
<img src="http://zacklive.com/?ak_action=api_record_view&id=555&type=feed" alt="" /><div  class="related_post_title">Related Posts</div><ul class="related_post"><li><a href="http://zacklive.com/update-blacknwhite-theme-update-05-november-2009/605/" title="Update: BlackNWhite Theme Update 05/November/2009">Update: BlackNWhite Theme Update 05/November/2009</a></li><li><a href="http://zacklive.com/update-graylines-theme-updated-05november2009/599/" title="Update: GrayLines Theme Updated 05/November/2009">Update: GrayLines Theme Updated 05/November/2009</a></li><li><a href="http://zacklive.com/purecss-free-wordpress-theme/146/" title="PureCSS Free WordPress Theme">PureCSS Free WordPress Theme</a></li><li><a href="http://zacklive.com/free-crystal-blue-wordpress-theme-wpvision/4/" title="Free Crystal Blue WordPress Theme: WPVision">Free Crystal Blue WordPress Theme: WPVision</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/oiqmZRPE7w7Qx3IWFV9oUjEWpOs/0/da"><img src="http://feedads.g.doubleclick.net/~a/oiqmZRPE7w7Qx3IWFV9oUjEWpOs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/oiqmZRPE7w7Qx3IWFV9oUjEWpOs/1/da"><img src="http://feedads.g.doubleclick.net/~a/oiqmZRPE7w7Qx3IWFV9oUjEWpOs/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/zacklivewp?a=Of7NnAf1zEs:fvSp8P7XzoY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=Of7NnAf1zEs:fvSp8P7XzoY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=Of7NnAf1zEs:fvSp8P7XzoY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=Of7NnAf1zEs:fvSp8P7XzoY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=Of7NnAf1zEs:fvSp8P7XzoY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=Of7NnAf1zEs:fvSp8P7XzoY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/zacklivewp?i=Of7NnAf1zEs:fvSp8P7XzoY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/zacklivewp?a=Of7NnAf1zEs:fvSp8P7XzoY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/zacklivewp?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://zacklive.com/my-two-wordpress-themes-updated/555/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://zacklive.com/my-two-wordpress-themes-updated/555/</feedburner:origLink></item>
	</channel>
</rss>
