Muffinresearch Labs by Stuart Colville

Moved server and fixed WordPress 2.1 Blogrolls | Comments (1)

Posted in Hosting, Muffin Research Labs on 6th February 2007, 4:11 pm by Stuart

If you’re reading this the DNS has successfully propagated.

At the same time as updating the site I took the opportunity to upgrade to WordPress 2.1. Aside from needing to change the blogroll categories and update the function in the template all went fairly well.

The blogroll has been merged with the other categories so if you were referencing your blogrolls and link list via id it’s likely that your ids will have changed. The easiest way to find out what’s going on is to go and look at the blogroll maintainence screens and look at the category links have changed to.

The other issue for me is that the wp_get_links function seems to have changed causing the links to be output with a load of brs etc. To fix this I looked at the code and found that the function get_links() did what I wanted. Thus I changed from this:

<?php wp_get_links(4); ?>

to:

<?php get_links(37,'<li>','</li>','',false,'name',false,false); ?>

The difference being I am now specifying the markup before and after the links and whether to display the descriptions or not.

Post Tools

Comments: Add yours

1. On February 6th, 2007 at 7:21 pm Devon said:

I didn’t like the way Wordpress forced me to have a blogrolls as a category, so I removed it from being a default category and then I was able to delete the category completely. I felt better then. Otherwise, I like the new 2.1. Especially since there’s a decent native export and it exports in XML. Yummy!







XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Using Loggerhead with mod_wsgi|(0)

Here’s a post I wrote over on the Project Fondue Blog about our use of Loggerhead with mod_wsgi under Apache. Loggerhead is the rather nice branch viewer for bazaar branches as used on Launchpad.net.

If you’re not already subscribed to the Project Fondue blog feed then I can recommend it, as there should be some interesting posts coming out of there in the coming months (yes I’m unashamedly biased!).

Ubuntu: Turn off changing workspace with mouse wheel|(1)

I found the changing with the workspace with the mouse wheel really annoying. To disable it go to System => Preferences => CompizConfig (available if the compizconfig-settings-manager package is installed) and uncheck “Viewport Switcher” which is under the “Desktop” heading.

Photos on Flickr

© Copyright 2004-10 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.548s.