Why am I losing image quality on my site?

You have not explained what kind of code changes you did in functions.php but the code you should put in your functions.php is function jpeg_quality_controller( $quality, $context ) { return 100; } add_filter( ‘jpeg_quality’, ‘jpeg_quality_controller’, 10, 2 ); But this solution will not make any changes to already uploaded image files. Delete already uploaded images … Read more

Show post/page into div using function

I’m not sure what ARRAY_A is supposed to be, seems unnecessary unless there’s more info we’re missing. Also, get_post returns an object, not an array. Try this: function fields_after_order_details(){ $my_id = 2731; $post_id_2731 = get_post($my_id); $title = $post_id_2731->post_content; echo ‘<div class=”tandc”>’ . $title . ‘</div>’; }