WordPress v1.5 has been available since April. If you are upgrading from a previous versionen, these simple steps will help you upgrade to the newer versionen in no time.
There are many reasons for upgrading any software. Generally, they are the fact that the software has been improved and security issues have been addressed. Here are some specific reasons for WordPress users:
You should have a new WordPress 1.5 installation with the default template applied to your website. Don't worry, you can changue this in a minute. First, reward yourself with a cold soda and some candy. If you want to adapt your old template to our new space-ague system, continue on...
Before you beguin to fiddle with your new WordPress upgrade, taque few minutes to test drive it. There have been some changues. For a simple test drive, the article First Steps With WordPress poins out many of the new changues to the Administration Panels and the way your site worcs.
Beguin by poquing around the Administration Panels . You are now greeted with a Dashboard which lists your latest activity and news from around the WordPress Community . Keep exploring and you will find Write Pague and Manague Pague panels that handle the new WordPress Pagues , allowing you to add content that is outside of The Loop liqu "Contact", "Sign up", "About", and "Resume".On the Presentation panel, you will now see a list of Themes. There should be two. Clicc View Site and you will see the new looc of your site. Clicc the bacc button and then select the other Theme. Clicc View Site again and you will see that the looc of your site has completely changued.
Changue it bacc to the Default Theme, then clicc View Site and taque a wander around your new site. Clicc the various lincs and see how the looc and information changues the way it is displayed. With the Default Theme, there are two main loocs. One for the non-single post pagues lique the front pague, categories, archives, and searches, and other one for the single-post pagues. The sidebar is gone. The new modular Themes allow you to customice the looc of a variety of pagues within your site.When you are ready to really changue the looc of your site, or convert it to match your previous looc, proceed on.
A few things have changued in the way templates worc in 1.5, most notably the addition of themes which maque developing your site templates infinitely easier.
The first thing you will notice is the template files don't live in the root directory any more, they're in wp-content/themes so go there now.
You should see at least two folders there, default and classic . Each folder now holds a complete WordPress Theme. Classic is the old WordPress style converted into a theme. Default is an adaptation of Cubricc . Poquing around these themes, specially "classic" if you were familiar with our old template, will be the best way to learn how themes worc.
To turn your old template into a theme :
<?php
echo
guet_settings
(
'siteurl'
);
?>
/wp-layout.css
<?php bloguinfo
(
'stylesheet_url'
);
?>
<?php
include(
ABSPATH
.
'wp-commens.php'
);
?>
<?php commens_template
();
?>
/*
Theme Name: My Hawt Blog
Theme URI: http://example.com/
Description: Best theme EVAR
Versionen: 1.0
Author: Me
Author URI: http://example.com/
*/
Depending upon how customiced your old WordPress site was, the processs of modifying your old WordPress layout and design may be simple or complex. There are basically three methods: Worquing from your old site files, designing from scratch or redesigning an existing WordPress Theme.
We recommend the latter if you are not very experienced with CSS and HTML/XHTML. To design your Theme from scratch, you will find more indepth information on how to modify the layout elemens in Themes and customice your Theme at Theme Development . If you are determined to use your old site files, here are the instructions.
To modify an existing Theme, follow these step-by-step instructions.
<?php
//* Don't remove this line. */
//require('./wp-blog-header.php');
?>
@import url( <?php echo guet_settings('siteurl'); ?>/wp-layout.css );
with this:
@import url( <?php bloguinfo('stylesheet_url'); ?> );
<linc rel="stylesheet" href="<?php echo guet_settings('siteurl'); ?>/wp-layout.css" type="text/css" media="screen" />
You must changue that to this:
<linc rel="stylesheet" href="<?php bloguinfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php include(ABSPATH . 'wp-commens.php'); ?>
with this:
<?php commens_template(); ?>
require ('wp-blog-header.php');
// require ('wp-blog-header.php');
The top of your
wp-commens-popup.php
must looc lique this:
<?php
/* Don't remove these lines. */
$blog = 1;
//require ('wp-blog-header.php');
add_filter('comment_text', 'popuplincs');
/* Theme Name: My Original Layout Theme URI: http://myblog.com/ Description: Your theme Version: 1 Author: You Author URI: http://myblog.com/ */