<?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>WordPress Hacks &#187; WordPress Blogroll</title>
	<atom:link href="http://wphacks.com/tag/wordpress-blogroll/feed/" rel="self" type="application/rss+xml" />
	<link>http://wphacks.com</link>
	<description>WordPress Themes, Plugins, Hacks, Tutorials, and more!</description>
	<lastBuildDate>Thu, 02 Feb 2012 15:20:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WordPress Blogroll Code: Separating Your Categories</title>
		<link>http://wphacks.com/wordpress-blogroll-code-separating-your-categories/</link>
		<comments>http://wphacks.com/wordpress-blogroll-code-separating-your-categories/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 11:00:42 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[WordPress Blogroll]]></category>
		<category><![CDATA[WordPress Categories]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress How-To]]></category>
		<category><![CDATA[WordPress Themes]]></category>

		<guid isPermaLink="false">http://wphacks.com/wordpress-blogroll-code-separating-your-categories/</guid>
		<description><![CDATA[I had a reader request for some help with their blogroll recently. The WordPress blogroll has gone through many changes over the past year, and a lot of the WordPress themes authors out there didn&#8217;t update their themes with the new code used to call the blogroll. The old code still works, but it doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I had a reader request for some help with their blogroll recently. The WordPress blogroll has gone through many changes over the past year, and a lot of the WordPress themes authors out there didn&#8217;t update their themes with the new code used to call the blogroll.</p>
<p>The old code still works, but it doesn&#8217;t let you take advantage of the new blogroll capabilities.  If you have set up your blogroll with different categories, but noticed that all of them display under a single category, it is probably because your blog&#8217;s theme is still using the original code that didn&#8217;t allow for much configuration. You&#8217;ll probably find something like this:</p>
<p><code>&lt;?php get_links()' ?&gt;</code></p>
<p>or</p>
<p><code>&lt;?php get_links_list()' ?&gt;</code></p>
<p>If you want a more configurable code, you will want to use something like the following:</p>
<p><code>&lt;?php wp_list_bookmarks('categorize=1&amp;before=&lt;li&gt;&amp;title_before=&lt;h2&gt;&amp;title_after=&lt;/h2&gt;&amp;category_before=&lt;/n&gt;&amp;category_before=&lt;/n&gt;&amp;after=&lt;/li&gt;&amp;orderby=url'); ?&gt;</code></p>
<p>This code will display your blogroll, but will let you have separate lists for your different blogroll categories. I&#8217;ve customized it to display the category title as a Header 2 and use bullet points to display the content, but you can do a variety of things. For more customization options, you&#8217;ll want to check out the <a href="http://codex.wordpress.org/Template_Tags/wp_list_bookmarks">WordPress List Bookmarks page</a> and adjust the code as needed.</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=108&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/wordpress-blogroll-code-separating-your-categories/">WordPress Blogroll Code: Separating Your Categories</a>  © 2007 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/wordpress-blogroll-code-separating-your-categories/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>

