Wordpress 2.1 "Ella" released 6

omar, Tuesday 23 January 2007

Wordpress 2.1 has finally been released. Here's a pick from the list of new features:

  • Autosave makes sure you never lose a post again.

  • The lossless XML import and export makes it easy for you to move your content between WordPress blogs.

  • Much more efficient database code, faster than previous versions. (We'd have to check how that compares with lightpress-queries..)

  • Links in your blogroll now support sub-categories and you can add categories on the fly.

  • Pages can now be drafts, or private.

  • Better internationalization and support for right-to-left languages.

  • A new version of the Akismet plugin is bundled.

You can go grab the update at wordpress.org but beware: Lightpress won't work with Wordpress > 2.0.x yet! Mainly this is because of the changes to the posts-table and the link-categories.

The posts-table now has a column named "post_type" (which can take 'post' or 'page') and one named 'post_status' which is the usual 'publish', 'draft' or 'private'. The link-categories have been merged into the global categories-table (PLUS, old link-categories get a new id!) and there is a new table called 'link2cat' linking between the two tables.

I'm working on a patch (since my site is already working with wp2.1RC2 and lp2 nightly) and i hope it won't be long.

Footnotes Plugin 3

Alfonso Jiménez, Monday 22 January 2007

Our friend Omar has published Footnotes Plugin for LightPress on the LP support forum. It's a plugin that allows us to include footnotes on ours posts. More info at toomuchcookies.net

Installation

From LightPress root directory

1) Copy footnotes.php in /plugins
2) Copy footnotes.xml in /themes/XXXX/YYYY/plugins/ (XXXX and YYYY correspond to current theme and lang-codification respectively)
3) Activate the plugin from WP-Admin
4) To write a footnote, just add ((This is the footnote))

Features

1) You can change both the hook and the appearance of a footnote in the plugin-management
2) To change the look of the footnotes block you'd have to change the template 'footnote.xml'
3) You can even change the position of the footnotes block. For example to put the footnotes in the sidebar:

  1. add {PLUGIN_FOOTNOTES} to the sidebar at the desired position

  2. in the plugin management page, set 'templateready' to '1'

Download

Download | Footnotes Plugin for LightPress

Share This Plugin 9

Alfonso Jiménez, Wednesday 17 January 2007

Based on Share This Plugin for WordPress by Alex King, I've decided to develop a version of Share This Plugin for LightPress. Share This is a plugin that allows share your content via social bookmarking sites. More info at AlfonsoJimenez.com (spanish)

Installation in 8 easy steps

From LightPress root directory

1) Copy ShareThis.php in /plugins
2) Copy sharethis.xml in /themes/XXXX/YYYY/plugins/ (XXXX and YYYY correspond to current theme and lang-codification respectively)
3) Copy sharethis.js in your javascript directory
4) Copy sharethis.css in your CSS directory
5) Copy folder /icons in your images directory
6) Add to headers these lines (change YOURXXXDIRECTORY!):

<script language="JavaScript" type="text/javascript" xsrc="YOURJSDIRECTORY/sharethis.js"></script> <link rel="stylesheet" xhref="YOURCSSDIRECTORY/sharethis.css" type="text/css" /> window.onload = function() {sharethis.init('{plugin_sharethis_path_icons}'); }

7) Copy between <!-- BEGIN post -> and <!- END post -->

{PLUGIN_SHARETHIS}

8) Activate the plugin from WP-Admin and enjoy it ;)

Download

Download | Share This Plugin for LightPress