SELECT SQL_CALC_FOUND_ROWS wp_posts.*, IF(wppm.meta_value= 1, 'YES', NULL) as showcased
FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) LEFT JOIN wp_postmeta as wppm ON (wp_posts.ID = wppm.post_id AND wppm.meta_key = 'promoted')
WHERE 1=1 AND (
wp_term_relationships.term_taxonomy_id IN (9373)
) AND wp_posts.post_type = 'post' AND ((wp_posts.post_status = 'publish')) AND wp_posts.ID NOT IN ( SELECT ID FROM wp_posts WHERE post_type IN ('post','page','attachment','job_listing','podcasts','industry-news','product','business-directory','testimonial') AND ID IN ( SELECT post_id FROM wp_postmeta pm WHERE pm.meta_key = 'groups-read' AND pm.meta_value NOT IN (0) AND pm.meta_value IN ( SELECT group_id FROM wp_groups_group ) AND post_id NOT IN ( SELECT post_id FROM wp_postmeta pm WHERE pm.meta_key = 'groups-read' AND pm.meta_value IN (0) ) ) ) AND wp_posts.ID IN ( SELECT ID FROM wp_posts WHERE ID NOT IN ( SELECT post_id FROM wp_postmeta WHERE wp_postmeta.meta_key = 'groups-groups_read_post' ) UNION ALL SELECT post_id AS ID FROM wp_postmeta WHERE wp_postmeta.meta_key = 'groups-groups_read_post' AND wp_postmeta.meta_value IN ('') )
GROUP BY wp_posts.ID
ORDER BY wp_posts.menu_order, wp_posts.menu_order, wp_posts.post_date DESC
LIMIT 70, 10
September 13, 2022
Evergreen, Colorado (Sept 13, 2022) /ENDURANCE SPORTSWIRE/ - Building on their rapid growth across Europe in recent years, global smart e-bike brand Econic One has now launched in the US, and they’re bringing on SIMBOL Communications as its PR Agency of Record for the American market, to help build similar...
July 6, 2022
Showcased
(Logan, UT – July 7, 2022) /ENDURANCE SPORTSWIRE/ - iFIT, a leader in interactive fitness hardware, software, and subscription content, announced today that Dale R. Gerard has joined iFIT as Chief Financial Officer. Mr. Gerard comes to iFIT with more than 25 years of finance, treasury, and operational experience with...
Page 8 of 8« First«...45678