<?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>Anthology of Ideas &#187; WordPress</title>
	<atom:link href="http://anthologyoi.com/archive/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://anthologyoi.com</link>
	<description>Anthology of Ideas is an archive of thoughts and form.</description>
	<lastBuildDate>Thu, 24 Nov 2011 19:07:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress Dashboard Editor</title>
		<link>http://anthologyoi.com/wordpress/plugins/wordpress-dashboard-editor.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-dashboard-editor</link>
		<comments>http://anthologyoi.com/wordpress/plugins/wordpress-dashboard-editor.html#comments</comments>
		<pubDate>Tue, 18 Mar 2008 20:20:58 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[dashboard editor]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://anthologyoi.com/wordpress/plugins/wordpress-dashboard-editor.html</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Of the entire website the Dashboard is seen by administrators the most, but it is the hardest part of WordPress to customize. Well not anymore. This plugin allows you to add whatever you want to the Dashboard through PHP and HTML and allows you to <strong>even add Sidebar Widgets</strong>. You may also wipe the entire dashboard or  individually remove some of the more irritating sections like the Dev news, Planet WordPress and the getting started section. </p>
<p>In WordPress 2.5, the code is cleaner, the plugin is more responsive and you can add both &#8220;real&#8221; sidebar widgets, or add &#8220;fake&#8221; ones to match the dashboard.</p>
<p>This plugin is currently intended for 2.5, but it also works in  WordPress 2.1 &#8211; 2.3 and can work in WordPress 2.0.x if you use the Completely Wipe Dashboard option.</p>
<p><a href='http://anthologyoi.com/wp-content/uploads/2008/03/wordpress-25-dashboard.png'><img src="http://anthologyoi.com/wp-content/uploads/2008/03/wordpress-25-dashboard-300x148.png" alt="" title="wordpress-25-dashboard" width="300" height="148" class="aligncenter size-medium attachment wp-att-535" /></a></p>
<p><strong>Installation is a breeze:</strong></p>
<ol>
<li> <a href='http://downloads.wordpress.org/plugin/wordpress-dashboard-editor.zip' title='Wordpress Dashboard Editor'> Download the zip file for WordPress Dashboard Editor</a></li>
<li>Unzip and upload dashboard.php to your wp-content/plugins/ folder.</li>
<li>Go to your dashboard. There will be a new sub-menu item. </li>
<li>Select any options you want and add any PHP or HTML code that you want to the textbox. </li>
</ol>
<p><strong>Code Examples:</strong></p>
<p>To add a sidebar widget to your dashboard (after selecting the option from the Dashboard management page) use the code:<br />
<span class='code_child' style='display:; padding:4px;'>&lt;?php dynamic_sidebar(&#039;admin&#039;);?&gt;</span><br />
The Admin sidebar is modified and controlled the exact same way as any other sidebar.</p>
<p>If you use the WP-UserOnline plugin you can use:<br />
<span class='code_child' style='display:; padding:4px;'>&lt;?php echo useronline_page();?&gt;</span>
</p><p>In WordPress 2.1-2.3 f you find that your new content doesn&#8217;t align nicely you can add:</p>
<ol class='code_child' style='overflow:none' ><li class="alt"><code>&lt;div style=&quot;float:left; width:460px;&quot;&gt;</code></li><li><code>//</code></li><li class="alt"><code>//Add all other content here</code></li><li><code>//</code></li><li class="alt"><code>&lt;/div&gt;</code></li></ol>
<p>Any code that can be used in your WordPress Theme can be used in the dashboard. This means that you can have different information appear for the <a href="http://codex.wordpress.org/Roles_and_Capabilities">different user roles</a> among other things.</p>
<div class="social_bookmark">
<em>Bookmark</em><br />
<a class="social_img" rel="nofollow" href="http://del.icio.us/post?url=http://anthologyoi.com/wordpress/plugins/wordpress-dashboard-editor.html&amp;title=WordPress+Dashboard+Editor" title="Add &#039;WordPress Dashboard Editor&#039; to Del.icio.us" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add &#039;WordPress Dashboard Editor&#039; to Del.icio.us" alt="Add &#039;WordPress Dashboard Editor&#039; to Del.icio.us" />
</a>
<a class="social_img" rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http://anthologyoi.com/wordpress/plugins/wordpress-dashboard-editor.html&amp;title=WordPress+Dashboard+Editor" title="Add &#039;WordPress Dashboard Editor&#039; to digg" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add &#039;WordPress Dashboard Editor&#039; to digg" alt="Add &#039;WordPress Dashboard Editor&#039; to digg" />
</a>
<a class="social_img" rel="nofollow" href="http://furl.net/storeIt.jsp?t=WordPress+Dashboard+Editor&amp;u=http://anthologyoi.com/wordpress/plugins/wordpress-dashboard-editor.html" title="Add &#039;WordPress Dashboard Editor&#039; to FURL" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/furl.png" title="Add &#039;WordPress Dashboard Editor&#039; to FURL" alt="Add &#039;WordPress Dashboard Editor&#039; to FURL" />
</a>
<a class="social_img" rel="nofollow" href="http://reddit.com/submit?url=http://anthologyoi.com/wordpress/plugins/wordpress-dashboard-editor.html&amp;title=WordPress+Dashboard+Editor" title="Add &#039;WordPress Dashboard Editor&#039; to reddit" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add &#039;WordPress Dashboard Editor&#039; to reddit" alt="Add &#039;WordPress Dashboard Editor&#039; to reddit" />
</a>
<a class="social_img" rel="nofollow" href="http://www.technorati.com/faves?add=http://anthologyoi.com/wordpress/plugins/wordpress-dashboard-editor.html" title="Add &#039;WordPress Dashboard Editor&#039; to Technorati" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add &#039;WordPress Dashboard Editor&#039; to Technorati" alt="Add &#039;WordPress Dashboard Editor&#039; to Technorati" />
</a>
<a class="social_img" rel="nofollow" href="http://www.stumbleupon.com/submit?url=http://anthologyoi.com/wordpress/plugins/wordpress-dashboard-editor.html&amp;title=WordPress+Dashboard+Editor" title="Add &#039;WordPress Dashboard Editor&#039; to Stumble Upon" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add &#039;WordPress Dashboard Editor&#039; to Stumble Upon" alt="Add &#039;WordPress Dashboard Editor&#039; to Stumble Upon" />
</a>
<a class="social_img" rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://anthologyoi.com/wordpress/plugins/wordpress-dashboard-editor.html&amp;title=WordPress+Dashboard+Editor" title="Add &#039;WordPress Dashboard Editor&#039; to Google Bookmarks" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add &#039;WordPress Dashboard Editor&#039; to Google Bookmarks" alt="Add &#039;WordPress Dashboard Editor&#039; to Google Bookmarks" />
</a>
<a class="social_img" rel="nofollow" href="http://co.mments.com/track?url=http://anthologyoi.com/wordpress/plugins/wordpress-dashboard-editor.html&amp;title=WordPress+Dashboard+Editor" title="Add &#039;WordPress Dashboard Editor&#039; to Co.mments" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/comments.png" title="Add &#039;WordPress Dashboard Editor&#039; to Co.mments" alt="Add &#039;WordPress Dashboard Editor&#039; to Co.mments" />
</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://anthologyoi.com/wordpress/plugins/wordpress-dashboard-editor.html/feed</wfw:commentRss>
		<slash:comments>180</slash:comments>
		</item>
		<item>
		<title>Custom Category Templates on a Archive or Index page.</title>
		<link>http://anthologyoi.com/wordpress/custom-category-templates-on-a-archive-or-index-page.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=custom-category-templates-on-a-archive-or-index-page</link>
		<comments>http://anthologyoi.com/wordpress/custom-category-templates-on-a-archive-or-index-page.html#comments</comments>
		<pubDate>Wed, 23 Jan 2008 21:00:01 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[categories]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://anthologyoi.com/wordpress/custom-category-templates-on-a-archive-or-index-page.html</guid>
		<description><![CDATA[On my home page and in my archives, I use a custom category template to display asides and news articles. This is very easy to do and it only takes a couple seconds of work to create custom category templates in any WordPress theme. The first step is to add the following to your current [...]]]></description>
			<content:encoded><![CDATA[<p>On <a href="http://anthologyoi.com/">my home page</a> and in my archives, I use a custom category template to display <a href="http://anthologyoi.com/archive/blogish/asides">asides</a> and <a href="http://anthologyoi.com/archive/news-briefs">news</a> articles. This is very easy to do and it only takes a couple seconds of work to create custom category templates in any WordPress theme. </p>
<p>The first step is to add the following to your current theme&#8217;s index.php loop after the line that looks like <span class='code_child' style='display:; padding:4px;'>&lt;?php while (have_posts()) : the_post(); ?&gt;</span>, but before any other code.</p>
<ol class='code_child' style='overflow:none' ><li class="alt"><code>&lt;?php $cat_temp = cat_loop();?&gt;</code></li><li><code>	&lt;?php if($cat_temp &amp;&amp; is_numeric($cat_temp)){?&gt;</code></li><li class="alt"><code>		&lt;?php include(&#039;loops/cat_&#039;.$cat_temp.&#039;.php&#039;);?&gt;</code></li><li><code>	&lt;?php }else{ ?&gt;</code></li></ol>
<p>Then add <span class='code_child' style='display:; padding:4px;'>}</span> just before the line <span class='code_child' style='display:; padding:4px;'>endwhile</span>.</p>
<p>The next step is to add the following to your theme&#8217;s functions.php file (you may have to create a file with the same name):</p>
<ol class='code_child' style='overflow:none' ><li class="alt"><code>	function cat_loop(){</code></li><li><code>	global $blog_id,$post, $wp_version;</code></li><li class="alt"><code>		if($wp_version &gt;= 2.3){</code></li><li><code>			global $object_term_cache;</code></li><li class="alt"><code>			$array = $object_term_cache[$blog_id][$post-&gt;ID][&#039;category&#039;];</code></li><li><code>		}else{</code></li><li class="alt"><code>			global $category_cache;</code></li><li><code>			$array = $category_cache[$blog_id][$post-&gt;ID];</code></li><li class="alt"><code>		}</code></li><li><code>		while (list($cat) = each($array)) {</code></li><li class="alt"><code>			if(file_exists(dirname(__FILE__).&#039;/loops/cat_&#039;.$cat.&#039;.php&#039;)){</code></li><li><code>				return $cat;</code></li><li class="alt"><code>			}</code></li><li><code>		}</code></li><li class="alt"><code>	}</code></li><li>Use the following to copy and paste the code.<br /><textarea style='width:90%' cols='20' rows='5'>	function cat_loop(){
	global $blog_id,$post, $wp_version;
		if($wp_version &gt;= 2.3){
			global $object_term_cache;
			$array = $object_term_cache[$blog_id][$post-&gt;ID][&#039;category&#039;];
		}else{
			global $category_cache;
			$array = $category_cache[$blog_id][$post-&gt;ID];
		}
		while (list($cat) = each($array)) {
			if(file_exists(dirname(__FILE__).&#039;/loops/cat_&#039;.$cat.&#039;.php&#039;)){
				return $cat;
			}
		}
	}</textarea></li></ol>
<p>This can be modified to look at author&#8217;s also. Now the only thing you have to do is to create a folder named &#8220;loops&#8221; in your theme&#8217;s folder, and then create a new file with a new &#8220;loop&#8221; &#8212; excluding the while and endwhile parts &#8212; and name it cat_xxx.php where xxx is the id of the category the loops is for. </p>
<p>This can be repeated for single.php, archive.php, or anywhere else a custom loop is useful. You can even use something similar for individual posts or pages.</p>
<p>A post may be in multiple categories, but it will only use the first custom template it finds, so make sure the post is in only one specially styled category at a time.</p>
<div class="social_bookmark">
<em>Bookmark</em><br />
<a class="social_img" rel="nofollow" href="http://del.icio.us/post?url=http://anthologyoi.com/wordpress/custom-category-templates-on-a-archive-or-index-page.html&amp;title=Custom+Category+Templates+on+a+Archive+or+Index+page." title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Del.icio.us" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Del.icio.us" alt="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Del.icio.us" />
</a>
<a class="social_img" rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http://anthologyoi.com/wordpress/custom-category-templates-on-a-archive-or-index-page.html&amp;title=Custom+Category+Templates+on+a+Archive+or+Index+page." title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to digg" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to digg" alt="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to digg" />
</a>
<a class="social_img" rel="nofollow" href="http://furl.net/storeIt.jsp?t=Custom+Category+Templates+on+a+Archive+or+Index+page.&amp;u=http://anthologyoi.com/wordpress/custom-category-templates-on-a-archive-or-index-page.html" title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to FURL" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/furl.png" title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to FURL" alt="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to FURL" />
</a>
<a class="social_img" rel="nofollow" href="http://reddit.com/submit?url=http://anthologyoi.com/wordpress/custom-category-templates-on-a-archive-or-index-page.html&amp;title=Custom+Category+Templates+on+a+Archive+or+Index+page." title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to reddit" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to reddit" alt="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to reddit" />
</a>
<a class="social_img" rel="nofollow" href="http://www.technorati.com/faves?add=http://anthologyoi.com/wordpress/custom-category-templates-on-a-archive-or-index-page.html" title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Technorati" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Technorati" alt="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Technorati" />
</a>
<a class="social_img" rel="nofollow" href="http://www.stumbleupon.com/submit?url=http://anthologyoi.com/wordpress/custom-category-templates-on-a-archive-or-index-page.html&amp;title=Custom+Category+Templates+on+a+Archive+or+Index+page." title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Stumble Upon" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Stumble Upon" alt="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Stumble Upon" />
</a>
<a class="social_img" rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://anthologyoi.com/wordpress/custom-category-templates-on-a-archive-or-index-page.html&amp;title=Custom+Category+Templates+on+a+Archive+or+Index+page." title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Google Bookmarks" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Google Bookmarks" alt="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Google Bookmarks" />
</a>
<a class="social_img" rel="nofollow" href="http://co.mments.com/track?url=http://anthologyoi.com/wordpress/custom-category-templates-on-a-archive-or-index-page.html&amp;title=Custom+Category+Templates+on+a+Archive+or+Index+page." title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Co.mments" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/comments.png" title="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Co.mments" alt="Add &#039;Custom Category Templates on a Archive or Index page.&#039; to Co.mments" />
</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://anthologyoi.com/wordpress/custom-category-templates-on-a-archive-or-index-page.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Organizing WordPress Plugin Bug Reports.</title>
		<link>http://anthologyoi.com/wordpress/plugins/organizing-wordpress-plugin-bug-reports.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=organizing-wordpress-plugin-bug-reports</link>
		<comments>http://anthologyoi.com/wordpress/plugins/organizing-wordpress-plugin-bug-reports.html#comments</comments>
		<pubDate>Fri, 18 Jan 2008 19:39:02 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://anthologyoi.com/wordpress/plugins/organizing-wordpress-plugin-bug-reports.html</guid>
		<description><![CDATA[One of the downsides of having a popular plugin is the amount of support requests, bug reports, and feature suggestions that come in. Well, it’s not that bad, but sometimes it’s difficult to organize what features should be added, what bugs must be tackled first, and what can just be ignored. If you’re one of [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>One of the downsides of having a popular plugin is the amount of support requests, bug reports, and feature suggestions that come in. Well, it’s not that bad, but sometimes it’s difficult to organize what features should be added, what bugs must be tackled first, and what can just be ignored.</p>
<p>If you’re one of the few and the proud over at <a href="http://wordpress.org/extend/plugins/">WP Extend Plugins</a>, you have a nice tool at your disposal to keep track of all your plugin related needs. The tool, you ask? It’s the trac ticketing system over at the <a href="WordPress Plugin Repository">WordPress Plugin Repository</a>. </p></blockquote>
<p> From <a href="http://weblogtoolscollection.com/archives/2008/01/18/plugin-authors-organize-bug-reports-and-feature-requests-using-the-wordpress-plugin-repository/">Weblog Tools Collection</a></p>
<p>For most of my wordpress plugins, like AJAXed WordPress I use <a href="http://svn.wp-plugins.org/ajaxd-wordpress/">SVN</a> and the <a href="WordPress Plugin Repository">WordPress Plugin Repository</a> to <a href="http://dev.wp-plugins.org/log/ajaxd-wordpress/">keep track of changes</a> I make to my plugins between versions to make it easier to write the changelog, but I never considered using it for bug reports. </p>
<p>It would make it so much easier because I have a tendency to get bug reports and feature requests in emails, comments on the extend page, in forums, on the main plugin page, on its readme page. It gets so chaotic that stuff slips through all the time. </p>
<p>I&#8217;m on the verge of writing a Plugin to help me organize it all. <img src='http://anthologyoi.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="social_bookmark">
<em>Bookmark</em><br />
<a class="social_img" rel="nofollow" href="http://del.icio.us/post?url=http://anthologyoi.com/wordpress/plugins/organizing-wordpress-plugin-bug-reports.html&amp;title=Organizing+WordPress+Plugin+Bug+Reports." title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Del.icio.us" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Del.icio.us" alt="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Del.icio.us" />
</a>
<a class="social_img" rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http://anthologyoi.com/wordpress/plugins/organizing-wordpress-plugin-bug-reports.html&amp;title=Organizing+WordPress+Plugin+Bug+Reports." title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to digg" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to digg" alt="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to digg" />
</a>
<a class="social_img" rel="nofollow" href="http://furl.net/storeIt.jsp?t=Organizing+WordPress+Plugin+Bug+Reports.&amp;u=http://anthologyoi.com/wordpress/plugins/organizing-wordpress-plugin-bug-reports.html" title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to FURL" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/furl.png" title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to FURL" alt="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to FURL" />
</a>
<a class="social_img" rel="nofollow" href="http://reddit.com/submit?url=http://anthologyoi.com/wordpress/plugins/organizing-wordpress-plugin-bug-reports.html&amp;title=Organizing+WordPress+Plugin+Bug+Reports." title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to reddit" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to reddit" alt="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to reddit" />
</a>
<a class="social_img" rel="nofollow" href="http://www.technorati.com/faves?add=http://anthologyoi.com/wordpress/plugins/organizing-wordpress-plugin-bug-reports.html" title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Technorati" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Technorati" alt="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Technorati" />
</a>
<a class="social_img" rel="nofollow" href="http://www.stumbleupon.com/submit?url=http://anthologyoi.com/wordpress/plugins/organizing-wordpress-plugin-bug-reports.html&amp;title=Organizing+WordPress+Plugin+Bug+Reports." title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Stumble Upon" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Stumble Upon" alt="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Stumble Upon" />
</a>
<a class="social_img" rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://anthologyoi.com/wordpress/plugins/organizing-wordpress-plugin-bug-reports.html&amp;title=Organizing+WordPress+Plugin+Bug+Reports." title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Google Bookmarks" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Google Bookmarks" alt="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Google Bookmarks" />
</a>
<a class="social_img" rel="nofollow" href="http://co.mments.com/track?url=http://anthologyoi.com/wordpress/plugins/organizing-wordpress-plugin-bug-reports.html&amp;title=Organizing+WordPress+Plugin+Bug+Reports." title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Co.mments" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/comments.png" title="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Co.mments" alt="Add &#039;Organizing WordPress Plugin Bug Reports.&#039; to Co.mments" />
</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://anthologyoi.com/wordpress/plugins/organizing-wordpress-plugin-bug-reports.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Displaying WordPress categories in a horizontal dropdown menu.</title>
		<link>http://anthologyoi.com/wordpress/displaying-wordpress-categories-in-a-horizontal-dropdown-menu.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=displaying-wordpress-categories-in-a-horizontal-dropdown-menu</link>
		<comments>http://anthologyoi.com/wordpress/displaying-wordpress-categories-in-a-horizontal-dropdown-menu.html#comments</comments>
		<pubDate>Wed, 16 Jan 2008 18:05:51 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[categories]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[drop-down menus]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://anthologyoi.com/wordpress/displaying-wordpress-categories-in-a-horizontal-dropdown-menu.html</guid>
		<description><![CDATA[One of my readers recently asked how I created my horizontal menu bar: the short answer is by mixing CSS and Javascript. The first step is to get WordPress to display the menu as a hierarchical list without a title. &#60;?php wp_list_categories(&#039;sort_column=name&#38;sort_order=asc&#38;style=list&#38;children=true&#38;hierarchical=true&#38;title_li=0&#039;); ?&#62; We then wrap this WordPress code in the following so we can [...]]]></description>
			<content:encoded><![CDATA[<p> One of my readers recently asked how I created my horizontal menu bar: the short answer is by mixing CSS and Javascript.</p>
<p>The first step is to get WordPress to display the menu as a hierarchical list without a title. <span class='code_child' style='display:block; padding:4px;'>&lt;?php wp_list_categories(&#039;sort_column=name&amp;sort_order=asc&amp;style=list&amp;children=true&amp;hierarchical=true&amp;title_li=0&#039;); ?&gt;</span>
</p><p>We then wrap this WordPress code in the following so we can style it.  </p>
<ol class='code_child' style='overflow:none' ><li class="alt"><code>&lt;div style=&quot;text-align:center;&quot;&gt;</code></li><li><code>    &lt;ul id=&quot;menu&quot; style=&quot;padding:0; margin:0;&quot;&gt;</code></li><li class="alt"><code>        &lt;?php wp_list_categories(&#039;sort_column=name&amp;sort_order=asc&amp;style=list&amp;children=true&amp;hierarchical=true&amp;title_li=0&#039;); ?&gt;</code></li><li><code>    &lt;/ul&gt;</code></li><li class="alt"><code>&lt;/div&gt;</code></li></ol>
<p>I added this to my header.php, but you can add it anywhere you want it to appear.</p>
<p>The CSS is fairly simple and you just need to add it to your theme&#8217;s <u>style.css</u> file.</p>
<ol class='code_child' style='overflow:none' ><li class="alt"><code>ul#menu {</code></li><li><code>	margin: 0;</code></li><li class="alt"><code>	padding: 0;</code></li><li><code>	list-style: none;</code></li><li class="alt"><code>	width: 100%;</code></li><li><code>	font-size:1.2em;</code></li><li class="alt"><code>}</code></li><li><code>	</code></li><li class="alt"><code>ul#menu li {</code></li><li><code>	float: left;</code></li><li class="alt"><code>	padding: 0;</code></li><li><code>	margin: 0;</code></li><li class="alt"><code>	border-right:solid 1px #fff;</code></li><li><code>}</code></li><li class="alt"><code>	</code></li><li><code>ul#menu ul li {</code></li><li class="alt"><code>	float: none;</code></li><li><code>	position: relative;</code></li><li class="alt"><code>	border-bottom: 1px solid #7EAED7; /* fixes gap problem in IE */</code></li><li><code>	border-left: 1px solid #FFF;</code></li><li class="alt"><code>	z-index:1000;</code></li><li><code>}</code></li><li class="alt"><code>	</code></li><li><code>ul#menu li ul {</code></li><li class="alt"><code>	margin: 0;</code></li><li><code>	padding: 0;</code></li><li class="alt"><code>	display:none;</code></li><li><code>	list-style: none;</code></li><li class="alt"><code>	position: absolute;</code></li><li><code>	background: #9CC;</code></li><li class="alt"><code>}</code></li><li><code>ul#menu ul ul{</code></li><li class="alt"><code>	margin-left: .2em;</code></li><li><code>	position: absolute;</code></li><li class="alt"><code>	top: 0; /* if using borders, -1px to align top borders */</code></li><li><code>	left: 100%;</code></li><li class="alt"><code>}</code></li><li><code>	</code></li><li class="alt"><code>ul#menu * a:hover, ul#menu li a:active{</code></li><li><code>background:#7EAED7 !important;</code></li><li class="alt"><code>color: #FFFFFF;</code></li><li><code>}</code></li><li class="alt"><code>	</code></li><li><code>ul#menu li a:link,</code></li><li class="alt"><code>ul#menu li a:visited,</code></li><li><code>ul#menu li a:hover,</code></li><li class="alt"><code>ul#menu  li a:active{</code></li><li><code>	display: block;</code></li><li class="alt"><code>	padding: .2em .3em;</code></li><li><code>	text-decoration: none;</code></li><li class="alt"><code>	background: #5587B3;</code></li><li><code>	 color: #FFFFFF;</code></li><li class="alt"><code>}</code></li><li><code>	</code></li><li class="alt"><code>	</code></li><li><code>ul#menu ul li a:link,</code></li><li class="alt"><code>ul#menu ul li a:visited,</code></li><li><code>ul#menu ul li a:hover,</code></li><li class="alt"><code>ul#menu ul li a:active {</code></li><li><code>	width: 8em;</code></li><li class="alt"><code>}</code></li><li>Use the following to copy and paste the code.<br /><textarea style='width:90%' cols='20' rows='5'>ul#menu {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	font-size:1.2em;
}

ul#menu li {
	float: left;
	padding: 0;
	margin: 0;
	border-right:solid 1px #fff;
}

ul#menu ul li {
	float: none;
	position: relative;
	border-bottom: 1px solid #7EAED7; /* fixes gap problem in IE */
	border-left: 1px solid #FFF;
	z-index:1000;
}

ul#menu li ul {
	margin: 0;
	padding: 0;
	display:none;
	list-style: none;
	position: absolute;
	background: #9CC;
}
ul#menu ul ul{
	margin-left: .2em;
	position: absolute;
	top: 0; /* if using borders, -1px to align top borders */
	left: 100%;
}

ul#menu * a:hover, ul#menu li a:active{
background:#7EAED7 !important;
color: #FFFFFF;
}

ul#menu li a:link,
ul#menu li a:visited,
ul#menu li a:hover,
ul#menu  li a:active{
	display: block;
	padding: .2em .3em;
	text-decoration: none;
	background: #5587B3;
	 color: #FFFFFF;
}


ul#menu ul li a:link,
ul#menu ul li a:visited,
ul#menu ul li a:hover,
ul#menu ul li a:active {
	width: 8em;
}</textarea></li></ol>
<p>Of course you will need to change the colors and text sizes to ensure it blends with the rest of the theme.</p>
<p>Now the last step is the to make it work as a drop-down list on all browsers. This could be done in Firefox with a simple CSS declaration, but Internet Explorer doesn&#8217;t understand the :hover pseudo classes, so we mimic this in Javascript.</p>
<ol class='code_child' style='overflow:none' ><li class="alt"><code>&lt;script type=&quot;text/javascript&quot;&gt;</code></li><li><code> /*&lt;![CDATA[*/</code></li><li class="alt"><code>	</code></li><li><code>var mbA,mbT,mbTf,mbSf;</code></li><li class="alt"><code>var mbR = [];</code></li><li><code>	</code></li><li class="alt"><code>function mbSet(m) {</code></li><li><code>if (document.getElementById&amp;&amp;document.createElement) {</code></li><li class="alt"><code>	var m=document.getElementById(m);</code></li><li><code>	mbR[mbR.length] = m;</code></li><li class="alt"><code>	var i;</code></li><li><code>	</code></li><li class="alt"><code>	e=m.getElementsByTagName(&#039;a&#039;);</code></li><li><code>	if (!mbTf) mbTf=new Function(&#039;mbHT();&#039;);</code></li><li class="alt"><code>	if (!mbSf) mbSf=new Function(&#039;mbS(this);&#039;);</code></li><li><code>	for (i=0;i&lt;e.length;i++) {</code></li><li class="alt"><code>		e[i].onmouseout=e[i].onblur=mbTf;</code></li><li><code>		e[i].onmouseover=e[i].onfocus=mbSf;</code></li><li class="alt"><code>	}</code></li><li><code>	</code></li><li class="alt"><code>	m=m.getElementsByTagName(&#039;ul&#039;);</code></li><li><code>	for (i=0;i&lt;m.length;i++) {</code></li><li class="alt"><code>		mbH(mbL(m[i]));</code></li><li><code>	}</code></li><li class="alt"><code>}}</code></li><li><code>	</code></li><li class="alt"><code>function mbHA() {</code></li><li><code>	if (mbA) {</code></li><li class="alt"><code>		while (mbA) mbH(mbA);</code></li><li><code>		mbHE(&#039;block&#039;);</code></li><li class="alt"><code>	}</code></li><li><code>}</code></li><li class="alt"><code>	</code></li><li><code>function mbHT() {</code></li><li class="alt"><code>	if (!mbT) mbT=setTimeout(&#039;mbHA();&#039;, 0);</code></li><li><code>}</code></li><li class="alt"><code>	</code></li><li><code>function mbTC() {</code></li><li class="alt"><code>	if (mbT) {</code></li><li><code>		clearTimeout(mbT);</code></li><li class="alt"><code>		mbT=null;</code></li><li><code>	}</code></li><li class="alt"><code>}</code></li><li><code>	</code></li><li class="alt"><code>function mbS(m) {</code></li><li><code>	mbTC();</code></li><li class="alt"><code>	if (mbA) while (mbA&amp;&amp;m!=mbA&amp;&amp;mbP(m)!=mbA) mbH(mbA);</code></li><li><code>	else mbHE(&#039;none&#039;);</code></li><li class="alt"><code>	</code></li><li><code>	if (mbM(m)) {</code></li><li class="alt"><code>		mbSH(m,&#039;block&#039;);</code></li><li><code>		mbA=m;</code></li><li class="alt"><code>	}</code></li><li><code>}</code></li><li class="alt"><code>	</code></li><li><code>function mbH(m) {</code></li><li class="alt"><code>	if (m==mbA) mbA=mbP(m);</code></li><li><code>	mbSH(m,&#039;none&#039;);</code></li><li class="alt"><code>	mbT=null;</code></li><li><code>}</code></li><li class="alt"><code>	</code></li><li><code>function mbL(m) {</code></li><li class="alt"><code>	while (m &amp;&amp; m.tagName != &#039;A&#039;) m = m.previousSibling;</code></li><li><code>	return m;</code></li><li class="alt"><code>}</code></li><li><code>	</code></li><li class="alt"><code>function mbM(l) {</code></li><li><code>	while (l &amp;&amp; l.tagName != &#039;UL&#039;) l = l.nextSibling;</code></li><li class="alt"><code>	return l;</code></li><li><code>}</code></li><li class="alt"><code>	</code></li><li><code>function mbP(m) {</code></li><li class="alt"><code>	var p = m.parentNode.parentNode;</code></li><li><code>	if (p.tagName == &#039;UL&#039;) {</code></li><li class="alt"><code>		var i = 0;</code></li><li><code>		while (i &lt;mbR.length) {</code></li><li class="alt"><code>			if (mbR[i] == p) return null;</code></li><li><code>			i++;</code></li><li class="alt"><code>		}</code></li><li><code>	} else {</code></li><li class="alt"><code>		return null;</code></li><li><code>	}</code></li><li class="alt"><code>	return mbL(p);</code></li><li><code>}</code></li><li class="alt"><code>	</code></li><li><code>function mbSH(m,v) {</code></li><li class="alt"><code>	m.className=v;</code></li><li><code>	mbM(m).style.display=v;</code></li><li class="alt"><code>}</code></li><li><code>	</code></li><li class="alt"><code>function mbHE(v) {</code></li><li><code>	mbHEV(v,document.getElementsByTagName(&#039;select&#039;));</code></li><li class="alt"><code>}</code></li><li><code>	</code></li><li class="alt"><code>function mbHEV(v,e) {</code></li><li><code>	for (var i=0;i&lt;e.length;i++) e[i].style.display=v;</code></li><li class="alt"><code>}</code></li><li><code>/*]]&gt;*/</code></li><li class="alt"><code>&lt;/script&gt;</code></li><li>Use the following to copy and paste the code.<br /><textarea style='width:90%' cols='20' rows='5'>&lt;script type=&quot;text/javascript&quot;&gt;
 /*&lt;![CDATA[*/

var mbA,mbT,mbTf,mbSf;
var mbR = [];

function mbSet(m) {
if (document.getElementById&amp;&amp;document.createElement) {
	var m=document.getElementById(m);
	mbR[mbR.length] = m;
	var i;

	e=m.getElementsByTagName(&#039;a&#039;);
	if (!mbTf) mbTf=new Function(&#039;mbHT();&#039;);
	if (!mbSf) mbSf=new Function(&#039;mbS(this);&#039;);
	for (i=0;i&lt;e.length;i++) {
		e[i].onmouseout=e[i].onblur=mbTf;
		e[i].onmouseover=e[i].onfocus=mbSf;
	}

	m=m.getElementsByTagName(&#039;ul&#039;);
	for (i=0;i&lt;m.length;i++) {
		mbH(mbL(m[i]));
	}
}}

function mbHA() {
	if (mbA) {
		while (mbA) mbH(mbA);
		mbHE(&#039;block&#039;);
	}
}

function mbHT() {
	if (!mbT) mbT=setTimeout(&#039;mbHA();&#039;, 0);
}

function mbTC() {
	if (mbT) {
		clearTimeout(mbT);
		mbT=null;
	}
}

function mbS(m) {
	mbTC();
	if (mbA) while (mbA&amp;&amp;m!=mbA&amp;&amp;mbP(m)!=mbA) mbH(mbA);
	else mbHE(&#039;none&#039;);

	if (mbM(m)) {
		mbSH(m,&#039;block&#039;);
		mbA=m;
	}
}

function mbH(m) {
	if (m==mbA) mbA=mbP(m);
	mbSH(m,&#039;none&#039;);
	mbT=null;
}

function mbL(m) {
	while (m &amp;&amp; m.tagName != &#039;A&#039;) m = m.previousSibling;
	return m;
}

function mbM(l) {
	while (l &amp;&amp; l.tagName != &#039;UL&#039;) l = l.nextSibling;
	return l;
}

function mbP(m) {
	var p = m.parentNode.parentNode;
	if (p.tagName == &#039;UL&#039;) {
		var i = 0;
		while (i &lt;mbR.length) {
			if (mbR[i] == p) return null;
			i++;
		}
	} else {
		return null;
	}
	return mbL(p);
}

function mbSH(m,v) {
	m.className=v;
	mbM(m).style.display=v;
}

function mbHE(v) {
	mbHEV(v,document.getElementsByTagName(&#039;select&#039;));
}

function mbHEV(v,e) {
	for (var i=0;i&lt;e.length;i++) e[i].style.display=v;
}
/*]]&gt;*/
&lt;/script&gt;</textarea></li></ol>
<p>A couple notes on the previous code. </p>
<ol>
<li>To activate it, change your theme&#8217;s &lt;body> tag to &lt;body onload=&#8221;mbSet(&#8216;menu&#8217;);></li>
<li>It was not written by me, but I&#8217;ve been using it for a long time and don&#8217;t remember where I got it. </li>
<li>It can occasionally create a JavaScript error, and I&#8217;ve intended to rewrite it for a long time, but it usually works fine. </li>
</ol>
<div class="social_bookmark">
<em>Bookmark</em><br />
<a class="social_img" rel="nofollow" href="http://del.icio.us/post?url=http://anthologyoi.com/wordpress/displaying-wordpress-categories-in-a-horizontal-dropdown-menu.html&amp;title=Displaying+WordPress+categories+in+a+horizontal+dropdown+menu." title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Del.icio.us" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Del.icio.us" alt="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Del.icio.us" />
</a>
<a class="social_img" rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http://anthologyoi.com/wordpress/displaying-wordpress-categories-in-a-horizontal-dropdown-menu.html&amp;title=Displaying+WordPress+categories+in+a+horizontal+dropdown+menu." title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to digg" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to digg" alt="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to digg" />
</a>
<a class="social_img" rel="nofollow" href="http://furl.net/storeIt.jsp?t=Displaying+WordPress+categories+in+a+horizontal+dropdown+menu.&amp;u=http://anthologyoi.com/wordpress/displaying-wordpress-categories-in-a-horizontal-dropdown-menu.html" title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to FURL" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/furl.png" title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to FURL" alt="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to FURL" />
</a>
<a class="social_img" rel="nofollow" href="http://reddit.com/submit?url=http://anthologyoi.com/wordpress/displaying-wordpress-categories-in-a-horizontal-dropdown-menu.html&amp;title=Displaying+WordPress+categories+in+a+horizontal+dropdown+menu." title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to reddit" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to reddit" alt="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to reddit" />
</a>
<a class="social_img" rel="nofollow" href="http://www.technorati.com/faves?add=http://anthologyoi.com/wordpress/displaying-wordpress-categories-in-a-horizontal-dropdown-menu.html" title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Technorati" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Technorati" alt="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Technorati" />
</a>
<a class="social_img" rel="nofollow" href="http://www.stumbleupon.com/submit?url=http://anthologyoi.com/wordpress/displaying-wordpress-categories-in-a-horizontal-dropdown-menu.html&amp;title=Displaying+WordPress+categories+in+a+horizontal+dropdown+menu." title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Stumble Upon" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Stumble Upon" alt="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Stumble Upon" />
</a>
<a class="social_img" rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://anthologyoi.com/wordpress/displaying-wordpress-categories-in-a-horizontal-dropdown-menu.html&amp;title=Displaying+WordPress+categories+in+a+horizontal+dropdown+menu." title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Google Bookmarks" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Google Bookmarks" alt="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Google Bookmarks" />
</a>
<a class="social_img" rel="nofollow" href="http://co.mments.com/track?url=http://anthologyoi.com/wordpress/displaying-wordpress-categories-in-a-horizontal-dropdown-menu.html&amp;title=Displaying+WordPress+categories+in+a+horizontal+dropdown+menu." title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Co.mments" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/comments.png" title="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Co.mments" alt="Add &#039;Displaying WordPress categories in a horizontal dropdown menu.&#039; to Co.mments" />
</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://anthologyoi.com/wordpress/displaying-wordpress-categories-in-a-horizontal-dropdown-menu.html/feed</wfw:commentRss>
		<slash:comments>314</slash:comments>
		</item>
		<item>
		<title>Tag Management for WordPress 2.3</title>
		<link>http://anthologyoi.com/wordpress/plugins/tag-management-for-wordpress-23.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tag-management-for-wordpress-23</link>
		<comments>http://anthologyoi.com/wordpress/plugins/tag-management-for-wordpress-23.html#comments</comments>
		<pubDate>Mon, 22 Oct 2007 05:47:05 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://anthologyoi.com/wordpress/plugins/tag-management-for-wordpress-23.html</guid>
		<description><![CDATA[Now that you have gotten used to WP 2.3 and had time to fiddle around with all those tags, you are probably finding that you need to edit, rename or delete tags. While I was going to write my own Plugins for this for a while, I found the perfect Plugins to do the work [...]]]></description>
			<content:encoded><![CDATA[<p>   Now that you have gotten used to WP 2.3 and had time to fiddle around with all those tags, you are probably finding that you need to edit, rename or delete tags. While I was going to write my own Plugins for this for a while, I found the perfect Plugins to do the work for me &#8212; and by perfect I mean really good, so I take no responsibility if they eat your dog.</p>
<p>The <a href="http://www.herewithme.fr/wordpress-plugins/simple-tags">Simple Tags</a> has been around for a long time, but now it works perfectly with WordPress tagging. What does it do? Most everything you could want (I could retype the list, but I&#8217;m going to borrow it straight from the Simple Tags website):</p>
<blockquote><ul>
<li><strong>type-ahead input tags</strong></li>
<li>auto suggestion of tags</li>
<li>tags management (rename, delete, amalgamate, search and add tags, edit tags ID)</li>
<li>List of non tagged contents</li>
<li><strong>Edit mass tags</strong></li>
<li><strong>Possibility to tag pages (not only posts) and include them inside the tags results</strong></li>
<li>Related content since common tags</li>
<li>Possibility to add related posts inside RSS</li>
<li><strong>Dynamic Tag Clouds with colors with Widgets</strong></li>
<li>Tags inside your header&#8217;s blog</li>
<li>Embedded tags ([tags]tag1, tag2[/tags]) for retro compatibility</li>
</ul>
</blockquote>
<p>I use <a href="http://anthologyoi.com/about/used-plugins">a lot of Plugins</a> and <a href="http://anthologyoi.com/tag/plugin/">write a lot of Plugins</a>, so the fact that I even use one usually means it is really well made or very useful, but this one is one of the very few that I thought was good enough to promote. Remember, if you have a favorite Plugin, do the author a favor and mention it once or twice. </p>
<p>Oh and what would be really nice is if it had a feature that would suggest related keywords based on the text (there used to be a Yahoo API that did this.) Wink Wink.</p>
<div class="social_bookmark">
<em>Bookmark</em><br />
<a class="social_img" rel="nofollow" href="http://del.icio.us/post?url=http://anthologyoi.com/wordpress/plugins/tag-management-for-wordpress-23.html&amp;title=Tag+Management+for+WordPress+2.3" title="Add &#039;Tag Management for WordPress 2.3&#039; to Del.icio.us" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add &#039;Tag Management for WordPress 2.3&#039; to Del.icio.us" alt="Add &#039;Tag Management for WordPress 2.3&#039; to Del.icio.us" />
</a>
<a class="social_img" rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http://anthologyoi.com/wordpress/plugins/tag-management-for-wordpress-23.html&amp;title=Tag+Management+for+WordPress+2.3" title="Add &#039;Tag Management for WordPress 2.3&#039; to digg" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add &#039;Tag Management for WordPress 2.3&#039; to digg" alt="Add &#039;Tag Management for WordPress 2.3&#039; to digg" />
</a>
<a class="social_img" rel="nofollow" href="http://furl.net/storeIt.jsp?t=Tag+Management+for+WordPress+2.3&amp;u=http://anthologyoi.com/wordpress/plugins/tag-management-for-wordpress-23.html" title="Add &#039;Tag Management for WordPress 2.3&#039; to FURL" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/furl.png" title="Add &#039;Tag Management for WordPress 2.3&#039; to FURL" alt="Add &#039;Tag Management for WordPress 2.3&#039; to FURL" />
</a>
<a class="social_img" rel="nofollow" href="http://reddit.com/submit?url=http://anthologyoi.com/wordpress/plugins/tag-management-for-wordpress-23.html&amp;title=Tag+Management+for+WordPress+2.3" title="Add &#039;Tag Management for WordPress 2.3&#039; to reddit" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add &#039;Tag Management for WordPress 2.3&#039; to reddit" alt="Add &#039;Tag Management for WordPress 2.3&#039; to reddit" />
</a>
<a class="social_img" rel="nofollow" href="http://www.technorati.com/faves?add=http://anthologyoi.com/wordpress/plugins/tag-management-for-wordpress-23.html" title="Add &#039;Tag Management for WordPress 2.3&#039; to Technorati" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add &#039;Tag Management for WordPress 2.3&#039; to Technorati" alt="Add &#039;Tag Management for WordPress 2.3&#039; to Technorati" />
</a>
<a class="social_img" rel="nofollow" href="http://www.stumbleupon.com/submit?url=http://anthologyoi.com/wordpress/plugins/tag-management-for-wordpress-23.html&amp;title=Tag+Management+for+WordPress+2.3" title="Add &#039;Tag Management for WordPress 2.3&#039; to Stumble Upon" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add &#039;Tag Management for WordPress 2.3&#039; to Stumble Upon" alt="Add &#039;Tag Management for WordPress 2.3&#039; to Stumble Upon" />
</a>
<a class="social_img" rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://anthologyoi.com/wordpress/plugins/tag-management-for-wordpress-23.html&amp;title=Tag+Management+for+WordPress+2.3" title="Add &#039;Tag Management for WordPress 2.3&#039; to Google Bookmarks" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add &#039;Tag Management for WordPress 2.3&#039; to Google Bookmarks" alt="Add &#039;Tag Management for WordPress 2.3&#039; to Google Bookmarks" />
</a>
<a class="social_img" rel="nofollow" href="http://co.mments.com/track?url=http://anthologyoi.com/wordpress/plugins/tag-management-for-wordpress-23.html&amp;title=Tag+Management+for+WordPress+2.3" title="Add &#039;Tag Management for WordPress 2.3&#039; to Co.mments" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/comments.png" title="Add &#039;Tag Management for WordPress 2.3&#039; to Co.mments" alt="Add &#039;Tag Management for WordPress 2.3&#039; to Co.mments" />
</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://anthologyoi.com/wordpress/plugins/tag-management-for-wordpress-23.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql Search and Replace.</title>
		<link>http://anthologyoi.com/wordpress/mysql-search-and-replace.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-search-and-replace</link>
		<comments>http://anthologyoi.com/wordpress/mysql-search-and-replace.html#comments</comments>
		<pubDate>Fri, 31 Aug 2007 06:53:16 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[replace]]></category>

		<guid isPermaLink="false">http://anthologyoi.com/wordpress/mysql-search-and-replace.html</guid>
		<description><![CDATA[I&#8217;ve been getting ready for WordPress 2.3, so in preparation I&#8217;ve started cleaning up my database. My first order of business was to clean up the tags database. Over time I&#8217;ve used several different methods of separating words: all spaces, hyphens and underscores have all been used which really makes the nice names ugly. Fixing [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been getting ready for WordPress 2.3, so in preparation I&#8217;ve started cleaning up my database. My first order of business was to clean up the tags database. Over time I&#8217;ve used several different methods of separating words: all spaces, hyphens and underscores have all been used which really makes the nice names ugly. Fixing this was easy, I just used the MYSQL replace command:</p>
<span class='code_child' style='display:block; padding:4px;'>UPDATE `table` SET `field` = REPLACE(Field,&#039;change_me&#039;,&#039;to_me&#039;);</span>
<p>Or specifically for the tags:</p>
<span class='code_child' style='display:block; padding:4px;'>UPDATE `wp_tags` SET `tag` = REPLACE(tag,&#039;_&#039;,&#039; &#039;);</span>
<div class="social_bookmark">
<em>Bookmark</em><br />
<a class="social_img" rel="nofollow" href="http://del.icio.us/post?url=http://anthologyoi.com/wordpress/mysql-search-and-replace.html&amp;title=Mysql+Search+and+Replace." title="Add &#039;Mysql Search and Replace.&#039; to Del.icio.us" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add &#039;Mysql Search and Replace.&#039; to Del.icio.us" alt="Add &#039;Mysql Search and Replace.&#039; to Del.icio.us" />
</a>
<a class="social_img" rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http://anthologyoi.com/wordpress/mysql-search-and-replace.html&amp;title=Mysql+Search+and+Replace." title="Add &#039;Mysql Search and Replace.&#039; to digg" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add &#039;Mysql Search and Replace.&#039; to digg" alt="Add &#039;Mysql Search and Replace.&#039; to digg" />
</a>
<a class="social_img" rel="nofollow" href="http://furl.net/storeIt.jsp?t=Mysql+Search+and+Replace.&amp;u=http://anthologyoi.com/wordpress/mysql-search-and-replace.html" title="Add &#039;Mysql Search and Replace.&#039; to FURL" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/furl.png" title="Add &#039;Mysql Search and Replace.&#039; to FURL" alt="Add &#039;Mysql Search and Replace.&#039; to FURL" />
</a>
<a class="social_img" rel="nofollow" href="http://reddit.com/submit?url=http://anthologyoi.com/wordpress/mysql-search-and-replace.html&amp;title=Mysql+Search+and+Replace." title="Add &#039;Mysql Search and Replace.&#039; to reddit" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add &#039;Mysql Search and Replace.&#039; to reddit" alt="Add &#039;Mysql Search and Replace.&#039; to reddit" />
</a>
<a class="social_img" rel="nofollow" href="http://www.technorati.com/faves?add=http://anthologyoi.com/wordpress/mysql-search-and-replace.html" title="Add &#039;Mysql Search and Replace.&#039; to Technorati" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add &#039;Mysql Search and Replace.&#039; to Technorati" alt="Add &#039;Mysql Search and Replace.&#039; to Technorati" />
</a>
<a class="social_img" rel="nofollow" href="http://www.stumbleupon.com/submit?url=http://anthologyoi.com/wordpress/mysql-search-and-replace.html&amp;title=Mysql+Search+and+Replace." title="Add &#039;Mysql Search and Replace.&#039; to Stumble Upon" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add &#039;Mysql Search and Replace.&#039; to Stumble Upon" alt="Add &#039;Mysql Search and Replace.&#039; to Stumble Upon" />
</a>
<a class="social_img" rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://anthologyoi.com/wordpress/mysql-search-and-replace.html&amp;title=Mysql+Search+and+Replace." title="Add &#039;Mysql Search and Replace.&#039; to Google Bookmarks" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add &#039;Mysql Search and Replace.&#039; to Google Bookmarks" alt="Add &#039;Mysql Search and Replace.&#039; to Google Bookmarks" />
</a>
<a class="social_img" rel="nofollow" href="http://co.mments.com/track?url=http://anthologyoi.com/wordpress/mysql-search-and-replace.html&amp;title=Mysql+Search+and+Replace." title="Add &#039;Mysql Search and Replace.&#039; to Co.mments" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/comments.png" title="Add &#039;Mysql Search and Replace.&#039; to Co.mments" alt="Add &#039;Mysql Search and Replace.&#039; to Co.mments" />
</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://anthologyoi.com/wordpress/mysql-search-and-replace.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trapping WordPress errors with output buffering.</title>
		<link>http://anthologyoi.com/wordpress/trapping-wordpress-errors-with-output-buffering.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=trapping-wordpress-errors-with-output-buffering</link>
		<comments>http://anthologyoi.com/wordpress/trapping-wordpress-errors-with-output-buffering.html#comments</comments>
		<pubDate>Wed, 15 Aug 2007 17:05:21 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[die]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[output buffering]]></category>

		<guid isPermaLink="false">http://anthologyoi.com/wordpress/trapping-wordpress-errors-with-output-buffering.html</guid>
		<description><![CDATA[If you have tried to use AJAX with WordPress, most likely you have stumbled upon the wp_die() function which completely kills the response you expect to get. However, we can trap the wp_die() by using PHP&#8217;s output buffering and the ob_start callback function to process the output of wp_die() even though a die() is called. [...]]]></description>
			<content:encoded><![CDATA[<p>If you have tried to use AJAX with WordPress, most likely you have stumbled upon the wp_die() function which completely kills the response you expect to get. However, we can trap the wp_die() by using PHP&#8217;s output buffering and the ob_start callback function to process the output of wp_die() even though a die() is called. This is a very special case, and will only work when you are able to ensure output buffering can be called before the die is called. </p>
<p>The easiest way to get a non-fatal wp_die() error (an error that shouldn&#8217;t cause the entire application to stop)  is when submitting comments: non-fatal errors occur whenever someone posts too quickly or submits a duplicate comment, so this can be a problem when creating an AJAX app to submit comments (I ran into this problem with <a href="http://anthologyoi.com/inap/">INAP</a>.) </p>
<p>Since AJAX makes the entire submit process very quick, so it is easy to trigger the &#8220;Posting too quickly&#8221; error if the user make short comments, and when this happens an entire page &#8211;complete with CSS and headers&#8211; is returned as the AJAX response. Originally, I detected this by updating the element and then doing doing a regex test on it. If it was an error, I would use another Regex to strip out the error message and update the element again, but because of the CSS, if the same user triggered an error multiple times (eg testing to see if they could submit the comment yet) there would be a momentary flash. I fixed this problem by updating a variable instead of going straight to the element, but it still required using client-side code to process it. </p>
<p>The Setup:<br />
 Some data is posted through AJAX to the server-side script. This script then calls a function (submit_data) which then passes on the data to WordPress. (There is of course PHP and JavaScript that isn&#8217;t shown here.)</p>
<p>The Original Function:</p>
<ol class='code_child' style='overflow:none' ><li class="alt"><code>function submit_form(){</code></li><li><code>global $wpdb, $post,$id;</code></li><li class="alt"><code>	require_once(&#039;../../../../wp-comments-post.php&#039;);</code></li><li><code>	echo &#039;Comment submitted&#039;;</code></li><li class="alt"><code>}</code></li></ol>
<p>The original function just includes the WordPress file that processes the comments. If the Comment is a success WordPress doesn&#8217;t output any data and the &#8220;Comment submitted&#8221; message is echo&#8217;d. However if there is an error, the error message is outputted and the die() is called before the echo occurs. </p>
<p>The new function that traps the error:</p>
<ol class='code_child' style='overflow:none'  title="example code"><li class="alt"><code>function submit_form(){</code></li><li><code>global $wpdb, $post,$id;</code></li><li class="alt"><code>	ob_start(&quot;nodie&quot;);</code></li><li><code>		require_once(&#039;../../../../wp-comments-post.php&#039;);</code></li><li class="alt"><code>	ob_end_clean();</code></li><li><code>	echo &#039;Comment submitted&#039;;</code></li><li class="alt"><code>}</code></li><li><code>	</code></li><li class="alt"><code>function nodie($error){</code></li><li><code>	return $error;</code></li><li class="alt"><code>}</code></li></ol>
<p>Now we have added the lines line 3 and line 5, plus a new function nodie(). The ob_start callback function (the string we pass to it) is only called if that specific ob_start() is supposed to output text. This only happens two times:  when ob_end_flush() is called or if something inside the ob_start function outputs texts and then a die() is called. When the callback function is called the contents of the output buffer is passed as a string and a string should be returned. </p>
<p>In our function we use ob_end_clean() instead of ob_end_flush() which means the contents of the output buffer is destroyed, not echo&#8217;d, so the only time the call back function is called is when, you guessed it, we have an error and WordPress die()&#8217;s inside the ob_start().</p>
<p>Now the nodie() function doesn&#8217;t do anything, but with a little RegEX magic it will return just the error string. Because submitting comments only returns a single error we can just look for the &lt;p&gt;, but if multiple errors may be returned you may want to look for a &lt;ul> also. </p>
<ol class='code_child' style='overflow:none' ><li class="alt"><code>function nodie($error){</code></li><li><code>	preg_match(&#039;@&lt;p&gt;(.*?)&lt;/p&gt;@&#039;, $error,$errs);</code></li><li class="alt"><code>	return $errs[1];</code></li><li><code>}</code></li></ol>
<p>A couple final notes. Inside the nodie function anything that is outputted will not be returned (eg no echo&#8217;s or print_r&#8217;s), but you can call other functions and return their output as a string, so you can create an entire error handling application. Alao, WordPress adds a header to the wp_die() page of text/html if this is inappropriate for your application you can block this by adding the following lines to your function that could cause the error.</p>
<ol class='code_child' style='overflow:none' ><li class="alt"><code>Global  $wp_actions;</code></li><li><code> $wp_actions[] = &#039;admin_head&#039;;  </code></li></ol>
<p>It is rather hackish, but it works. You then can set the header you need in your callback function.</p>
<p>Of course this technique can be used on a larger scale to completely transform the wp_die page, but in the process, it will require that you trap all content in output buffering, and this method can be used with any other PHP program that you don&#8217;t have direct control over.</p>
<div class="social_bookmark">
<em>Bookmark</em><br />
<a class="social_img" rel="nofollow" href="http://del.icio.us/post?url=http://anthologyoi.com/wordpress/trapping-wordpress-errors-with-output-buffering.html&amp;title=Trapping+WordPress+errors+with+output+buffering." title="Add &#039;Trapping WordPress errors with output buffering.&#039; to Del.icio.us" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add &#039;Trapping WordPress errors with output buffering.&#039; to Del.icio.us" alt="Add &#039;Trapping WordPress errors with output buffering.&#039; to Del.icio.us" />
</a>
<a class="social_img" rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http://anthologyoi.com/wordpress/trapping-wordpress-errors-with-output-buffering.html&amp;title=Trapping+WordPress+errors+with+output+buffering." title="Add &#039;Trapping WordPress errors with output buffering.&#039; to digg" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add &#039;Trapping WordPress errors with output buffering.&#039; to digg" alt="Add &#039;Trapping WordPress errors with output buffering.&#039; to digg" />
</a>
<a class="social_img" rel="nofollow" href="http://furl.net/storeIt.jsp?t=Trapping+WordPress+errors+with+output+buffering.&amp;u=http://anthologyoi.com/wordpress/trapping-wordpress-errors-with-output-buffering.html" title="Add &#039;Trapping WordPress errors with output buffering.&#039; to FURL" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/furl.png" title="Add &#039;Trapping WordPress errors with output buffering.&#039; to FURL" alt="Add &#039;Trapping WordPress errors with output buffering.&#039; to FURL" />
</a>
<a class="social_img" rel="nofollow" href="http://reddit.com/submit?url=http://anthologyoi.com/wordpress/trapping-wordpress-errors-with-output-buffering.html&amp;title=Trapping+WordPress+errors+with+output+buffering." title="Add &#039;Trapping WordPress errors with output buffering.&#039; to reddit" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add &#039;Trapping WordPress errors with output buffering.&#039; to reddit" alt="Add &#039;Trapping WordPress errors with output buffering.&#039; to reddit" />
</a>
<a class="social_img" rel="nofollow" href="http://www.technorati.com/faves?add=http://anthologyoi.com/wordpress/trapping-wordpress-errors-with-output-buffering.html" title="Add &#039;Trapping WordPress errors with output buffering.&#039; to Technorati" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add &#039;Trapping WordPress errors with output buffering.&#039; to Technorati" alt="Add &#039;Trapping WordPress errors with output buffering.&#039; to Technorati" />
</a>
<a class="social_img" rel="nofollow" href="http://www.stumbleupon.com/submit?url=http://anthologyoi.com/wordpress/trapping-wordpress-errors-with-output-buffering.html&amp;title=Trapping+WordPress+errors+with+output+buffering." title="Add &#039;Trapping WordPress errors with output buffering.&#039; to Stumble Upon" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add &#039;Trapping WordPress errors with output buffering.&#039; to Stumble Upon" alt="Add &#039;Trapping WordPress errors with output buffering.&#039; to Stumble Upon" />
</a>
<a class="social_img" rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://anthologyoi.com/wordpress/trapping-wordpress-errors-with-output-buffering.html&amp;title=Trapping+WordPress+errors+with+output+buffering." title="Add &#039;Trapping WordPress errors with output buffering.&#039; to Google Bookmarks" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add &#039;Trapping WordPress errors with output buffering.&#039; to Google Bookmarks" alt="Add &#039;Trapping WordPress errors with output buffering.&#039; to Google Bookmarks" />
</a>
<a class="social_img" rel="nofollow" href="http://co.mments.com/track?url=http://anthologyoi.com/wordpress/trapping-wordpress-errors-with-output-buffering.html&amp;title=Trapping+WordPress+errors+with+output+buffering." title="Add &#039;Trapping WordPress errors with output buffering.&#039; to Co.mments" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/comments.png" title="Add &#039;Trapping WordPress errors with output buffering.&#039; to Co.mments" alt="Add &#039;Trapping WordPress errors with output buffering.&#039; to Co.mments" />
</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://anthologyoi.com/wordpress/trapping-wordpress-errors-with-output-buffering.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>INAP 3.0 Progress</title>
		<link>http://anthologyoi.com/wordpress/plugins/inap-30-progress.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=inap-30-progress</link>
		<comments>http://anthologyoi.com/wordpress/plugins/inap-30-progress.html#comments</comments>
		<pubDate>Tue, 14 Aug 2007 04:57:25 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[INAP]]></category>
		<category><![CDATA[private beta]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/inap-30-progress.html</guid>
		<description><![CDATA[Aside from a brief flirtation with a couple payed projects, I&#8217;ve been heavily focusing on rewriting the code for INAP 3.0, and it has almost reached the point of a private beta (which means I start running it on this site.) I have selected the new name for INAP 3.0, but I&#8217;m not going to [...]]]></description>
			<content:encoded><![CDATA[<p>Aside from a brief flirtation with a couple payed projects, I&#8217;ve been heavily focusing on rewriting the code for INAP 3.0, and it has almost reached the point of a private beta (which means I start running it on this site.) I have selected the new name for INAP 3.0, but I&#8217;m not going to reveal it just yet. Here is a small preview of what you can expect from INAP 3.0:</p>
<p>INAP 3.0 is now truly modular with a main Javascript/PHP core that other features hook into to function. This core is easily extensible and the new structure of a main project with many smaller projects will make bugfixes and upgrades less painful, and will allow the user to upgrade the plugin section by section as most changes in the modules won&#8217;t effect the core. </p>
<p>For the users:</p>
<ol>
<li>INAP 3.0 will make upgrades far less painful. With each section managing its own options there won&#8217;t be the constant changes to the way little things work.</li>
<li>Features will flow more freely, and individual sections will reach maturity faster.<br />
Individual modules can be deleted without effecting the rest of the plugin. his will help speed up your WP.</li>
<li>Most bugs and irritants in the current version of INAP have been removed including the entire reload of the comments section when a comment is posted, the extra text added to links has been minimized, the built in effects have been improved, and the entire plugin is faster and easy to use.</li>
</ol>
<p>For the developers:</p>
<ol>
<li>INAP 3.0 core now works off of advanced PHP/Javascript/XML and can easily be extended with custom modules. </li>
<li>The new license is less restrictive that the previous versions.</li>
<li>INAP 3.0 provides a framework that other plugins can hook into to harness its maturity and the hundreds of hours that have gone in to its development. </li>
<li>Global variables have been almost entirely eliminated from both the Javascript and PHP&#8212;INAP 3.0 will play nice.</li>
<li>The Javascript core is entirely independent of the AJAX library used which means that any AJAX library (jQuery, Prototype, Mootools, etc) can be used and and INAP 3.0 will function just as well. Adding new libraries is no harder than adding a couple lines of code.</li>
<li>A few well placed actions and template files can make any theme compatible.</li>
</ol>
<div class="social_bookmark">
<em>Bookmark</em><br />
<a class="social_img" rel="nofollow" href="http://del.icio.us/post?url=http://anthologyoi.com/wordpress/plugins/inap-30-progress.html&amp;title=INAP+3.0+Progress" title="Add &#039;INAP 3.0 Progress&#039; to Del.icio.us" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add &#039;INAP 3.0 Progress&#039; to Del.icio.us" alt="Add &#039;INAP 3.0 Progress&#039; to Del.icio.us" />
</a>
<a class="social_img" rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http://anthologyoi.com/wordpress/plugins/inap-30-progress.html&amp;title=INAP+3.0+Progress" title="Add &#039;INAP 3.0 Progress&#039; to digg" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add &#039;INAP 3.0 Progress&#039; to digg" alt="Add &#039;INAP 3.0 Progress&#039; to digg" />
</a>
<a class="social_img" rel="nofollow" href="http://furl.net/storeIt.jsp?t=INAP+3.0+Progress&amp;u=http://anthologyoi.com/wordpress/plugins/inap-30-progress.html" title="Add &#039;INAP 3.0 Progress&#039; to FURL" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/furl.png" title="Add &#039;INAP 3.0 Progress&#039; to FURL" alt="Add &#039;INAP 3.0 Progress&#039; to FURL" />
</a>
<a class="social_img" rel="nofollow" href="http://reddit.com/submit?url=http://anthologyoi.com/wordpress/plugins/inap-30-progress.html&amp;title=INAP+3.0+Progress" title="Add &#039;INAP 3.0 Progress&#039; to reddit" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add &#039;INAP 3.0 Progress&#039; to reddit" alt="Add &#039;INAP 3.0 Progress&#039; to reddit" />
</a>
<a class="social_img" rel="nofollow" href="http://www.technorati.com/faves?add=http://anthologyoi.com/wordpress/plugins/inap-30-progress.html" title="Add &#039;INAP 3.0 Progress&#039; to Technorati" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add &#039;INAP 3.0 Progress&#039; to Technorati" alt="Add &#039;INAP 3.0 Progress&#039; to Technorati" />
</a>
<a class="social_img" rel="nofollow" href="http://www.stumbleupon.com/submit?url=http://anthologyoi.com/wordpress/plugins/inap-30-progress.html&amp;title=INAP+3.0+Progress" title="Add &#039;INAP 3.0 Progress&#039; to Stumble Upon" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add &#039;INAP 3.0 Progress&#039; to Stumble Upon" alt="Add &#039;INAP 3.0 Progress&#039; to Stumble Upon" />
</a>
<a class="social_img" rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://anthologyoi.com/wordpress/plugins/inap-30-progress.html&amp;title=INAP+3.0+Progress" title="Add &#039;INAP 3.0 Progress&#039; to Google Bookmarks" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add &#039;INAP 3.0 Progress&#039; to Google Bookmarks" alt="Add &#039;INAP 3.0 Progress&#039; to Google Bookmarks" />
</a>
<a class="social_img" rel="nofollow" href="http://co.mments.com/track?url=http://anthologyoi.com/wordpress/plugins/inap-30-progress.html&amp;title=INAP+3.0+Progress" title="Add &#039;INAP 3.0 Progress&#039; to Co.mments" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/comments.png" title="Add &#039;INAP 3.0 Progress&#039; to Co.mments" alt="Add &#039;INAP 3.0 Progress&#039; to Co.mments" />
</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://anthologyoi.com/wordpress/plugins/inap-30-progress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.3 is looking good.</title>
		<link>http://anthologyoi.com/wordpress/wordpress-23-is-looking-good.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-23-is-looking-good</link>
		<comments>http://anthologyoi.com/wordpress/wordpress-23-is-looking-good.html#comments</comments>
		<pubDate>Tue, 31 Jul 2007 23:31:37 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/wordpress-23-is-looking-good.html</guid>
		<description><![CDATA[I&#8217;ve been playing around with WordPress 2.3 Alpha and so far I like it. Good Things: I like the new post status &#8220;Pending Review&#8221; and the ability to sort posts by status. Somone posted pictures here. Tags are looking good.. A UTW tag importer is built in; of course, I realized this only after I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing around with WordPress 2.3 Alpha and so far I like it. </p>
<p>Good Things:</p>
<ol>
<li>I like the new post status &#8220;Pending Review&#8221; and the ability to sort posts by status. <a href="http://mdawaffe.wordpress.com/2007/05/29/improved-post-and-page-management-in-wordpress/">Somone posted pictures here.</a></li>
<li>Tags are looking good.. </li>
<li>A UTW tag importer is built in; of course, I realized this only after I created one. </li>
<li>The &#8220;categories&#8221; database tables have been retired and everything is tag based (categories are a type of tag similar to the ways pages are just a form of post). I&#8217;m almost giddy at the possibilities.  </li>
<li>Major features of <a href="http://anthologyoi.com/inap/">INAP</a> still work. Pheww.</li>
<li>Not finished yet, but hopefully, searches organized by relevance instead of date will also be released.</li>
</ol>
<p>Bad things (that will probably be fixed soon):</p>
<ol>
<li>It seems you can&#8217;t add child categories in the July 28 Trunk, but I assume this will be fixed.</li>
<li>No &#8220;Manage Tags&#8221; page yet.</li>
</ol>
<div class="social_bookmark">
<em>Bookmark</em><br />
<a class="social_img" rel="nofollow" href="http://del.icio.us/post?url=http://anthologyoi.com/wordpress/wordpress-23-is-looking-good.html&amp;title=WordPress+2.3+is+looking+good." title="Add &#039;WordPress 2.3 is looking good.&#039; to Del.icio.us" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add &#039;WordPress 2.3 is looking good.&#039; to Del.icio.us" alt="Add &#039;WordPress 2.3 is looking good.&#039; to Del.icio.us" />
</a>
<a class="social_img" rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http://anthologyoi.com/wordpress/wordpress-23-is-looking-good.html&amp;title=WordPress+2.3+is+looking+good." title="Add &#039;WordPress 2.3 is looking good.&#039; to digg" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add &#039;WordPress 2.3 is looking good.&#039; to digg" alt="Add &#039;WordPress 2.3 is looking good.&#039; to digg" />
</a>
<a class="social_img" rel="nofollow" href="http://furl.net/storeIt.jsp?t=WordPress+2.3+is+looking+good.&amp;u=http://anthologyoi.com/wordpress/wordpress-23-is-looking-good.html" title="Add &#039;WordPress 2.3 is looking good.&#039; to FURL" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/furl.png" title="Add &#039;WordPress 2.3 is looking good.&#039; to FURL" alt="Add &#039;WordPress 2.3 is looking good.&#039; to FURL" />
</a>
<a class="social_img" rel="nofollow" href="http://reddit.com/submit?url=http://anthologyoi.com/wordpress/wordpress-23-is-looking-good.html&amp;title=WordPress+2.3+is+looking+good." title="Add &#039;WordPress 2.3 is looking good.&#039; to reddit" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add &#039;WordPress 2.3 is looking good.&#039; to reddit" alt="Add &#039;WordPress 2.3 is looking good.&#039; to reddit" />
</a>
<a class="social_img" rel="nofollow" href="http://www.technorati.com/faves?add=http://anthologyoi.com/wordpress/wordpress-23-is-looking-good.html" title="Add &#039;WordPress 2.3 is looking good.&#039; to Technorati" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add &#039;WordPress 2.3 is looking good.&#039; to Technorati" alt="Add &#039;WordPress 2.3 is looking good.&#039; to Technorati" />
</a>
<a class="social_img" rel="nofollow" href="http://www.stumbleupon.com/submit?url=http://anthologyoi.com/wordpress/wordpress-23-is-looking-good.html&amp;title=WordPress+2.3+is+looking+good." title="Add &#039;WordPress 2.3 is looking good.&#039; to Stumble Upon" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add &#039;WordPress 2.3 is looking good.&#039; to Stumble Upon" alt="Add &#039;WordPress 2.3 is looking good.&#039; to Stumble Upon" />
</a>
<a class="social_img" rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://anthologyoi.com/wordpress/wordpress-23-is-looking-good.html&amp;title=WordPress+2.3+is+looking+good." title="Add &#039;WordPress 2.3 is looking good.&#039; to Google Bookmarks" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add &#039;WordPress 2.3 is looking good.&#039; to Google Bookmarks" alt="Add &#039;WordPress 2.3 is looking good.&#039; to Google Bookmarks" />
</a>
<a class="social_img" rel="nofollow" href="http://co.mments.com/track?url=http://anthologyoi.com/wordpress/wordpress-23-is-looking-good.html&amp;title=WordPress+2.3+is+looking+good." title="Add &#039;WordPress 2.3 is looking good.&#039; to Co.mments" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/comments.png" title="Add &#039;WordPress 2.3 is looking good.&#039; to Co.mments" alt="Add &#039;WordPress 2.3 is looking good.&#039; to Co.mments" />
</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://anthologyoi.com/wordpress/wordpress-23-is-looking-good.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Multi-plugin Plugin</title>
		<link>http://anthologyoi.com/wordpress/plugins/multi-plugin-plugin.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=multi-plugin-plugin</link>
		<comments>http://anthologyoi.com/wordpress/plugins/multi-plugin-plugin.html#comments</comments>
		<pubDate>Mon, 02 Jul 2007 12:59:18 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[admin tool]]></category>
		<category><![CDATA[php scripts]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://anthologyoi.com/wordpress/plugins/multi-plugin-plugin.html</guid>
		<description><![CDATA[Multi-plugin is a very simple script that allows you to add small bits of PHP scripts, such as WordPress filters, without having to make a plugin for them. Download Multi-plugin Installation is as simple as renaming the file to .php, uploading it to your server, activating it, and adding some script to the textbox (for [...]]]></description>
			<content:encoded><![CDATA[<p>Multi-plugin is a very simple script that allows you to add small bits of PHP scripts, such as WordPress filters, without having to make a plugin for them.</p>
<p>Download <a href='http://anthologyoi.com/wp-content/uploads/2007/06/multi-plugin.txt' title='Multi-plugin'>Multi-plugin</a></p>
<p>Installation is as simple as renaming the file to .php, uploading it to your server, activating it, and adding some script to the textbox (for example, I use the following code to remove the nofollow attribute from comments.)</p>
<ol class='code_child' style='overflow:none' ><li class="alt"><code>&lt;?php</code></li><li><code>add_filter(&#039;get_comment_author_link&#039;, &#039;aoi_follow&#039;);</code></li><li class="alt"><code>add_filter(&#039;comment_text&#039;, &#039;aoi_follow&#039;);</code></li><li><code>function aoi_follow($link){</code></li><li class="alt"><code>   return preg_replace(&#039;/(&lt;a.*?rel[^&gt;]*)nofollow(.*?)/&#039;,&#039;${1}${2}&#039;,$link);</code></li><li><code>}</code></li><li class="alt"><code>	</code></li><li><code>?&gt;</code></li></ol>
<p>You can also use the following to add the trailing slash back onto feeds, categories, pages, etc. in WordPress 2.2+.</p>
<ol class='code_child' style='overflow:none' ><li class="alt"><code>&lt;?php</code></li><li><code>add_filter(&#039;user_trailingslashit&#039;, &#039;aoi_slashit&#039;,10,2);</code></li><li class="alt"><code>function aoi_slashit($string, $type=&#039;&#039;){</code></li><li><code>  if($type == &#039;page&#039; || $type == &#039;category&#039;|| $type == &#039;month&#039;|| $type == &#039;day&#039;|| $type == &#039;paged&#039;|| $type == &#039;feed&#039;){</code></li><li class="alt"><code>    return trailingslashit($string);</code></li><li><code>  }else{</code></li><li class="alt"><code>   return $string;</code></li><li><code>  }</code></li><li class="alt"><code>}</code></li><li><code>?&gt;</code></li><li>Use the following to copy and paste the code.<br /><textarea style='width:90%' cols='20' rows='5'>&lt;?php
add_filter(&#039;user_trailingslashit&#039;, &#039;aoi_slashit&#039;,10,2);
function aoi_slashit($string, $type=&#039;&#039;){
  if($type == &#039;page&#039; || $type == &#039;category&#039;|| $type == &#039;month&#039;|| $type == &#039;day&#039;|| $type == &#039;paged&#039;|| $type == &#039;feed&#039;){
    return trailingslashit($string);
  }else{
   return $string;
  }
}
?&gt;</textarea></li></ol>
<div class="social_bookmark">
<em>Bookmark</em><br />
<a class="social_img" rel="nofollow" href="http://del.icio.us/post?url=http://anthologyoi.com/wordpress/plugins/multi-plugin-plugin.html&amp;title=Multi-plugin+Plugin" title="Add &#039;Multi-plugin Plugin&#039; to Del.icio.us" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add &#039;Multi-plugin Plugin&#039; to Del.icio.us" alt="Add &#039;Multi-plugin Plugin&#039; to Del.icio.us" />
</a>
<a class="social_img" rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http://anthologyoi.com/wordpress/plugins/multi-plugin-plugin.html&amp;title=Multi-plugin+Plugin" title="Add &#039;Multi-plugin Plugin&#039; to digg" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add &#039;Multi-plugin Plugin&#039; to digg" alt="Add &#039;Multi-plugin Plugin&#039; to digg" />
</a>
<a class="social_img" rel="nofollow" href="http://furl.net/storeIt.jsp?t=Multi-plugin+Plugin&amp;u=http://anthologyoi.com/wordpress/plugins/multi-plugin-plugin.html" title="Add &#039;Multi-plugin Plugin&#039; to FURL" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/furl.png" title="Add &#039;Multi-plugin Plugin&#039; to FURL" alt="Add &#039;Multi-plugin Plugin&#039; to FURL" />
</a>
<a class="social_img" rel="nofollow" href="http://reddit.com/submit?url=http://anthologyoi.com/wordpress/plugins/multi-plugin-plugin.html&amp;title=Multi-plugin+Plugin" title="Add &#039;Multi-plugin Plugin&#039; to reddit" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add &#039;Multi-plugin Plugin&#039; to reddit" alt="Add &#039;Multi-plugin Plugin&#039; to reddit" />
</a>
<a class="social_img" rel="nofollow" href="http://www.technorati.com/faves?add=http://anthologyoi.com/wordpress/plugins/multi-plugin-plugin.html" title="Add &#039;Multi-plugin Plugin&#039; to Technorati" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add &#039;Multi-plugin Plugin&#039; to Technorati" alt="Add &#039;Multi-plugin Plugin&#039; to Technorati" />
</a>
<a class="social_img" rel="nofollow" href="http://www.stumbleupon.com/submit?url=http://anthologyoi.com/wordpress/plugins/multi-plugin-plugin.html&amp;title=Multi-plugin+Plugin" title="Add &#039;Multi-plugin Plugin&#039; to Stumble Upon" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add &#039;Multi-plugin Plugin&#039; to Stumble Upon" alt="Add &#039;Multi-plugin Plugin&#039; to Stumble Upon" />
</a>
<a class="social_img" rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://anthologyoi.com/wordpress/plugins/multi-plugin-plugin.html&amp;title=Multi-plugin+Plugin" title="Add &#039;Multi-plugin Plugin&#039; to Google Bookmarks" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add &#039;Multi-plugin Plugin&#039; to Google Bookmarks" alt="Add &#039;Multi-plugin Plugin&#039; to Google Bookmarks" />
</a>
<a class="social_img" rel="nofollow" href="http://co.mments.com/track?url=http://anthologyoi.com/wordpress/plugins/multi-plugin-plugin.html&amp;title=Multi-plugin+Plugin" title="Add &#039;Multi-plugin Plugin&#039; to Co.mments" ><img src="http://anthologyoi.com/wp-content/plugins/social-bookmarking-reloaded/comments.png" title="Add &#039;Multi-plugin Plugin&#039; to Co.mments" alt="Add &#039;Multi-plugin Plugin&#039; to Co.mments" />
</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://anthologyoi.com/wordpress/plugins/multi-plugin-plugin.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

