Tagged: Wordpress

WordPress Widgets

=== UTW Related Posts ===

There does exist a [[http://israelsson.nu/blog/projects/wpw-related-posts/|related posts]] widget that uses the [[http://www.w-a-s-a-b-i.com/archives/2006/02/02/wordpress-related-entries-20/|related posts plugin]]. However, I wanted a widget that would use [[http://www.neato.co.nz/ultimate-tag-warrior/|Ultimate Tag Warrior]]. So I wrote up one to use that. Note that you need to have the UTW plugin installed to use this widget.


[[http://floatingsun.net/data/code/utw-related-posts.phps|UTW Related Posts]]

Though I have been using this widget for a couple of weeks now, I didn’t release it immediately. It seems another [[http://saboya.org/344/|UTW related posts]] widget was released in the meanwhile. I love open source! :-)

=== Subpages ===

When I started using the widgetised sidebar in K2, I realized that my subpages were no longer showing up when I was viewing a page. So I wrote a subpages widget — it only shows up on a page, and only if the page has some subpages.


[[http://floatingsun.net/data/code/subpages.phps | Subpages Widget]]

**Update 8/13/2007**: Updated to work with WP2.0+

**Update 9/1/2006**: I’ve added another option called “Sibling Title” to the widget. This will control the “label” for the siblings section.

**Update 8/19/2006**: I’ve added a “Show siblings?” option to the widget. When checked, it will additionally display the list of pages at the same level as the current page (hopefully). Please check it out and let me know if anything breaks.

==== Previous versions ====
* [[http://floatingsun.net/data/code/subpages-0.3.phps | Version 0.3]]
* [[http://floatingsun.net/data/code/subpages-0.2.phps | Version 0.2]]
* [[http://floatingsun.net/data/code/subpages-0.1.phps | Version 0.1]]

WP-Cache problems


I’ve recently enabled [[http://mnm.uib.es/gallir/wp-cache-2/|WP-Cache 2]] on my blog to see if it would speed things up. The blog takes terribly long to load otherwise. I suspect all that Dokuwiki parking is probably slowing things down a bit. Anyways, so I ran into a problem where on every first load of a page, I would get a blank page. On a reload though, the page would show up fine. After some Googling, I landed up [[http://wordpress.org/support/topic/48777|here]] and found a fix [[http://wordpress.org/support/topic/48777#post-380041|here]]. Now to check if it works — if you still get a blank page at times, please leave a note here.

WP-Dokuwiki development update


I’ve decided to move the development of WP-Dokuwiki over to the official [[http://dev.wp-plugins.org/ | WordPress plugins repository]]. Why did I do this? [[http://dev.wp-plugins.org/wiki/GetHosted|This page]] explains it all.

The source for the plugin can now be found at [[http://dev.wp-plugins.org/browser/wp-dokuwiki/]]. Please use the [[http://dev.wp-plugins.org/newticket|bug tracker]] to for bugs. If you want to test the bleeding edge code, you can track the trunk:


$ cd /path/to/wp-content/plugins
$ svn co http://svn.wp-plugins.org/wp-dokuwiki/trunk/wp-dokuwiki

I will continue to host the tar-balls for each version. Meanwhile you can always download the plugin directly from dev.wp-plugins.org, or get a Zip file from [[http://redalt.com/External/plugins.php|RedAlt's WordPress plugin download interface]].

WP Dokuwiki 0.3


A new release is out! Grab it [[http://floatingsun.net/code/wp-dokuwiki-0.3.tar.bz2|here]]. More details on installation and usage available from the [[http://floatingsun.net/blog/code/wp-dokuwiki/|plugin page]]. This release has some **major changes** so I highly recommend upgrading. Here’s a quick summary of changes:

* Updated the plugin to the latest version of Dokuwiki (2006-03-09). Look at the [[http://wiki.splitbrain.org/wiki:changes|ChangeLog]] to see what all has changed. This is a significantly improvement over the last release of Dokuwiki, so you get all those niceties in your plugin as well.
* Added support for the [[http://wiki.splitbrain.org/plugin:google_maps|Google Maps]] plugin. So now you can have pretty google maps in your posts/pages.
* Added support for the [[http://wiki.splitbrain.org/plugin:boxes|Boxes]] plugin. This plugin is really flexible, and you can easily define your own box types.
* I’ve removed the [[http://wiki.splitbrain.org/plugin:note|Note plugin]], since I think the functionality of the Boxes plugin supercedes that of the Note plugin. Don’t worry, you can still get all those pretty boxes. Instead of using ”note classic” and ”note important”, you can now do ”box note” and ”box important”.

Also, I’ve added a demo [[http://floatingsun.net/blog/code/wp-dokuwiki/test-page/|test page]] to showcase and test all of the functionality available in the plugin. So go ahead and take a peek.

Enjoy!