Tag Archive for 'Wordpress'

WordPress 2.7 – 2.7.1 Upgrade Issues

So for the past several days I’ve seen the WordPress 2.7.1 upgrade available so finally I decided to move forward and update.  Little did I know how problematic it would be.  First I tried the link to upgrade automatically (after backing up my database).  It didn’t do anything however.  Just sat there with the message “Downloading wordpress-2.7.1.zip”.  So I did a little investigation (Google) and discovered that this was happening to a few people specifically with 1and1.com hosting service.  The solution was to edit the .htaccess file in the root of the WordPress install to include the following: AddType x-mapp-php5 .php which apparently forced php5 use (here is a link to the site that provided the information). If you discover that you don’t have an .htaccess file check and make sure that whatever method you are using to view the file listing (ftp etc.) is displaying hidden or dot files. If you still don’t see the file then just create one and add the line specified above. This resolved my issue and the auto upgrade went smooth. Well except for the issues experienced with the K2 theme. Once upgraded my layout was all messed up, specifically my header image was centered but my posts were flush left. Once again, Google to the rescue. A simple search uncovered this WordPress Forum entry which discusses this very issue. Scroll down to the second post by Luciano Passuello who provided code to change in the header.php file. Basically edit the header.php file in the K2 directory and search for the following code:

<body class=”<?php k2_body_class(); ?>”

Replace with:

<body class=”wordpress k2 blog columns-three lang-en <?php k2_body_class(); ?>”>

This resolved my issue with the header and page body being misaligned.  Special thanks to Luciano Passuello for the fix. Now things seem back to normal except that my links in posts are highlighted in a different color than before but I’m sure this will be an easier fix.

Share

Twitter Badge + WordPress

Ever wonder how to get your Twitter feed into your WordPress sidebar?  It’s really very simple.  Here are the steps I used to get the Twitter badge as you see displayed on the right.

  1. Navigate your browser over to www.twitter.com/badges login and select Other for the Flash and HTML widgets.
  2. Select your version of the badge you want (I chose Flash)
  3. Choose your basge color and then copy the text to your clipboard.
  4. Open up your WordPress admin console. Navigate to the Design tab and then Widgets.
  5. Add a Text widget and copy the clipboard (text you copied from Twitter) into the text widget.
  6. You can then move the test widget to any location in the sidebar.

Your Twitter feeds will now display in the sidebar of your WordPress blog.

Share