formatting horizontal and vertical images in Settings?

I would not alter the core intermediate image sizes. If you have custom image sizes, register them using add_image_size(). e.g. function mytheme_add_custom_image_sizes() { // Add “vertical” image add_image_size( ‘vertical-a’, 95, 117, true ); add_image_size( ‘vertical-b’, 130, 160, true ); // Add “horizontal” image add_image_size( ‘horizontal-a’, 440, 304, true ); add_image_size( ‘horizontal-b’, 220, 152, true ); … Read more

Attaching images to multiple galleries

If you open wp-includes/media.php file you will see such code in gallery_shortcode function: … if ( !empty($include) ) { $include = preg_replace( ‘/[^0-9,]+/’, ”, $include ); $_attachments = get_posts( array(‘include’ => $include, ‘post_status’ => ‘inherit’, ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘image’, ‘order’ => $order, ‘orderby’ => $orderby) ); … } … It means that you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)