Top

Less Filters Plugin for Wordpress

April 5, 2009

I made this plugin a while ago but I didn't have time to upload it. So please forgive me.

Download

Here is the link to download it: less-filters.

Quick instruction:

What you need to do is extract the less-filter.php file to /wp-content/plugins/ folder then activate the plugins. You will then be able to include javascript and other advanced codes into the wpmu post body and widgets. I will give more instruction soon. If not, please remind me.

Property right:

I made this plugin, so please kindly give me some credit if you talk about it or reproduce it. Thanks.

Tags: Plugin, WordPress

WP-Super-Cache Does not Allow PHP Conditions

March 17, 2008

WP-Super-Cache WordPress plugin does it again. This time, the cache doesn't let me display custom message for user with Internet Explorer, because it only cache the first instant of the page.

Do you notice the different view of my blog's header when it you see on Firefox, and when you see it on Internet Explorer? I inserted some PHP code to recognize when it's IE to display the Firefox recommendation message. That's because I disabled the WP-Super-Cache. When Super Cache is enabled, it will make the page display exactly the same on both FireFox, and IE.

Tags: wordpress-plugin, wp-super-cache

Fixing Post Teaser Plugin Bug for WP 2.3.1

November 17, 2007

Have you ever had problem with Post Teaser plugin for WordPress? I am using it and I found a bug. So I fixed the bug and now you can download it right from this page. I name it "Post Teaser 2" just so It won't mess up with the original one.

It's now available for download from this page: Post Teaser 2 - An Essential WordPress Plugin.

The Bug

When I click the Update Options button on the Manage Post Teaser page, I got this: "Cannot load post-teaser.php." as shown in the snapshot:

Post Teaser Bug

Tags: Plugin, Site

Fixing Dangerous Permalink Redirect Bugs

November 16, 2007

Since I have more than one occasion encounter bug with Permalink Redirect, I recommend people wait for new version of this plug-in.

The Bugs

The following are the bugs:

  1. Redirect "/feed" URI to "/feed/" using 302 redirect. Ignoring the "/%postname%" rule having no trailing slash.
  2. Redirect "/?paged=x" to "/page/x/" (where x is paging number) ingoring the fact ugly default URL is used, causing 404 message when paging.

There is no doubt about these bugs, because I test it by enabling and disabling Permalink Redirect plugin.

Fixing the bugs

Indeed being a programmer gives me some advantages, I could fix the bugs on the fly.

Tags: Plugin, url

Bottom