problem in uploading attachment to custom directory
If I remember right you need to chdir() into your custom uploads directory (before saving anything there) so that paths are correctly processed and saved in meta.
If I remember right you need to chdir() into your custom uploads directory (before saving anything there) so that paths are correctly processed and saved in meta.
Make change in media library affect images in published articles
To correct work of permalinks on IIS you should install http://www.iis.net/downloads/microsoft/url-rewrite Also take a look on complete guide http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/install-wordpress-on-iis
If you have WordPress 3.5 this will work. http://make.wordpress.org/core/2012/12/12/attachment-editing-now-with-full-post-edit-ui/ First you need to enable this in your theme, Put this in your functions.php file in your theme root. add_action(‘init’, ‘wpse_77390_enable_media_categories’ , 1); function wpse_77390_enable_media_categories() { register_taxonomy_for_object_type(‘category’, ‘attachment’); } In your image.php or attachments.php file add: $tax = get_the_term_list( $post->ID, ‘category’ ); echo $tax; Then go … Read more
Can I create my own custom Attachment Display Setting?
the_post_thumbnail(“size”) returns same image for all sizes except thumbnail
How to replace featured image upload option with the post media image option
its tough to find a good solution to this but you need a custom meta box for file uploads: here is a post that walks you through this and he gives you a meta box class that can handle multiple image uploads. Make sure you also read part two, and dig around in the code … Read more
Conditional Image Sizes for Use via Theme Customizer Upload Only
date/time-picker and file upload (image) fields for custom fields (e.g. with more fields)