Category: Miscellaneous
-
Economies of abundance
This really struck a chord with me: “Making money from open source is a hack though, as our currencies are based in scarcity and our peer economies are based in abundance. In the latter, the more people participating means the more everyone benefits.” Daniel Bachhuber – an economy of abundance
-
WordCamp UK 2009, theme translation file
WARNING: Of interest only to those involved in translating the Wordcamp UK 2009 theme into Welsh! WordCamp UK 2009 POT file – for translating the theme into Welsh (or any other language). For more information, see the WordPress Internationalisation information.
-
Experiments with WP Cron
I’ve got a couple of projects coming up which are going to require scheduling tasks in WordPress either to go off and get stuff, or to check whether posts displayed are still accurate, etc. Luckily, WordPress has a pseudo-Cron implementation which I plan to use to . Let’s take a step back first and remember…
-
Adding GET params to a URL in WordPress with add_query_arg
I am finding myself using this function a lot now, and I constantly forget the function name: add_query_arg(); It allows you to pass in some additional parameters, and a URL, and receive back the URL with the query string params added. For example: $some_url = “http://simonwheatley.co.uk/?stuff=whatever”; $params = array( ‘wp_siteurl’ => “http://www.example.com” ); $some_url =…
-
Firefox autocomplete and dual monitors on OS X
There’s an irritating bug on Firefox for OSX when you’re using it with dual monitors. If you plugin the monitor after you’ve started Firefox, and it is in the secondary monitor, the autocomplete for URLs and for search queries will appear on the primary monitor. Very confusing. The solution is to restart Firefox (which retains…