Multi Photo Upload with Caption on Front End for Custom Post Type

WordPress stores the images as attachment post type, so it is possible to add the title to each of your gallery images. For example, // $filename should be the path to a file in the upload directory. $filename=”/path/to/uploads/2013/03/filename.jpg”; // The ID of the post this attachment is for. $parent_post_id = 37; // Check the type … Read more

HTTP Error WordPress on IIS uploading image

I was finally offered a link to use the browser uploader. I tried that and got a descriptive error message, approximately this: “Php could not get permission to temporary folder UNKNOWN”. Now that’s something I can work with. I went to php.ini and found sys_temp_dir which says it will default to the standard temporary directory. … Read more

wordpress ajax upload media not working

This looks like the access to admin-ajax.php is forbidden (error 403). For some reason, many security plugins are preventing access to admin-ajax.php, even with this file being essential for WordPress to work correctly. If you use some security plugin, check out if it is maybe blocking admin-ajax.php. Check if admin-ajax.php is blocked in .htaccess file … Read more