Reputation
309
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 2 15
Impact
~29k people reached

  • 0 posts edited
  • 0 helpful flags
  • 6 votes cast
Apr
12
comment add_menu_page() with different name for first submenu item
Hackedy hack. Use the API!
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.