Untitled

mail@pastecode.io avatar
unknown
plain_text
16 days ago
680 B
3
Indexable
Never
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 AS mt2 ON ( wp_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  wp_postmeta.meta_key = '_event_start_date' 
  AND 
  ( 
    ( mt1.meta_key = '_event_start_date' AND mt1.meta_value >= '2024-09-29' ) 
    AND 
    mt2.meta_key = '_thumbnail_id'
  )
) AND ((wp_posts.post_type = 'event' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled')))
					 GROUP BY wp_posts.ID
					 ORDER BY wp_postmeta.meta_value ASC
					 LIMIT 0, 12
Leave a Comment