0
votes
0answers
173 views

create wordpress media automatic uploads folder using custom plugin

I created a plugin, this plugin is used for uploading images and creating gallery with these images.Everything worked fine and I dilivered plugin to client. But now everything went wrong.He just ...
0
votes
0answers
60 views

Get Image Directory for Multisite & Single Site

I'm following the code from this example to set a placeholder image for WooCommerce. /* * goes in theme functions.php or a custom plugin. Replace the image filename/path with your own :) * **/ ...
0
votes
1answer
1k views

Use wp_upload_dir() correctly

All, I'm using the Uploadify plugin to upload some images. I've included the uploadify folder in my themes folder. However, when I try and call uploadify.php I get the following error: Call to ...
2
votes
1answer
1k views

Extending WP's upload/insert media functionality

I am writing my first plugin to upload PDF files to a user specified directory other than the media directory specified in the Media menu under settings. I need to extend the WP's native uploader so ...