SELECT *, CASE WHEN `name` LIKE "Farmersville%" AND `sub_cat` IS NULL AND `cat` IS NULL AND `locality` = "Farmersville" AND `logo_file_name` IS NOT NULL THEN 10 WHEN `sub_cat` IS NULL AND `cat` IS NULL AND `locality` = "Farmersville" AND `logo_file_name` IS NOT NULL THEN 2 WHEN `sub_cat` IS NULL AND `cat` IS NULL AND `locality` = "Farmersville" AND `logo_file_name` IS NULL THEN 1 WHEN `sub_cat` IS NULL AND `cat` IS NULL AND `locality` IS NULL AND `logo_file_name` IS NULL THEN 0 END as `rank` FROM `wp_37_slides` WHERE (locality IN ("Farmersville") OR locality IS NULL) AND (cat IS NULL) AND name NOT IN ("home-top", "home-bot") AND active = 1 ORDER BY `rank` DESC LIMIT 12 [4] matching rows / [0.00 msec] Blog ID 37 Blah
FARMERSVILLE STORIES
This error message is only visible to WordPress admins

Error: No posts found.

Make sure this account has posts available on instagram.com.