How to decrease the file size upload limit?

The answer to this questions depends on the level of access you have to your server. Shared hosts often limit the options you have. Your options are: 1) Changing a directive in your php.ini: Heres how to find it. This will change the setting for all websites using php on this server. Many shared hosts … Read more

Resize the WP media Uploader iFrame

The default media box has hard coded HTML values so in order to alter the CSS for it you you have 2 options. Enqueue your own CSS and override the values Disable media-views.css completely and load a custom stylesheet. To enqueue your own style: function blah_admin_css() { wp_enqueue_style( ‘blah_admin_css’, path to your custom.css ); } … Read more

How To install AWS SDK for PHP in wordpress?

Install Amazon Web Services Plugin. (https://wordpress.org/plugins/amazon-web-services/) Add all the required keys, at the AWS menu that now should be available in your WP dashboard. Include the library in your code, in my case was: require ‘/path/to/plugins/amazon-web-services/vendor/aws/aws-autoloader.php’; Enjoy!

Can’t seem to upload a file to a custom directory

There are many plugins available for media management and file management which will allow you to specify where you want uploaded files to go based on user or other requirements. https://www.google.com/?gfe_rd=ssl&ei=lY5zVprEJuSD8QeMkJ7gAw#q=wordpress+plugin+file+manager https://www.google.com/?gfe_rd=ssl&ei=lY5zVprEJuSD8QeMkJ7gAw#q=wordpress+plugin+media+manager There are also upload manager plugins: https://www.google.com/?gfe_rd=ssl&ei=lY5zVprEJuSD8QeMkJ7gAw#q=wordpress+plugin+upload+manager