<?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>gHacks technology news &#187; wordpress tips</title>
	<atom:link href="http://www.ghacks.net/tag/wordpress-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 23:31:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Exclude Categories From Wordpress Feeds</title>
		<link>http://www.ghacks.net/2009/07/03/exclude-categories-from-wordpress-feeds/</link>
		<comments>http://www.ghacks.net/2009/07/03/exclude-categories-from-wordpress-feeds/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 23:29:13 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[The Web]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[exclude categories]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[rss feed]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress feeds]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=14087</guid>
		<description><![CDATA[I received an email from Matthew a few hours ago who asked if there was a possibility to exclude certain categories from my website from appearing in the RSS feed. I was really busy with a website that I purchased earlier this morning and could not answer immediately. The good news is that it is [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/wordpress.png" alt="wordpress" title="wordpress" width="128" height="128" class="alignleft size-full wp-image-11834" />I received an email from Matthew a few hours ago who asked if there was a possibility to exclude certain categories from my website from appearing in the RSS feed. I was really busy with a website that I purchased earlier this morning and could not answer immediately. The good news is that it is possible to exclude categories from Wordpress RSS feeds.</p>
<p>The bad news is that it might not work with all Wordpress blogs and that the user who wants to exclude the categories needs to know their category ID. The first problem is easier to solve. Excluding categories from Wordpress feeds works if the Wordpress blog is not using the Feedburner feed redirection plugin or a comparable plugin. The feed redirection plugin redirects all feed requests (no matter if they are category specific or the full feed) to an RSS service like Feedburner. This prevents that users can create individual feeds based on categories, authors or tags. It also prevents the exclusion of categories in the feed.</p>
<p><span id="more-14087"></span>Finding out the category IDs of a Wordpress blog is the second obstacle. Most webmasters use pretty permalinks which do not display IDs on the website. The only way to find out without asking the website owner is trial and error. Is is possible to open categories with their IDs in Wordpress even if the Pretty Permalinks option is enabled. To open a category with a category ID one would open the following url in a web browser:</p>
<p><code>http://www.ghacks.net/index.php?cat=23</code></p>
<p>This would open the Linux category here at Ghacks. This can be a very time consuming process as I have seen categories with five digits. So its probably best to ask the administrator about the category IDs. (Feel free to post additional solutions in the comments).</p>
<p>To exclude categories from RSS feeds in Wordpress one would use the following syntax:</p>
<p><code>http://www.ghacks.net/feed/?cat=-23</code></p>
<p>This removes category 23 from the main feed of the website. It is possible to exclude multiple categories from the feed, simply append an &#038; and another cat=-xx in the end:</p>
<p><code>http://www.ghacks.net/feed/?cat=-23&#038;cat=-9592</code></p>
<p>This excludes the Linux and Mac categories from the RSS feed.</p>

	Tags: <a href="http://www.ghacks.net/tag/exclude-categories/" title="exclude categories" rel="tag">exclude categories</a>, <a href="http://www.ghacks.net/tag/rss/" title="rss" rel="tag">rss</a>, <a href="http://www.ghacks.net/tag/rss-feed/" title="rss feed" rel="tag">rss feed</a>, <a href="http://www.ghacks.net/tag/wordpress/" title="wordpress" rel="tag">wordpress</a>, <a href="http://www.ghacks.net/tag/wordpress-feeds/" title="wordpress feeds" rel="tag">wordpress feeds</a>, <a href="http://www.ghacks.net/tag/wordpress-tips/" title="wordpress tips" rel="tag">wordpress tips</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/16/wordpress-seo-advanced-nofollow/" title="Wordpress SEO: Advanced Nofollow (April 16, 2009)">Wordpress SEO: Advanced Nofollow</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/12/17/wordpress-hack-change-number-of-comments-per-page-in-admin-interface/" title="Wordpress Hack: Change Number Of Comments Per Page In Admin Interface (December 17, 2008)">Wordpress Hack: Change Number Of Comments Per Page In Admin Interface</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/" title="Wordpress Blogs: Create Custom Tag Pages (April 8, 2009)">Wordpress Blogs: Create Custom Tag Pages</a> (5)</li>
	<li><a href="http://www.ghacks.net/2008/07/17/we-passed-the-10000-rss-subscribers-mark/" title="We passed the 10000 RSS Subscribers Mark (July 17, 2008)">We passed the 10000 RSS Subscribers Mark</a> (16)</li>
	<li><a href="http://www.ghacks.net/2008/11/18/rss-feed-filter-feedrinse/" title="RSS Feed Filter Feedrinse (November 18, 2008)">RSS Feed Filter Feedrinse</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/07/03/exclude-categories-from-wordpress-feeds/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Wordpress SEO: Advanced Nofollow</title>
		<link>http://www.ghacks.net/2009/04/16/wordpress-seo-advanced-nofollow/</link>
		<comments>http://www.ghacks.net/2009/04/16/wordpress-seo-advanced-nofollow/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 17:05:19 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[The Web]]></category>
		<category><![CDATA[more]]></category>
		<category><![CDATA[more tag]]></category>
		<category><![CDATA[nofollow]]></category>
		<category><![CDATA[search engine optimization]]></category>
		<category><![CDATA[Search Engines]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress seo]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=12060</guid>
		<description><![CDATA[Wordpress is already well optimized when it comes to SEO (that&#8217;s Search Engine Optimization). There are some basic changes that are usually performed like changing the link structure to include the title of the articles or displaying the title of the article in the web browser&#8217;s title. Most users stop here, some go ahead and [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/wordpress.png" alt="wordpress" title="wordpress" width="128" height="128" class="alignleft size-full wp-image-11834" />Wordpress is already well optimized when it comes to SEO (that&#8217;s Search Engine Optimization). There are some basic changes that are usually performed like changing the link structure to include the title of the articles or displaying the title of the article in the web browser&#8217;s title. Most users stop here, some go ahead and install SEO plugins which do some magic in the background.</p>
<p><span id="more-12060"></span>Advanced tips are not that easy to come by and most websites running a Wordpress blog do not have them implemented. This article will list some options that center around the nofollow tag. Nofollow basically tells search engines like Google to not count the link vote that is usually being passed when linking on the Internet. Why is that beneficial? A website has a certain linking power. Each link that is pointing to internal and external resources gets a piece of that linking power. Not all pages should be treated equally however which is what this article is about. It makes for example no sense to pass linking power to internal pages that you do not want to link for, think of privacy policies, contact pages, login, log off or social bookmarking links.</p>
<p>Wordpress themes come with a surprising amount of links, the majority of which is not set to nofollow. Here are a few areas where you should consider placing the nofollow link tag in a Wordpress blog:</p>
<ul>
<li>The more (read more) tag. The page is already linked from the title of the post properly.</li>
<li>Wordpress meta data</li>
<li>Pages like Privacy Policies, Contact Us</li>
<li>Social Bookmarking links</li>
</ul>
<p>To add the nofollow link one would simply add the rel=&quot;nofollow&quot;<br />
 tag to the link structure which is not a problem if the link is displayed in the source code of the theme, for example:</p>
<p><strong>&lt;a href=&quot;http://www.example.com/&quot; rel=&quot;nofollow&quot;&gt;Example Link&lt;/a&gt;</strong></p>
<p>There are however links (like the previously mentioned more tag) that cannot be manipulated in the theme source as the link is created by a php function.</p>
<p>Here is how you make the more tag in Wordpress nofollow:</p>
<ul>
<li>Open the file post-template.php in the wp-includes folder.</li>
<li>Locate the following line beginning with:
<p> <strong>$output .= &#8216; &lt;a href=&quot;&#8217;. get_permalink()</strong>..	</li>
<li>Replace it with:
<p><strong>$output .= &#8216; &lt;a href=&quot;&#8217;. get_permalink() . &quot;#more-$id\&quot; class=\&quot;more-link\&quot; rel=\&quot;nofollow\&quot;&gt;$more_link_text&lt;/a&gt;&quot;;</strong>
</li>
<li>You basically add the rel=\&quot;nofollow\&quot; tag to the line</li>
</ul>
<p>This ensures that all more tags will be nofollow from then on.</p>

	Tags: <a href="http://www.ghacks.net/tag/more/" title="more" rel="tag">more</a>, <a href="http://www.ghacks.net/tag/more-tag/" title="more tag" rel="tag">more tag</a>, <a href="http://www.ghacks.net/tag/nofollow/" title="nofollow" rel="tag">nofollow</a>, <a href="http://www.ghacks.net/tag/search-engine-optimization/" title="search engine optimization" rel="tag">search engine optimization</a>, <a href="http://www.ghacks.net/tag/search-engines/" title="Search Engines" rel="tag">Search Engines</a>, <a href="http://www.ghacks.net/tag/seo/" title="seo" rel="tag">seo</a>, <a href="http://www.ghacks.net/tag/wordpress/" title="wordpress" rel="tag">wordpress</a>, <a href="http://www.ghacks.net/tag/wordpress-seo/" title="wordpress seo" rel="tag">wordpress seo</a>, <a href="http://www.ghacks.net/tag/wordpress-tips/" title="wordpress tips" rel="tag">wordpress tips</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/12/17/wordpress-hack-change-number-of-comments-per-page-in-admin-interface/" title="Wordpress Hack: Change Number Of Comments Per Page In Admin Interface (December 17, 2008)">Wordpress Hack: Change Number Of Comments Per Page In Admin Interface</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/" title="Wordpress Blogs: Create Custom Tag Pages (April 8, 2009)">Wordpress Blogs: Create Custom Tag Pages</a> (5)</li>
	<li><a href="http://www.ghacks.net/2008/09/26/search-engine-position-check/" title="Search Engine Position Check (September 26, 2008)">Search Engine Position Check</a> (8)</li>
	<li><a href="http://www.ghacks.net/2009/07/03/exclude-categories-from-wordpress-feeds/" title="Exclude Categories From Wordpress Feeds (July 3, 2009)">Exclude Categories From Wordpress Feeds</a> (4)</li>
	<li><a href="http://www.ghacks.net/2007/12/18/an-advice-on-buying-and-selling-websites/" title="An Advice on Buying and Selling Websites (December 18, 2007)">An Advice on Buying and Selling Websites</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/04/16/wordpress-seo-advanced-nofollow/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Wordpress Blogs: Create Custom Tag Pages</title>
		<link>http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/</link>
		<comments>http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 07:06:51 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[custom tag pages]]></category>
		<category><![CDATA[custom tags]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress blog]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/</guid>
		<description><![CDATA[A Wordpress blog post consists of a handful of elements like the title and body but also tags, categories and comments. Tag pages usually display excerpts of all posts that use the same tag. One example: If you search for Windows 7 Download on Google you find that a tag page for my website Windows [...]]]></description>
			<content:encoded><![CDATA[<p>A Wordpress blog post consists of a handful of elements like the title and body but also tags, categories and comments. Tag pages usually display excerpts of all posts that use the same tag. One example: If you search for <a href="http://windows7news.com/tag/windows-7-download/">Windows 7 Download</a> on Google you find that a tag page for my website <a href="http://windows7news.com/">Windows 7</a> News is ranking on the third page of the results. Tag pages on the other hand are usually not the pages that visitors expect when visiting a website.</p>
<p>Webmasters can however utilize tag pages better in their Wordpress blogs by creating so called custom tag pages which can contain any information they want. If you open the page above you notice that it does not contain a listing of blog excerpts but a custom page for that tag.</p>
<p>Wordpress provides the means to create those custom tag pages easily. Custom tag pages can be created in the theme directory of the Wordpress directory by adding a new template file to the theme. This new template file needs to begin with tag followed by the post slug of the tag. In the case of the Windows 7 Download tag it would have to be named <strong>tag-windows-7-download.php</strong>.</p>
<p><span id="more-11768"></span>Custom tag pages have a higher priority than the default ones that show only excerpts of the posts. The easiest way to fill the custom tag with content is the following:</p>
<p>Wordpress looks for the following files in order to create those tag pages:</p>
<ul>
<li>tag-slug.php</li>
<li>tag.php</li>
<li>archive.php</li>
<li>index.php</li>
</ul>
<p>Look into your theme folder and see if there is a tag.php file. If it is copy its contents and create a new php file that is using the tag-slug.php as its name. If ther eis no tag.php look for archive.php and finally index.php.</p>
<p>Now simply add content to the file. It might take some experimentation at the beginning but it can be really worth it in the long run. If you have any questions or additions let me know in the comments.</p>

	Tags: <a href="http://www.ghacks.net/tag/blog/" title="blog" rel="tag">blog</a>, <a href="http://www.ghacks.net/tag/custom-tag-pages/" title="custom tag pages" rel="tag">custom tag pages</a>, <a href="http://www.ghacks.net/tag/custom-tags/" title="custom tags" rel="tag">custom tags</a>, <a href="http://www.ghacks.net/tag/tags/" title="tags" rel="tag">tags</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/wordpress/" title="wordpress" rel="tag">wordpress</a>, <a href="http://www.ghacks.net/tag/wordpress-blog/" title="wordpress blog" rel="tag">wordpress blog</a>, <a href="http://www.ghacks.net/tag/wordpress-tips/" title="wordpress tips" rel="tag">wordpress tips</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/02/wordpress-your-attempt-to-edit-this-post-has-failed/" title="Wordpress: Your attempt to edit this post has failed (February 2, 2009)">Wordpress: Your attempt to edit this post has failed</a> (8)</li>
	<li><a href="http://www.ghacks.net/2008/11/25/wordpress-265-security-update/" title="Wordpress 2.6.5 Security Update (November 25, 2008)">Wordpress 2.6.5 Security Update</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/04/09/how-to-show-5-top-categories-in-wordpress/" title="How to show 5 top categories in Wordpress (April 9, 2009)">How to show 5 top categories in Wordpress</a> (9)</li>
	<li><a href="http://www.ghacks.net/2008/08/05/zoundry-raven-portable-blog-editor/" title="Zoundry Raven portable Blog Editor (August 5, 2008)">Zoundry Raven portable Blog Editor</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/04/16/wordpress-seo-advanced-nofollow/" title="Wordpress SEO: Advanced Nofollow (April 16, 2009)">Wordpress SEO: Advanced Nofollow</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Wordpress Hack: Change Number Of Comments Per Page In Admin Interface</title>
		<link>http://www.ghacks.net/2008/12/17/wordpress-hack-change-number-of-comments-per-page-in-admin-interface/</link>
		<comments>http://www.ghacks.net/2008/12/17/wordpress-hack-change-number-of-comments-per-page-in-admin-interface/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 13:10:57 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[The Web]]></category>
		<category><![CDATA[blog software]]></category>
		<category><![CDATA[comment hack]]></category>
		<category><![CDATA[moderate comments]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress comment hack]]></category>
		<category><![CDATA[wordpress comments]]></category>
		<category><![CDATA[wordpress hack]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=9116</guid>
		<description><![CDATA[Wordpress is displaying 20 comments per page in the admin interface. This might not be a problem for users who usually get a handful of comments per day but it forces webmasters with hundreds of comments per day to flip through the pages quite often. The 20 comments per page figure is actually the figure [...]]]></description>
			<content:encoded><![CDATA[<p>Wordpress is displaying 20 comments per page in the admin interface. This might not be a problem for users who usually get a handful of comments per day but it forces webmasters with hundreds of comments per day to flip through the pages quite often. The 20 comments per page figure is actually the figure for both the approved comments and the comments identified as spam.</p>
<p>Another thing that is really annoying in Wordpress 2.7 is the fact that you can either delete all comments on the page, selected comments or all spam comments at once. At 20 spam comments per page and thousands in total this can take a long time to flip through and delete.</p>
<p>The Wordpress hack is actually quite easy to perform even for webmasters who have no knowledge whatsoever regarding html and php. The file that is responsible for the amount of comments that are displayed is called edit-comments.php. It can be found in the wp-admin folder. Make sure you backup that file before you apply the changes so that you can revert back if something should go wrong.</p>
<p><span id="more-9116"></span>Locate the following line in the file, it should be around line 182 in the file:</p>
<p><code>$comments_per_page = apply_filters('comments_per_page', 20, $comment_status);</code></p>
<p>The only thing that you need to do is to change the figure 20 to another figure, e.g. 100 so that it looks like this:</p>
<p><code>$comments_per_page = apply_filters('comments_per_page', 100, $comment_status);</code></p>
<p>Just save the file again and check the display of the comments in the admin interface to make sure everything is working correctly. </p>

	Tags: <a href="http://www.ghacks.net/tag/blog-software/" title="blog software" rel="tag">blog software</a>, <a href="http://www.ghacks.net/tag/comment-hack/" title="comment hack" rel="tag">comment hack</a>, <a href="http://www.ghacks.net/tag/moderate-comments/" title="moderate comments" rel="tag">moderate comments</a>, <a href="http://www.ghacks.net/tag/wordpress/" title="wordpress" rel="tag">wordpress</a>, <a href="http://www.ghacks.net/tag/wordpress-comment-hack/" title="wordpress comment hack" rel="tag">wordpress comment hack</a>, <a href="http://www.ghacks.net/tag/wordpress-comments/" title="wordpress comments" rel="tag">wordpress comments</a>, <a href="http://www.ghacks.net/tag/wordpress-hack/" title="wordpress hack" rel="tag">wordpress hack</a>, <a href="http://www.ghacks.net/tag/wordpress-tips/" title="wordpress tips" rel="tag">wordpress tips</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/16/wordpress-seo-advanced-nofollow/" title="Wordpress SEO: Advanced Nofollow (April 16, 2009)">Wordpress SEO: Advanced Nofollow</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/" title="Wordpress Blogs: Create Custom Tag Pages (April 8, 2009)">Wordpress Blogs: Create Custom Tag Pages</a> (5)</li>
	<li><a href="http://www.ghacks.net/2009/02/11/wordpress-271-update/" title="Wordpress 2.7.1 Update (February 11, 2009)">Wordpress 2.7.1 Update</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/11/25/wordpress-265-security-update/" title="Wordpress 2.6.5 Security Update (November 25, 2008)">Wordpress 2.6.5 Security Update</a> (0)</li>
	<li><a href="http://www.ghacks.net/2008/04/25/wordpress-251-released/" title="Wordpress 2.5.1 released (April 25, 2008)">Wordpress 2.5.1 released</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/12/17/wordpress-hack-change-number-of-comments-per-page-in-admin-interface/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
