Mac Memos

Bill Andersen’s how-to reminders

WordPress

mac-and-pcThis site, my other sites and those of many friends run on WordPress, a free web publishing platform. I am a big fan of WordPress and recommend it to anyone who wants to have a site they can manage themselves. It’s good for Mac and PC users, too.

You can run WordPress in your own web-hosted space or you can have a free blog that WordPress hosts for you.

I just updated to version 2.7 and find that the Administration interface is a big improvement.

 

 

Troubleshoot — Warning: Cannot modify header information… 

Warning: Cannot modify header information - headers already sent by...

If you see this error message when you try to log in to your WordPress installation, don’t worry. It’s probably an easy thing to fix. Chances are, an unwanted “space” character (invisible but present) crept into the last wp-whatever.php document you edited.

Make sure there is nothing at all (not even a space) before the opening <?php  tag and nothing after the closing ?> tag.

Sitemap plugin: Will it help increase ad clicks?

I just installed Arne Brachold’s Google XML Sitemaps WordPress plugin, to see if it helps my traffic and ad click counts. It is available here. 

Note that a site map isn’t built until you configure the plugin after you activate it.

Automatic updates can overwrite your customized default theme

Many people (me included) find the default Kubrick theme useful enough and just want to change the header image in the theme. The easy way to do this is to make a customized version of kubrickheader.jpg. You know… just put your own picture in to replace the blue area in the stock Kubrick image. Leaving the new header image with the same name (kubrickimage.jpg) means that no further changes are needed. The new image is swapped in for the old one.

But… that worked before version 2.7 and automatic version updating became easy through the WordPress dashboard. Here’s the problem:

The updating process goes in and updates the default folder in the Theme folder. Your customization is overwritten. Gone.

The solution is simple. Make a copy of the default theme and give it a different name (eg. MyTheme). Do your customizing on MyTheme and remember to change the Theme Name at the top of  the style.css document. (If you don’t, it will still be called WordPress default and you know which is which).

Use Dashboard’s Appearance button to change your theme from default to MyTheme. Next update time, your custom theme will not be overwritten.

COMMENTS

No Comments

There are no comments posted yet. Be the first one!

Leave a Reply