I have a new project in the works and I thought it about time to get a verioning setup working beyond locally, I don’t want to use a PaaS (like Cloud control) though for this one as its Top Secret (for now.) Yeah Yeah I know, shared web hosting, 1and1 – not so secret eh? [...]
Woody Hayday
Snippets
1and1 Web Hosting & Git – Installing it for singular dev
IP to Location Alternative: Javascript – Using JS to find Browser Country / Location not from IP
Know your audience? Got google analytics aggregating their details? Great, good for you! But doe’s that add any value in the short term? Improve THEIR browsing experience? In the long run you should use analytics to achieve better sites (although many don’t) – but for now, right here you can still add some of the [...]
Maintain a CSV with Javascript – keep a hidden list
The situation: Want to build a comma separated list of int’s (or whatever) client-side, in javascript, remove/add items on the fly using JS. Well these tiny functions below are what I use, useful when you just need to get a clever form / app input done. Using the below you can add/remove items to an [...]
Unable to drop JQuery sortable onto empty list? Hack solution
The problem: You have a multi column (or area) JQuery UI Sortable (these are neat) which only needs to show a “drop zone” when the user has started to drag a sortable object. The JQuery documentation for this doesn’t account for the reality of the above, its all very well if you want the empty [...]
Remove unwanted eBay strings from A2P [Auction2post] posts with Automated Editor
Free rules file with this post! Do you use Auction2Post [A2P]? If you don’t its a wordpress plugin which automatically implants listings from ebay as wordpress posts, including affiliate links through the ebay partner network from which you earn a commission. Its quite useful. Read my post about it here. Anyhow if you don’t use the [...]
Facebook Like button not working or showing 0 likes
Got a facebook like button not working showing zero? Do you wan’t to add a facebook like button to your page that points to a facebook page (fanpage) rather than the page the likebutton is actually on? It is possible but you may have come across this facebook bug that I did. Scenario’s are either: [...]
get_tag_name function for wordpress
get_cat_name is a simple useful function to get the category name from its id in wordpress, there isn’t one for tag (and you cant use the same one…) so here’s I adapted it for tags. TBH its super lazy to be using this, but meh. Uses get_term. I am writing Automated Editor, a wordpress plugin [...]










