<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>donalyza.com &#187; tweak</title>
	<atom:link href="http://donalyza.com/tag/tweak/feed/" rel="self" type="application/rss+xml" />
	<link>http://donalyza.com</link>
	<description>Tech / Design / WordPress</description>
	<lastBuildDate>Wed, 16 Feb 2011 18:34:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>How To: Exclude Categories to be Posted on FrontPage</title>
		<link>http://donalyza.com/2008/02/how-to-exclude-categories-to-be-posted-on-frontpage/</link>
		<comments>http://donalyza.com/2008/02/how-to-exclude-categories-to-be-posted-on-frontpage/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 10:40:54 +0000</pubDate>
		<dc:creator>donalyza</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[tweak]]></category>

		<guid isPermaLink="false">http://www.donalyza.com/how-to-exclude-categories-to-be-posted-on-frontpage/</guid>
		<description><![CDATA[On this post I will show you how to hide a particular post on your blog&#8217;s front page without the need to install a plugin. I have nothing against WordPress plugins it&#8217;s just that I&#8217;m the type of WordPress blogger who is as much as possible doesn&#8217;t want to install a plugin especially if there&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>On this post I will show you how to hide a particular post on your blog&#8217;s front page without the need to install a plugin. I have nothing against WordPress plugins it&#8217;s just that I&#8217;m the type of WordPress blogger who is as much as possible doesn&#8217;t want to install a plugin especially if there&#8217;s a code that I can use and do it manually by editing my theme&#8217;s template.  On today&#8217;s post I will show you on how to exclude categories to be posted on your frontpage of your WordPress blog. This WordPress tweak has been tested in WordPress 2.3. This definitely works especially if your frontpage has page navigation.</p>
<p><font color="#ff0000">*</font> This varies depending on your theme, this is commonly used in a normal wordpress blog layout.</p>
<ol>
<li>Go to admin dashoard &gt; manage &gt; categories. Look for the category  you want to exclude and identify the category ID.  e.g. we want to hide <font color="#ff0000"><em><font color="#0000ff">category ID: 8</font><font color="#000000">.</font></em></font></li>
<li>Still in the admin dashboard &gt; go to Presentation &gt; Theme Editor &gt; open <font color="#ff0000">*</font>index.php</li>
<li>Inside the <font color="#ff0000">*</font>index.php file, look for the line that says &#8220;<em>&lt;?php if (have_posts()) : ?&gt; &#8221;  </em><br />
then paste this code after that line:<br />
<em><font color="#0000ff">!</font> don&#8217;t forget to change the id to your chosen category id</em></p>
<pre><em>&lt;?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=<font color="#0000ff">-8</font>&amp;paged=$page"); ?&gt;</em></pre>
<p>and before this code. &#8220;<em> &lt;?php while (have_posts()) : the_post(); ?&gt;</em> &#8220;</li>
<li>Then Update your <font color="#ff0000">*</font>index.php file.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://donalyza.com/2008/02/how-to-exclude-categories-to-be-posted-on-frontpage/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>How To: Style Author Comments in WordPress</title>
		<link>http://donalyza.com/2008/02/how-to-style-author-comments-in-wordpress/</link>
		<comments>http://donalyza.com/2008/02/how-to-style-author-comments-in-wordpress/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 08:47:38 +0000</pubDate>
		<dc:creator>donalyza</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[tweak]]></category>

		<guid isPermaLink="false">http://www.donalyza.com/how-to-style-author-comments-in-wordpress/</guid>
		<description><![CDATA[The other day I wrote a post on How To: Customize your own style in showing the number of comments. Today I&#8217;ll be discussing on how to highlight the author&#8217;s comments. It&#8217;s just easy to follow and I know you can do it in just a few minutes. To start of, we are going to [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I wrote a post on <a href="http://donalyza.com/how-to-customize-your-own-style-in-showing-the-number-of-comments/">How To: Customize your own style in showing the number of comments</a>. Today I&#8217;ll be discussing on how to highlight the author&#8217;s comments. It&#8217;s just easy to follow and I know you can do it in just a few minutes.</p>
<p>To start of, we are going to edit your comments.php and style.css. If you are a WordPress user definitely you know what I&#8217;m talking about. For newbies,Here&#8217;s an easy way to access your site. go to <em>admin panel&gt; presentation&gt; theme editor&gt; then just click the you want to change</em>.</p>
<p>Let&#8217;s begin.</p>
<ol>
<li>Open the comments.php within that file. Search for the code that read as</li>
</ol>
<blockquote><p> <em>&lt;?php foreach ($comments as $comment) : ?&gt;</em><br />
<em>&lt;li class=”&lt;?php echo $oddcomment; ?&gt;” id=”comment-&lt;?php comment_ID() ?&gt;”</em></p></blockquote>
<p>Remove the second line and change it using the code below. Don&#8217;t forget to modify the ones that are marked red.</p>
<blockquote><p><em>&lt;li class=”&lt;?php if ($comment-&gt;comment_author == ‘<font color="#ff0000">TYPE AUTHOR&#8217;S NAME</font>‘ &amp;&amp;</em><br />
<em>$comment-&gt;comment_author_email == ‘<font color="#ff0000">TYPE AUTHOR&#8217;S EMAIL ADDRESS</font>‘) echo ‘<font color="#008000"><strong>authorcomment</strong></font>’;</em><br />
<em>else echo $oddcomment; ?&gt;” id=”comment-&lt;?php comment_ID() ?&gt;”&gt;</em></p></blockquote>
<p>After you update your comments.php, we will add styles to it. Open your style.css, we are going to design  the class for &#8220;<font color="#008000">authorcomment</font><font color="#000000">&#8220;</font>. Look on comments section and add this code.</p>
<blockquote><p><em>.<font color="#008000"><strong>authorcomment</strong></font> {</em><br />
<em> background: #666666;</em><br />
<em> }</em></p></blockquote>
<p>This code varies on how your theme was made. Analyze the code but once you understand the principle you can apply it in your theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://donalyza.com/2008/02/how-to-style-author-comments-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>How To: Customize your own style in showing the number of comments</title>
		<link>http://donalyza.com/2008/02/how-to-customize-your-own-style-in-showing-the-number-of-comments/</link>
		<comments>http://donalyza.com/2008/02/how-to-customize-your-own-style-in-showing-the-number-of-comments/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 06:09:12 +0000</pubDate>
		<dc:creator>donalyza</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[tweak]]></category>

		<guid isPermaLink="false">http://www.donalyza.com/how-to-customize-your-own-style-in-showing-the-number-of-comments/</guid>
		<description><![CDATA[It&#8217;s not hard to make your theme unique. Probably some of you are using a free WordPress theme and somehow you almost have an identical blog with a co-blogger. Changing the colors, fonts, header can do the trick to tell your readers this is different from the others. Here one way to tweak your blog [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s not hard to make your theme unique. Probably some of you are using a free WordPress theme and somehow you almost have an identical blog with a co-blogger. Changing the colors, fonts, header can do the trick to tell your readers this is different from the others. Here one way to tweak your blog in your own style by changing the way your number comments appear.<br />
This tutorial is not limited for those bloggers who uses free themes it&#8217;s also for those bloggers who have a design of their own theme. You might get bored seeing your blog with 0 comments, 1 comment, 2 or more comments and would like to customize them. This will also encourage your readers to leave a comment. Well if you don&#8217;t get the picture of what I&#8217;m saying just look at the image below to understand.</p>
<p><img src="http://img459.imageshack.us/img459/5622/showcommentssw2.gif" alt="Image Hosted by ImageShack.us" /></p>
<p>Below are some samples I found in the blogosphere.</p>
<p><img src="http://img459.imageshack.us/img459/8521/carlocabvx9.gif" alt="Image Hosted by ImageShack.us" /></p>
<p>- used to be from carlocab.com. It changed after replacing a new theme.</p>
<p><img src="http://img459.imageshack.us/img459/8981/shoemoneyuj9.gif" alt="Image Hosted by ImageShack.us" /></p>
<p>-  from shoemoney.com</p>
<p><img src="http://img459.imageshack.us/img459/5435/johncowdo6.gif" alt="Image Hosted by ImageShack.us" /></p>
<p>- from johncow.com</p>
<h3>You want to learn how they did it?</h3>
<p>With these 3 easy steps you can come-up with your own style.</p>
<p>1. Open your index.php and/or single.php.</p>
<p>2. Edit each page and look for the lines that read.</p>
<p><code>&lt; ?php comments_popup_link('<font color="#000000">No Comments</font> »', '<font color="#000000">1 Comment</font> »', '<font color="#000000">% Comments</font> »'); ?&gt;</code></p>
<p>3. Change the way you want them to appear in your page. Style your own comments by changing only the one on red marks.</p>
<p><code>&lt; ?php comments_popup_link('<strong><font color="#ff0000">Leave a comment</font> »', '<font color="#ff0000">1 Comment - </font></strong><font color="#ff0000"><strong>Want to Join Him?</strong></font> »', '<font color="#ff0000">% Comments - <strong>Want to Join Them?</strong></font> »'); ?&gt;</code></p>
<p>How about you? What&#8217;s your style? <img src='http://donalyza.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Care to share?</p>
]]></content:encoded>
			<wfw:commentRss>http://donalyza.com/2008/02/how-to-customize-your-own-style-in-showing-the-number-of-comments/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

