Disable Responsive Image Sizes crop

If you mean you want to only save the original image to the server, and not have WP auto-generate additional sizes, there’s a function to remove the additional sizes: <?php function wpse_remove_image_sizes() { // Remove the WP Core “thumbnail” size remove_image_size( ‘thumbnail’ ); // Remove a custom image size with the slug “custom-size-name” remove_image_size( ‘custom-size-name’ … Read more

Missing a temporary folder not fixed

You need to add that line to your wp-config.php. Double check that you put it in the right place. You need to set the permissions on that directory you created so that WordPress can write to it. This is dependent on how your hosting works and what program you’re using, but you should try setting … Read more

media file uploading

jQuery(document).ready(function($){ $(‘#txt_image’).click (function(e){ e.preventDefault(); var image = wp.media({ title:”Upload Image”, multiple:false }).open().on(“select”, function(e){ var uploaded_image = image.state().get(“selection”).first(); var image_data = uploaded_image.toJSON(); jQuery(“#getImage”).attr(“src”, image_data.url); jQuery(“#student_image”).val(image_data.url); }); }); });

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)