135 reputation
112
bio website richardsweeney.com
location Sweden
age 36
visits member for 3 years, 3 months
seen Oct 10 at 10:19

I'm a web designer and developer based in Malmö, Sweden.

I love HTML5, CSS3, JavaScript, jQuery, WordPress and PHP.


Jan
4
comment 3.5 media manager add CSS / JS to new 'tab' iframe content
Works great, thanks!
Jan
4
comment 3.5 media manager add CSS / JS to new 'tab' iframe content
I know it's written in backbone + underscore! There just isn't any (WordPress specific) documentation. The media-view.js is 4290 lines long! I need a little help there!
Nov
11
comment Show 1 post and after a specific date show the next one
Can you explain how you store the date? Is it a string or a timestamp?
Jul
6
comment Using attachment_fields_to_edit filter inside plugin class
Good to know @goto10 - cheers!
Jul
5
comment Using attachment_fields_to_edit filter inside plugin class
I can't answer my own question, so I'll put this here. I solved the problem by removing the filter priority, so: add_filter('attachment_fields_to_edit', array($this, 'attachment_fields')); works, though I'm not sure why. Incidentally, I always learnt to use a reference to $thisin WordPress too, but it doesn't seem to make a difference.
Jul
5
comment Using attachment_fields_to_edit filter inside plugin class
Hi @goto10! Thanks, but that shouldn't (and unfortunately doesn't) make a difference :( Does your code look basically the same as mine?
Sep
30
comment Stop wordpress from hardcoding img width and height attributes
thanks for this solution. Nice and robust! I'll use this in a future project.
Sep
30
comment Stop wordpress from hardcoding img width and height attributes
Hi Vilius - of course, I think I've even done this before! Nice solution, works great. Many thanks.