WordPress secure Backup

My requirement was to find a secure backup solution that would generate full backups of a whole WordPress website including the database, theme files, uploaded images, settings, etc. The backups would be stored on the web with a separate host to ensure the content would survive in the event of almost any failure.  The selected solution would also automate restoring and transfers to a new server.

Continue reading

Posted in Software tools, WordPress | Tagged | 2 Comments

Using the More tag with a custom loop in WordPress

I was using custom posts to produce a list of projects and everything was going fine. I had a loop using WP_Query that filtered the posts correctly on post type.

However when I tried using the <!–more–> tag in the custom posts nothing happened. The complete post still appeared and there was no break at the specified point.
Continue reading

Posted in WordPress | 2 Comments

Move the search box to the header – WordPress 3 revision

The default Twenty Ten theme in WordPress 3 places the search box in the sidebar if you are not using any widgets. Moving it to the header is relatively easy to do if you’re comfortable making minor changes to the code. The first thing is to find the path to the theme that you are using, for the default theme the path is:

Continue reading

Posted in WordPress | 33 Comments

Move the WordPress pages to the header – revisited

This updated article describes how to use the page widget to build a page menu in the WordPress header. For the background to this see the previous post Move the WordPress page links to the header that described a simple way of listing the page links on the header.
Continue reading

Posted in Design, WordPress | Tagged , | Leave a comment

Warning – backup before updating to WordPress 2.8

The first problem with updating to WordPress version 2.8 was with the automatic update facility, the new version comes with it’s own automatic updater built in. This means the WordPress Automatic Update plugin is no longer required and should be disabled. The actual error message will vary according to the Theme that is in use on your site but will start with:

Fatal error: Cannot redeclare pclziputilpathreduction()

After disabling the WordPress Automatic Update plugin and clicking on the Automatic Update link on the dashboard again the update worked correctly. So that is easily dealt with and not a major problem.

The second problem was more serious, the automatic updates had overwritten the contents of the default theme with the original Kubrick design. If like me you have updated the default or the classic themes but never bothered to create a new theme then WordPress will replace your changed files with the originals.

Continue reading

Posted in WordPress | Leave a comment

Move the WordPress page links to the header

The default theme for WordPress places the links to pages in the sidebar. Moving them to the header is relatively easy to do if you’re comfortable making minor changes to the code.
The first thing is to find the path to the theme that you are using, for the default theme the path is:

⁄wordpress⁄wp-content⁄themes⁄default

For other themes the path will vary so make sure you have identified the correct one for the theme you have in use.

Then using your favourite text editor open up the following files:

  • sidebar.php
  • header.php

Note: Before you make any changes to these files make sure you have a backup

Next look for the following code fragment in sidebar.php which is used by WordPress to generate the list of page links.

Continue reading

Posted in Design, WordPress | Tagged , | 8 Comments