Okay, like, a lot of work has gone into making the upgrade process as smooth as possible for you, eh? and it does work. We drank a two-four of Canadian doin' this. So, it works, eh? Really. Just do EXACTLY what is listed here and it will be slicker than fresh ice at a hockey game. Don't skip stuff, eh? or think that you know better - you'll just end up frustrated and posting to the forums, and then a big-assed moose will like, tapdance all over you, eh?
Read this first and if you are unsure, post questions to the forums, eh? Not the Montreal Forum, though, 'cause like, they tore it down. Just post to the WordPress forum. It is easier to get things right than fix a mistake you have made because you weren't skating clockwise instead of not-clockwise.
You gotta have :
Your blog. Your data. Your loss if it all goes like shit through a goose. Make a backup of the database AND a backup of all the WordPress files before you start the process below. I accept no responsibility for any loss of data, or for any spilled beer.
On your desktop, create a new folder called "WP files". Into this, download the following files (yeah, I know you've downloaded them once, eh? but you need to do this, eh?)
Also download any other files which you have, like, changed a lot, eh? - an example would be vars.php if you have changed smilies. Smilies are what you get when you show up to your buddy's house to watch the playoffs and YOU bring the brew!
Your backup is just that - a backup - and these files will become altered which is why the double download. So, take off, eh?
Now you gotta download a few more files. Kinda like you need more back bacon with your oeufs in the morning, eh? On your desktop, create a new folder called "My Beer " (or "My Plugs"). Okay, hoser, now download all your plugins and all other folders that may be inside your plugins directory on your site.
The following changes are needed so that your current layout is carried through into the upgraded blog. Do all of this using the files you downloaded seperately, so that your upgrade will be sweeter than a natural hattrick in the All-star game!
<?php
//* Don't remove this line. */
//require('./wp-blog-header.php');
?>
@import url( <?php bloginfo('stylesheet_url'); ?> );
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php comments_template(); ?>
// require ('wp-blog-header.php');The top of your wp-comments-popup.php must look like this:
<?phpSave the file, and shotgun another brew. Hopefully you still have some cold ones left in the fridge.
/* Don't remove these lines. */
$blog = 1;
//require ('wp-blog-header.php');
add_filter('comment_text', 'popuplinks');
/*
Theme Name: My Original layout
Theme URI: http://myblog.com/
Description: Your theme
Version: 1
Author: You and 24 beer
Author URI: http://myblog.com/
*/
You gotta get it from http://wordpress.org/download
Unzip this on your computer, and then go to Tim Hortons for an extra-large-double-double and a honey dip. Once you're back, check your progress.
It should unzip into four folders and several files.
If it all unzips into one big folder full of files, delete them and unzip the download again. Check whichever program you use to unzip and make sure it maintains the folder structure, eh? otherwise you will hose your upgrade!
Now, you gotta move those files you were just editing into this new download. It's easier than falling on your ass while skating on a pond.
Your 1.5 upload is about ready to go - time for another honey dip and a sip of that Elixir of Life from Timmy's!
The folder wp-images has not changed since 1.2 Mingus. You don't gotta upload this if you are upgrading, and can delete this folder from the 1.5 download if you want.
Now delete all these WP files. All of them. If you have 1.2, 1.2.1 or 1.2.2 then here is a list of what needs deleting:
If you just overwrite files, you WILL get errors. Probably a whole lot of them. DELETE instead and then you can crack open another can of frosty Canadian!
Check that none of the uploaded files have a size of 0 (zero). If they do, re-upload that file, 'cause a zero file size is like an instigator penalty with a game misconduct!
Scroll down for a mini-FAQ and a good poutine recipe.
You will need to reactivate your plugins and put away all the empty cans of beer.
Use your ftp client to CHMOD any directories and your cell phone to order pizza.
Use your ftp client to CHMOD your .htaccess file to 664 and regenerate your rewrite rules by going to Options > permalinks (Thanks to Au Yong)
Your site will have switched to the new default style.
Click the "Presentation" tab at the top of the screen.
Now "Select" the theme called My original layout
Have a look at your blog - and smile like you just won game seven of the Stanley Cup!
Is anything hosed? Images maybe? You may have to edit style.css to get the image paths correct - you can do this through the Theme editor (it's just under the main set of headings on the same page as the Themes list).
Specifically for this guide, the following people should be thanked:
Ryan Boren - not only for writing lots of code in the first place, but for providing the skeleton guide from which this page has arisen.
And everyone here has helped by volunteering their time (in response to a post on my blog) by testing this guide, pointing out gaps, making suggestions and otherwise helping so that your WordPress upgrade is made as smooth as possible. In alpha order, they are: |Memo|, AJ, Bryan, ch3wbacca, Charlie, Cyndy,
Gary, Shadow, SLH, Terry and the brewers of Canada, along with the Tim Hortons corporation, makers of the finest coffee and donuts
in this universe.
If there is a README provided with the themes, then don't be a hoser...READ IT, EH?
Terms of use, and other themes may be found on the WordPress Codex and in this Forum thread.