SELECT wp_135_posts.* FROM wp_135_posts INNER JOIN wp_135_postmeta ON (wp_135_posts.ID = wp_135_postmeta.post_id) WHERE wp_135_posts.post_type = 'attachment' AND ((wp_135_posts.post_status = 'inherit')) AND ((wp_135_postmeta.meta_key = '_wp_attachment_is_custom_header' AND CAST(wp_135_postmeta.meta_value AS CHAR) = 'infax_2016_bootstrap')) GROUP BY wp_135_posts.ID Array ( [0] => stdClass Object ( [ID] => 19 [post_author] => 1 [post_date] => 2017-06-22 15:24:44 [post_date_gmt] => 2017-06-22 13:24:44 [post_content] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/01_DSCF6114.jpg [post_title] => 01_DSCF6114.jpg [post_excerpt] => [post_status] => inherit [comment_status] => open [ping_status] => open [post_password] => [post_name] => 01_dscf6114-jpg [to_ping] => [pinged] => [post_modified] => 2017-06-22 15:24:44 [post_modified_gmt] => 2017-06-22 13:24:44 [post_content_filtered] => [post_parent] => 0 [guid] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/01_DSCF6114.jpg [menu_order] => 0 [post_type] => attachment [post_mime_type] => image/jpeg [comment_count] => 0 ) [1] => stdClass Object ( [ID] => 20 [post_author] => 1 [post_date] => 2017-06-22 15:24:52 [post_date_gmt] => 2017-06-22 13:24:52 [post_content] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/02_DSCF6119.jpg [post_title] => 02_DSCF6119.jpg [post_excerpt] => [post_status] => inherit [comment_status] => open [ping_status] => open [post_password] => [post_name] => 02_dscf6119-jpg [to_ping] => [pinged] => [post_modified] => 2017-06-22 15:24:52 [post_modified_gmt] => 2017-06-22 13:24:52 [post_content_filtered] => [post_parent] => 0 [guid] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/02_DSCF6119.jpg [menu_order] => 0 [post_type] => attachment [post_mime_type] => image/jpeg [comment_count] => 0 ) [2] => stdClass Object ( [ID] => 21 [post_author] => 1 [post_date] => 2017-06-22 15:24:58 [post_date_gmt] => 2017-06-22 13:24:58 [post_content] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/03_DSCF6129.jpg [post_title] => 03_DSCF6129.jpg [post_excerpt] => [post_status] => inherit [comment_status] => open [ping_status] => open [post_password] => [post_name] => 03_dscf6129-jpg [to_ping] => [pinged] => [post_modified] => 2017-06-22 15:24:58 [post_modified_gmt] => 2017-06-22 13:24:58 [post_content_filtered] => [post_parent] => 0 [guid] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/03_DSCF6129.jpg [menu_order] => 0 [post_type] => attachment [post_mime_type] => image/jpeg [comment_count] => 0 ) [3] => stdClass Object ( [ID] => 22 [post_author] => 1 [post_date] => 2017-06-22 15:25:04 [post_date_gmt] => 2017-06-22 13:25:04 [post_content] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/04_DSCF6118.jpg [post_title] => 04_DSCF6118.jpg [post_excerpt] => [post_status] => inherit [comment_status] => open [ping_status] => open [post_password] => [post_name] => 04_dscf6118-jpg [to_ping] => [pinged] => [post_modified] => 2017-06-22 15:25:04 [post_modified_gmt] => 2017-06-22 13:25:04 [post_content_filtered] => [post_parent] => 0 [guid] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/04_DSCF6118.jpg [menu_order] => 0 [post_type] => attachment [post_mime_type] => image/jpeg [comment_count] => 0 ) [4] => stdClass Object ( [ID] => 23 [post_author] => 1 [post_date] => 2017-06-22 15:25:11 [post_date_gmt] => 2017-06-22 13:25:11 [post_content] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/05_DSCF6121.jpg [post_title] => 05_DSCF6121.jpg [post_excerpt] => [post_status] => inherit [comment_status] => open [ping_status] => open [post_password] => [post_name] => 05_dscf6121-jpg [to_ping] => [pinged] => [post_modified] => 2017-06-22 15:25:11 [post_modified_gmt] => 2017-06-22 13:25:11 [post_content_filtered] => [post_parent] => 0 [guid] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/05_DSCF6121.jpg [menu_order] => 0 [post_type] => attachment [post_mime_type] => image/jpeg [comment_count] => 0 ) [5] => stdClass Object ( [ID] => 24 [post_author] => 1 [post_date] => 2017-06-22 15:25:20 [post_date_gmt] => 2017-06-22 13:25:20 [post_content] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/06_DSCF6116.jpg [post_title] => 06_DSCF6116.jpg [post_excerpt] => [post_status] => inherit [comment_status] => open [ping_status] => open [post_password] => [post_name] => 06_dscf6116-jpg [to_ping] => [pinged] => [post_modified] => 2017-06-22 15:25:20 [post_modified_gmt] => 2017-06-22 13:25:20 [post_content_filtered] => [post_parent] => 0 [guid] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/06_DSCF6116.jpg [menu_order] => 0 [post_type] => attachment [post_mime_type] => image/jpeg [comment_count] => 0 ) [6] => stdClass Object ( [ID] => 25 [post_author] => 1 [post_date] => 2017-06-22 15:25:28 [post_date_gmt] => 2017-06-22 13:25:28 [post_content] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/07_DSCF6126.jpg [post_title] => 07_DSCF6126.jpg [post_excerpt] => [post_status] => inherit [comment_status] => open [ping_status] => open [post_password] => [post_name] => 07_dscf6126-jpg [to_ping] => [pinged] => [post_modified] => 2017-06-22 15:25:28 [post_modified_gmt] => 2017-06-22 13:25:28 [post_content_filtered] => [post_parent] => 0 [guid] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/07_DSCF6126.jpg [menu_order] => 0 [post_type] => attachment [post_mime_type] => image/jpeg [comment_count] => 0 ) [7] => stdClass Object ( [ID] => 26 [post_author] => 1 [post_date] => 2017-06-22 15:25:36 [post_date_gmt] => 2017-06-22 13:25:36 [post_content] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/08_DSCF6127.jpg [post_title] => 08_DSCF6127.jpg [post_excerpt] => [post_status] => inherit [comment_status] => open [ping_status] => open [post_password] => [post_name] => 08_dscf6127-jpg [to_ping] => [pinged] => [post_modified] => 2017-06-22 15:25:36 [post_modified_gmt] => 2017-06-22 13:25:36 [post_content_filtered] => [post_parent] => 0 [guid] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/08_DSCF6127.jpg [menu_order] => 0 [post_type] => attachment [post_mime_type] => image/jpeg [comment_count] => 0 ) [8] => stdClass Object ( [ID] => 27 [post_author] => 1 [post_date] => 2017-06-22 15:25:44 [post_date_gmt] => 2017-06-22 13:25:44 [post_content] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/09_DSCF6125.jpg [post_title] => 09_DSCF6125.jpg [post_excerpt] => [post_status] => inherit [comment_status] => open [ping_status] => open [post_password] => [post_name] => 09_dscf6125-jpg [to_ping] => [pinged] => [post_modified] => 2017-06-22 15:25:44 [post_modified_gmt] => 2017-06-22 13:25:44 [post_content_filtered] => [post_parent] => 0 [guid] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/09_DSCF6125.jpg [menu_order] => 0 [post_type] => attachment [post_mime_type] => image/jpeg [comment_count] => 0 ) [9] => stdClass Object ( [ID] => 28 [post_author] => 1 [post_date] => 2017-06-22 15:25:52 [post_date_gmt] => 2017-06-22 13:25:52 [post_content] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/10_DSCF6131.jpg [post_title] => 10_DSCF6131.jpg [post_excerpt] => [post_status] => inherit [comment_status] => open [ping_status] => open [post_password] => [post_name] => 10_dscf6131-jpg [to_ping] => [pinged] => [post_modified] => 2017-06-22 15:25:52 [post_modified_gmt] => 2017-06-22 13:25:52 [post_content_filtered] => [post_parent] => 0 [guid] => http://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/10_DSCF6131.jpg [menu_order] => 0 [post_type] => attachment [post_mime_type] => image/jpeg [comment_count] => 0 ) ) Array ( [19] => Array ( [attachment_id] => 19 [url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/01_DSCF6114.jpg [thumbnail_url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/01_DSCF6114.jpg [alt_text] => ) [20] => Array ( [attachment_id] => 20 [url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/02_DSCF6119.jpg [thumbnail_url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/02_DSCF6119.jpg [alt_text] => ) [21] => Array ( [attachment_id] => 21 [url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/03_DSCF6129.jpg [thumbnail_url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/03_DSCF6129.jpg [alt_text] => ) [22] => Array ( [attachment_id] => 22 [url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/04_DSCF6118.jpg [thumbnail_url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/04_DSCF6118.jpg [alt_text] => ) [23] => Array ( [attachment_id] => 23 [url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/05_DSCF6121.jpg [thumbnail_url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/05_DSCF6121.jpg [alt_text] => ) [24] => Array ( [attachment_id] => 24 [url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/06_DSCF6116.jpg [thumbnail_url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/06_DSCF6116.jpg [alt_text] => ) [25] => Array ( [attachment_id] => 25 [url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/07_DSCF6126.jpg [thumbnail_url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/07_DSCF6126.jpg [alt_text] => ) [26] => Array ( [attachment_id] => 26 [url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/08_DSCF6127.jpg [thumbnail_url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/08_DSCF6127.jpg [alt_text] => ) [27] => Array ( [attachment_id] => 27 [url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/09_DSCF6125.jpg [thumbnail_url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/09_DSCF6125.jpg [alt_text] => ) [28] => Array ( [attachment_id] => 28 [url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/10_DSCF6131.jpg [thumbnail_url] => https://infax.org/symposionrestaurant/wp-content/uploads/sites/135/2017/06/10_DSCF6131.jpg [alt_text] => ) ) #######
Load: 18 queries - 0ms - 4.0MB - 146 cache hits / 179 Query: 21 queries - 0ms - 4.2MB - 178 cache hits / 213 Display: 40 queries - 0ms - 4.8MB - 708 cache hits / 776