Posts Tagged ‘wordpress’

New look!

Monday, May 4th, 2009

Enjoy the fresh new theme! I made it starting from the default (kubrick) theme.
It includes also a “theme switch” feature that let you customize the main color.
I need to clean a bit the theme, but it is almost ready for the public.

I created a new project inside the repository for tracking the theme chages. The name of the project is wp-theme.

Wordpress: avoid texturizer

Saturday, April 25th, 2009

Texturizer is a wordpress tool that give your post a sexier appealing.
Because of my frequent use of pre/code html tags for posting code, i decided to disable this wp feature: here is a small diff to show you how to achieve that.

--- wp-includes/formatting.php.old  2009-04-25 13:28:24.000000000 +0200
+++ wp-includes/formatting.php      2009-04-25 13:28:55.000000000 +0200
@@ -41,7 +41,7 @@
                $output .= $curl;
        }

-       return $output;
+       return $text;
 }

 // Accepts matches array from preg_replace_callback in wpautop()

Hope it is helpful for someone!