我使用以下查询
SELECT `meta_value`-0.2
FROM `wp_postmeta`
WHERE `meta_key` = 'latitude'
AND `post_id` =(SELECT wp_posts.ID
FROM wp_posts
LEFT JOIN wp_postmeta ON wp_posts.ID = wp_postmeta.post_id
WHERE wp_posts.post_content LIKE '%$searched%'
OR wp_posts.post_title LIKE '%$searched%'
OR wp_posts.post_name LIKE '%$searched%'
OR wp_postmeta.meta_value LIKE '%$searched%'
LIMIT 0 , 1 )
LIMIT 0 , 1
搜索的变量也由$ searching = the_search_query()设置; 但是当我尝试运行查询时,搜索变量中没有任何内容