112 reputation
15
bio website fstopdesign.com
location The Desert
age
visits member for 2 years, 6 months
seen Jan 27 at 17:19

Intermediate WordPress Developer, Expert CSS Wrangler, stuff like that.


20h
awarded  Announcer
Sep
24
awarded  Autobiographer
Jul
2
awarded  Curious
May
22
awarded  Popular Question
Apr
21
awarded  Popular Question
Feb
13
awarded  Popular Question
Dec
6
awarded  Announcer
Oct
29
awarded  Announcer
Sep
23
asked Media uploader & manager: add/remove class on image with checkbox
Sep
18
asked Add select field to media uploader that adds a class to the image
Sep
14
comment Custom caption output for custom image size
Very cool. The scope of this changed just a bit: we decided not to add a new image size. So I tweaked your setup to just grab all classes from the image and add them to the caption div. I also added in the image description. I really appreciate your time. It helped me on the project I'm doing, and it else helped me learn. I've made a promise to myself that I won't use anyone else's code in a project unless I take the time to learn how each bit works. Except maybe for regex..I hate that stuff :). I'll post my revised code below.
Sep
13
comment Custom caption output for custom image size
Now, for bonus beers: it would be really cool if it was less specific and could output whatever size-* class the image had on it. No worries if you don't want to try that, though. You've already helped a lot. Cheers.
Sep
13
accepted Custom caption output for custom image size
Sep
13
comment Custom caption output for custom image size
Killer! It works. I would buy you a beer right now if I could (and if you like beer :). Thanks!
Sep
13
comment Custom caption output for custom image size
I can do it with jQuery pretty easily, but that feels like a cop out: $('img.size-profile-image').closest('div.wp-caption').addClass('profile-image')‌​;
Sep
13
comment Custom caption output for custom image size
Thank you for posting. Unfortunately I could not get that to work. var_dump($class_attr); returns: 'bool(false)`, so maybe a problem with the regex? Regexes make my eyes bleed, so that's as much as I can tell.
Sep
13
asked Custom caption output for custom image size
Jul
2
accepted WooCommerce - filter by featured products in admin
Jun
28
comment WooCommerce - filter by featured products in admin
Looks like I was finding my solution as you were posting yours, and they look similar. Thanks!
Jun
28
answered WooCommerce - filter by featured products in admin