WordPress


Wordpress is the blogging software that runs this site.

Actually this is a customized version 1.5.2. You will find some of those customizations explained here, together with some code.

Long category descriptions in wordpress

Saturday, October 21st, 2006

Here is the outline of what I did to get some (translated) text displayed at the beginning of every category page. This is mostly a reminder to myself in order to be able to redo it in the unlikely case I upgrade Wordpress and have to go through it once again.

Read the rest of this entry »

Views counter

Tuesday, October 10th, 2006

I just installed the view-count plugin by Mike O’Connell. As one would expect, it’s a very simple plugin. On the first run it ALTERs the posts table adding a BIGINT view_count column which is updated when users click on a post. To display the number of views, one has just to call the_view_count() at some place in the template. I’ll add it one day… ;)

Alas, the counter never gets updated… the filters installed by the plugin never get called, since expects filter single_template to be applied somewhere during template rendering, but that filter name doesn’t even exist in my ancient wordpress version. I just added

if(is_single() || is_page())
apply_filter('single_template', $content);

to wp-includes/template-functions-post.php, function the_content() and it works now. I hope that as it should ;)

Better Permalinks to Pages

Tuesday, November 1st, 2005

For some obscure reason, using WordPress Pages together with permalinks did not work for me with latest WP installed (1.5.2). Here is my solution together with the modifications to the code.

Read the rest of this entry »

Multilingual WordPress

Tuesday, November 1st, 2005

Running a WordPress weblog in several languages simultaneously, means translating and coordinating several components in WordPress. Here are some ideas and solutions to this…

Read the rest of this entry »