Tag Archives: widgets

Clearing The Cache When A Widget Is Saved

WP Super Cache has a setting which allows the cache to be cleared when a post is saved. I needed to clear the cache when a widget is saved. It turned out to be surprisingly easy.
Continue reading

IFrameWidgets 1.01 Update – Fix For WordPress 2.5

I’m finally releasing version 1.01 of the IFrameWidgets WordPress plugin. The only change is that is has been re-written so that it will work with WordPress 2.5, which changed the way widgets worked.

If you are on WordPress 2.5 and above, use Version 1.01 of IFrameWidgets. If you are on an older version of WordPress, use version 1.0 of IFrameWidgets.

IFrameWidgets can stop slow loading JavaScript widgets from breaking your page. Widgets remain hidden until completely loaded, then appear in whole. If they don’t load, they won’t take up any space on your sidebar. If they load slowly, or hang, they won’t stop the rest of your page from loading. Continue reading

WordPress Plugin IFrameWidgets 1.0 Released

I’m pleased to release IFrameWidgets v1.0, a WordPress plugin that can stop slow loading JavaScript widgets from breaking your page.

Widgets remain hidden until completely loaded, then appear in whole. If they don’t load, they won’t take up any space on your sidebar. If they load slowly, or hang, they won’t stop the rest of your page from loading. Continue reading

Shylock Adsense Plugin – Hack To Avoid Smart Pricing

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. Continue reading

Roundup – Plugins, Milestones and Storms

This is the first update / roundup style post on More Than Scratch The Surface. I originally thought I’d stick to articles, but I can now see the need to write about things that aren’t worth a full post. Expect to see these occasionally. Continue reading

New WordPress Plugin To Help Slow Widgets – Maybe

Many people have been complaining about slow loading social widgets. You know the ones! I’ve written a WordPress plugin which may help, but there are some issues related to it and I’d like some advice. I have some specific people in mind, so I’ll ping them below.

Continue reading

WordPress – Most Viewed – Sidebar Widget

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. Continue reading

Getting BuyMeABeer To Show Only On Selected Posts

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. Continue reading