SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id )inner JOIN wp_postmeta ON wp_posts.ID = wp_postmeta.post_id WHERE 1=1 AND ( wp_postmeta.meta_key = 'resource_date' AND ( ( mt1.meta_key = 'resource_date' AND CAST(mt1.meta_value AS DATETIME) LIKE '{c75e2b9e73dcfced2b958866145ae21416bf4c00d643e3b875cad8f54ca75fd3}2015{c75e2b9e73dcfced2b958866145ae21416bf4c00d643e3b875cad8f54ca75fd3}' ) ) ) AND wp_posts.post_type IN ('post', 'cpt_11500', 'cpt_11179', 'stm_event') AND ((wp_posts.post_status = 'publish'))AND (wp_posts.post_type = 'cpt_11179' ) AND ( ( YEAR( wp_posts.post_date ) = '2015' ) OR ( wp_posts.post_type = 'stm_event' and wp_postmeta.meta_key = 'stm_event_date_start' and FROM_UNIXTIME(wp_postmeta.meta_value, '%Y') = '2015' ) OR (wp_posts.post_type = 'cpt_11179' and wp_postmeta.meta_key = 'resource_date' and YEAR( wp_postmeta.meta_value ) = '2015' )) GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order, wp_postmeta.meta_value+0 DESC LIMIT 0, 10

Search Results

    Sorry, but nothing matched your search terms. Please try again with some different keywords.