Monthly Archive for February, 2009

WordPress 2.7.1 and K2 1.0-RC7

This only applies to 1.0-RC7. If you are using subversion or a nightly build, this does not apply.

There is a bug in K2 1.0-RC7 which causes K2′s layout to break with WordPress 2.7.1. If you are using or planning to update to WordPress 2.7.1 (which you should if you’re using WordPress 2.7), you have two options:

Option A: Download the fixed info.php and replace the existing: k2/app/includes/info.php.

OR

Option B: Upgrade to the latest K2 nightly.

One more thing, there will be a 1.0-RC8 release of K2 and this release will not contain the K2 Sidebar Manager. Work is being done on a K2 Sidebar Manager to Widgets importer.

2009-02-18 Update: Added clarification.

Nightly: Page Templates

The recent nightly builds did away with the page template: Default Template w. Comments. Their features have been consolidated into the default page/single template and can be activated through the use of Custom Fields.

To show comments in a page, add a new custom field with the name: comments and value: 1 (or on or yes, the value doesn’t matter).

To hide the sidebar in a page or a single post, add a new custom field with the name: sidebarless and value: 1 (or on or yes, the value doesn’t matter). You will now get a wide appearance without the sidebar when viewing the page or single post.