I have a multiple-site WordPress install. I have decided to centralize as many of my libraries as possible into one spot, for obvious organizational reasons, and in order to...
How can I make an external PHP library available with my plugin. Where the library files need to be placed? 2 Answers 2 The best way to include an...
I’m attempting to use the Defuse encryption library in WordPress: https://github.com/defuse/php-encryption I’m using this guide as a resource for how to implement it: https://torquemag.io/2016/10/storing-encrypted-data-wordpress-database/ My question is, if my...
I have got an attachment id, but I need an url. How can I get an url from the attachment object? // When an image is selected, run a...
Hovering my mouse over a file name or a thumbnail brings up the Edit option, I want to know is there any hook to disable all edit links in...
Is there is any php code to display the media library section in the frontend? The code should display the full backend media library section to the frontend,like I...
There must be a solution for this. I am using this solution for chooosing images from media library. http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/ THE PROBLEM: I am using two meta boxes for custom...
So if I set the large image size in the media library to say 600×600 pixels, and then upload an image which is the same dimensions it won’t get...
Does anyone happen to know how to create a simple “attach/browse” button that can be placed into a metabox which upon clicking it would open a lightbox where the...
I’m developing a couple of open-source plugins and a theme (all part of a “suite”) that all use the same third party PHP library. I’m wondering what is the...