135 reputation
4
bio website builtbylane.com
location
age
visits member for 3 years, 5 months
seen Oct 15 at 0:34

Jan
26
awarded  Critic
Jan
28
awarded  Supporter
Jan
4
awarded  Teacher
Jan
3
answered Custom Walker: how to get ID in function start_lvl
Jun
29
suggested rejected edit on Does wp_localize_script Call a Javascript Function or Simply Pass PHP Parameters to It
Feb
14
comment Set jpeg_quality for certain post-types
hmmm... this code works, however all images that aren't 'your_post_type' are now being generated with extremely low quality. (a 444k image is now 4k!) I tried adding an "else return 90" but this seems to get ignored... ` add_filter( 'jpeg_quality', 'my_jpeq_quality' ); function my_jpeg_quality( $quality ) { if ((isset($_GET['post_type']) && $_GET['post_type'] == 'work') || (isset($post_type) && $post_type == 'work')) { return 100; //Set quality }else return 90; }
Jan
17
awarded  Student
Jan
17
asked Set jpeg_quality for certain post-types
Jul
8
suggested rejected edit on How do I get image url only on the_post_thumbnail