Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save 2803media/9251633 to your computer and use it in GitHub Desktop.
Save 2803media/9251633 to your computer and use it in GitHub Desktop.
SELECT DISTINCT ID FROM wp_posts WHERE ID NOT IN (SELECT post_id FROM wp_postmeta WHERE wp_postmeta.meta_key='descriptionspin') AND post_status= 'publish' AND post_type='post'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment