Posts Tagged ‘hacks’

Shylock Adsense Plugin - Hack To Avoid Smart Pricing

Thursday, January 24th, 2008

In my last post, I talked about Adsense Smart Pricing and how blogs can avoid it by only showing ads to search engine visitors.

One option for WordPress is the Who Sees Ads plugin, which has the ability to do this. I prefer the Shylock Adsense plugin for the reasons given in my last post: automatic placement of ads; no need to enter placeholder in each post; easy to move ads from, say, top right to top left, etc.

The problem with Shylock Adsense is that although it can show ads on old posts only (mostly search engine traffic), there is no option to show ads only to search engine traffic. I really wanted this functionality, so I added a few lines of code to the plugin to enable it. In this post I explain how to do it. (more…)

WordPress Plugin - Simple Spam Filter Hack Available

Friday, November 23rd, 2007

Recently RT from Untwisted Vortex threw down a WordPress Plugin Rewrite Challenge, asking whether I’d rewrite the Simple Spam Filter plugin from Joe Tan. RT is a fan of Simple Spam Filter but felt that some additional checks would result in more spam being caught. (more…)

WordPress 2.3 Breaks Articles Plugin - Solution

Tuesday, November 20th, 2007

After my recent upgrade to WordPress 2.3.1, the Articles plugin by Alex King started showing my Articles under the wrong Categories. Fortunately, there is a solution posted on the WordPress Support site. (more…)

Google Reader - Printing Full Text For All Items

Tuesday, October 9th, 2007

EDIT: There is no longer any need for this hack - simply get the latest version (2.0) of the Google Reader Print Button script.

I normally use a desktop feed reader, but I’ve recently been trying out web based feed readers. Google Reader seems to be the best, but it lacks the ability to print more than one full text item in the Expanded View. A simple hack to the Google Reader Print Button script for Greasemonkey fixes this.

(more…)

WordPress - Most Viewed - Sidebar Widget

Monday, August 20th, 2007

I use Lester Chan’s WP-PostViews plugin to count how many views each post gets. I recently added a Most Viewed section to my Sidebar. The problem? I use WordPress Widgets and there is no widget for the plugin. (more…)

Getting BuyMeABeer To Show Only On Selected Posts

Saturday, August 18th, 2007

I have now adopted the Buy Me A Beer plugin, but there was one thing I didn’t like: it is not possible to make it appear on the sidebar for selected posts only. I wanted it on my plugin pages, but not my other posts (I don’t believe in donations for posts). Here I explain how to do this. (more…)

This is just a link to a project for my students. Please ignore.

WordPress Plugins by Stephen Cronin
DualFeeds: Offer both full text & summary feeds. Let your readers choose!
IFrameWidgets: Stop slow javascript widgets breaking your page layout!
FeedEntryHeader: Add a copyright statement to the TOP of your feed!
LocalCurrency: Show currency values to readers in their own currency!
KeywordLuv: Reward your commentators with keyword rich anchor text!