A new theme for the blog which is the third theme I’ve used since the blog started in 2008. I’ve used a theme called the boot strap. A free theme you can grab it from http://the-bootstrap.obenland.it/.
If you seen any errors or problems give me a tweet, cheers!
So it’s Sunday evening after a great weekend at WordCamp UK 2010 in Manchester. For £20 it’s a bargin and really entertaining two days, providing your interested in WordPress. There were some great examples of successful sites built in WordPress and plenty of help for all.
It looks like a list of presentation will be on the wiki http://wiki.wordcampuk.tonyscott.org.uk/2010_presentation_slides
Last night I attended my first Manchester WordPress User Group Meeting (MWUG). Hosted at the MadLab in the Northern Quarter the group is a great way to learn a little more about WordPress. Below is a quick review of two points discussed with some useful references.
credit – Eric M Martin
1. Post Types
At the moment in the WordPress back end you have the option to add a new post or a new page. What post types allows you to do is add new types of posts, so add a new “movie”, “person” etc rather than adding a new post. This could be very useful if your blog / site is used as a CMS as you have different areas where new content needs adding e.g. a football team site could have several post types – player, match reports, fixtures, ticket information per match etc.
You can accomplish this already by using pages and assign them a different template, but this requires the creation of template files in your theme. Post types should allow you to create the majority from the back end.
The added benefit is that the new post type is added to the menu in the back end which is great for keeping things simple for non techy users.
Mike Little went over an example using some sample code from http://wpengineer.com/impressions-of-custom-post-type/, head over there to read more about post types. This will change the way you create CMS sites using WordPress.
Currently if you want to create a menu thats a mix of posts, categories, has children, but doesn’t show a particular page you would need to use wp_list_pages with various arguments and add the code to your theme. Menus allows the building of menus in the back end add and then the ability to display your menu using widgets.
This system has been taken from Woo Themes (this site runs on) and will be added into WordPress 3.0, you can get it now if you use the subversion access. Head over to http://wordpress.org/development/2010/02/menus-merge-patch-sprint/ for more information on menus in WordPress 3.0.
There was lots more discussed in the evening including a new WordPress driven site from Mike. If you want to get involved head over to the new MWUG blog and the MWUG Google Group.
I’ve been looking for a way to import a csv into pages on WordPress. So far all I’ve found is plugins to import csv’s into posts. In the past I’ve ran mySQL inserts created from spreadsheets, which do work but are time consuming to create.
I’ve found one import scrip which with a simple change will upload csv files into pages. You can download the plugin (well it’t not technically a plug in but an import script which goes in /wp-admin/import) from Zack Preble’s blog.
All you need to do is change line 292 from
That sets the new entry as a page rather than a post. Get your csv ready and upload. This is great for building new sites or transferring sites in to WordPress as you can get the client to prepare all the data in excel first. The other useful tip is for affiliates …… product feeds……
The Manchester WordPress User Group (MWUG) pretty much does what it says on the tin, it’s a group for WordPress users based in Manchester. As a platform WordPress is pretty much everywhere so it makes sense that a group should be started. There’s already a WordPress UK North group but that does include members from Yorkshire.
The group has sprouted from the MDDA and (MWUG) have site over at http://mwug.info/ which is currently been worked on. There’s a Google Group too over at http://groups.google.com/group/manchester-wordpress-user-group and they are on twitter too @mwug. So if you like WordPress and your based in Manchester get signed up to the group and down to a meeting!
It’s a new year and a good New Years Resolution is to upgrade any software running on your site. Before Christmas WordPress 2.7 was released with a lot of hype due to the major changes to the administration section. Although many have been happy with the upgrade many WordPress users have had problems with the new release.
The general chat and forum posts (e.g. tin68) seemed to pin point the problem not with WordPress but with web host or plugins not compatible with 2.7.
So if your planning an upgrade or have upgraded here are a few tips.
Before doing anything take a backup of your entire MySql database and all files that WordPress uses.
If you have done the installation and WordPress 2.7 is running slow switch off all your plug ins and try the back end.
If it’s still not working install a second version of WordPress 2.7 add some posts into the blog. Try the backend, if it works the problem might be corrupt database on your original blog, try exporting articles from the old blog into the new installation. If the second installation doesn’t work at all then it looks like your host is the problem. Your now going to have to get in contact with your hosting company, but before that open a thread at http://wordpress.org/support with a link to a php info file uploaded on your site.
If your still not having any luck after a post on WordPress you might want to get in contact with your host to ask if they are running the latest version of PHP.
So if you are planning on a upgrade, Good luck, and if you have upgraded and your having problems then you might want to check out the old versions of WordPress.