diff --git a/includes/sp-core-functions.php b/includes/sp-core-functions.php index 68039349..2b91b7ca 100644 --- a/includes/sp-core-functions.php +++ b/includes/sp-core-functions.php @@ -1726,7 +1726,7 @@ function sp_flags( $nationality ) { global $wpdb; $flag_post_id = intval( $wpdb->get_var( "SELECT post_id FROM {$wpdb->postmeta} WHERE meta_value LIKE '%/$nationality'" ) ); if ( $flag_post_id ) { - $flag_src = wp_get_attachment_image_url( $flag_post_id, 'thumbnail', false ); + $flag_src = wp_get_attachment_image_url( $flag_post_id, array( 23,15), false ); $flag = '' . $nationality . ''; }else{ $flag = '' . $nationality . '';