The World’s 50 Best Restaurants, como cada año, ha elaborado su particular lista de los 50 mejores restaurantes de todo el mundo de cara a este 2017. Con la principal novedad de que el primer puesto lo ostenta ahora el neoyorquino Eleven Madison Park del chef Daniel Humm. Mientras el resto del top 10 lo completan Osteria Francescana (Italia), El Celler de Can Roca (España), Mirazur (Francia), Central (Perú), Asador Etxebarri (España), Gaggan (Tailandia), Maido (Perú), Mugaritz (España) y Steirereck (Austria).
El resto de restaurantes que forman el compendio pueden verse aquí.
foreach ($images as $image) {
if ($start <= $i and $i < $stop) {
$img_title = $image->post_title; // title.
$img_description = $image->post_content; // description.
$img_caption = $image->post_excerpt; // caption.
$img_url = wp_get_attachment_url($image->ID); // url of the full size image.
$preview_array = image_downsize( $image->ID, 'thumbnail' );
$img_preview = $preview_array[0]; // thumbnail or medium image to use for preview.
?>
}
$i++;
}
?>
}
}
// LAST NIGHT GALLERY=============================
// Get attached images & spits out a list of them.
function last_night_gallery($size = 'post-parrilla', $limit = '0', $offset = '0') {
global $post;
$images = get_children( array('post_parent' => $post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID') );
if ($images) {
$num_of_images = count($images);
if ($offset > 0) : $start = $offset--; else : $start = 0; endif;
if ($limit > 0) : $stop = $limit+$start; else : $stop = $num_of_images; endif;
$i = 0;
?>