437 reputation
721
bio website aendrew.com
location London, United Kingdom
age 27
visits member for 3 years, 8 months
seen Jul 14 at 15:45

London-based multi-nerd specializing in data journalism, data visualisation and CMS development/implementation/deployment (Drupal, WordPress and Joomla!). I'm a news developer at The Times and Sunday Times.

Stuff:

I've also done data work for The Guardian and The Economist; visit my portfolio to see some of it.


Jul
14
comment Hacking TinyMCE for better usability (shortcodes and html)
This is an amazingly good example, though it's pretty complex. Mind going into a bit of detail?
Jul
14
comment Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1
Wish I had found this answer before spending half an hour trying to add it via a CSS file. This seems like the best way to do it; all the tutorials I've found online are unnecessarily verbose.
Jul
2
awarded  Curious
Jan
20
awarded  Constituent
Jan
16
answered Elegantly using JavaScript on widget admin forms
Jan
16
comment Elegantly using JavaScript on widget admin forms
I'm assuming you want me to instantiate that via wp_enqueue_script()? If so, it does not seem to work -- the anonymous function never fires.
Jan
16
revised Elegantly using JavaScript on widget admin forms
added 300 characters in body; edited tags
Jan
16
asked Elegantly using JavaScript on widget admin forms
Oct
8
comment Debugging / displaying errors in WP_Widget->form()
This doesn't actually answer the question. How do I see the contents of $instance, for, uh, instance?
Aug
30
accepted Drag-and-drop “Panels”-style visual layout editor?
Aug
30
revised Drag-and-drop “Panels”-style visual layout editor?
year later, made question a bit less flamey.
Aug
30
answered Drag-and-drop “Panels”-style visual layout editor?
Jul
16
answered How to use jQuery on widget admin page
Jul
12
comment Dynamically creating multiple widgets from Mustache templates
*upvote them if helpful, rather.
Jul
12
comment Dynamically creating multiple widgets from Mustache templates
I haven't gotten any more responses a week later, so accepting Rarst's. Feel free to add more answers, I'll at least upvote them.
Jul
12
accepted Dynamically creating multiple widgets from Mustache templates
Jul
6
comment Dynamically creating multiple widgets from Mustache templates
Fair enough. The templates are a bit varied functionally — two allow the user to select an image, which is then styled a specific way; another is a bunch of styled text. I thought about loading the admin form with fields and showing/hiding certain ones based on the value of a select field, but that seems rather unwieldy. Thanks for getting back to me!
Jul
5
asked Dynamically creating multiple widgets from Mustache templates
Apr
25
awarded  Popular Question
Apr
24
awarded  Notable Question