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

WP Media uploader loading only once in options page

The reason for the media uploader not opening when clicking the second button is that both of your buttons have the same ID, which you are also binding to the function that open your uploader. Element IDs should always be unique, hence the .click function listener will only detect when user clicks the first button … Read more

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