Tag Info

Hot answers tagged


if you need to change default media upload location,you need to edit the wp-config.php file located in the root directory of your WordPress installation. If you want upload directory to be wp-content/files then you will need to place the following code in wp-config.php define( 'UPLOADS', 'wp-content/'.'files' ); If you want the upload directory to be ...


0 should work as a height in your thumbnail settings. The only other issue is that your uploaded images might be smaller than the large media size you're inputting. Image thumbs won't be scaled up for obvious reasons. If your images are larger than your thumbnail setting and you're still not seeing thumbnails generated then: Check your server logs Try ...


I found a nice snippet at this site for your functions.php that does the trick: add_shortcode( 'gallery', 'file_gallery_shortcode' ); function file_gallery_shortcode( $atts ) { $atts['link'] = 'file'; return gallery_shortcode( $atts ); } I'd actually been looking unsuccessfully for the same thing, so I'm glad you asked.

Only top voted, non community-wiki answers of a minimum length are eligible