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>



Standalone mac battery charger|(0)

Got a spare mac battery? I’ve often wondered why up until now no-one’s produced a standalone charger so that you can charge batteries without having to plug them into the mac. Fortunately Fastmac.com have produced a standalone charger that allows you to do just that. and it’s compatible with iBooks, Powerbooks, macbooks and Macbook Pros. It’s also 110/200v. Exactly what I was looking for!

Django Admin Ominigraffle Stencil|(0)

Colleague Alex Lee has created a nice stencil for omingraffle with the Django Admin UI components, perfect for wireframing customised admin screens. For more details and to download the stencil see Alex’s Blog csensedesign.co.uk

Photos on Flickr

© Copyright 2004-08 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by 1&1 This page was baked in 0.699s.