Array
(
[post_type] => product
[post_status] => publish
[posts_per_page] => 10
[meta_query] => Array
(
[relation] => AND
[0] => Array
(
[key] => _stock_status
[value] => instock
[compare] => =
[type] => CHAR
)
)
[tax_query] => Array
(
[0] => Array
(
[include_children] =>
[taxonomy] => product_cat
[terms] => Array
(
[0] => 24
)
[operator] => AND
)
)
[wpse18703_title] => Antique Kuba rug
[post__not_in] => Array
(
[0] => 25967
)
)
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND wp_posts.ID NOT IN (25967) AND (
(
SELECT COUNT(1)
FROM wp_term_relationships
WHERE term_taxonomy_id IN (24)
AND object_id = wp_posts.ID
) = 1
) AND (
( wp_postmeta.meta_key = '_stock_status' AND wp_postmeta.meta_value = 'instock' )
) AND wp_posts.post_type = 'product' AND ((wp_posts.post_status = 'publish')) AND ((wp_posts.post_title LIKE '%Antique Kuba%') OR (wp_posts.post_title LIKE '%Kuba rug%')) GROUP BY wp_posts.ID ORDER BY ((wp_posts.post_title LIKE '%Antique Kuba%') + (wp_posts.post_title LIKE '%Kuba rug%')) DESC LIMIT 0, 10
7427
Antique Kuba rug
Circa 1890
205 x 115 cm 6’8” x 3’9”
£6,850
6803
Antique Kuba rug
Circa 1890
251 x 113 cm 8’2” x 3’8”
£5,950
10012
Antique Kuba Afshan rug
Circa 1900
150 x 125 cm 4’11” x 4’1”
£2,850
Array
(
[post_type] => product
[post_status] => publish
[posts_per_page] => 10
[meta_query] => Array
(
[relation] => AND
[0] => Array
(
[key] => _stock_status
[value] => instock
[compare] => =
[type] => CHAR
)
)
[tax_query] => Array
(
[0] => Array
(
[include_children] =>
[taxonomy] => product_cat
[terms] => Array
(
[0] => 24
)
)
)
[wpse18703_title] => Antique Kuba rug
[post__not_in] => Array
(
[0] => 25967
[1] => 17986
[2] => 26684
[3] => 26549
)
)
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND wp_posts.ID NOT IN (25967,17986,26684,26549) AND (
wp_term_relationships.term_taxonomy_id IN (24)
) AND (
( wp_postmeta.meta_key = '_stock_status' AND wp_postmeta.meta_value = 'instock' )
) AND wp_posts.post_type = 'product' AND ((wp_posts.post_status = 'publish')) AND ((wp_posts.post_title LIKE '%Antique Kuba%') OR (wp_posts.post_title LIKE '%Kuba rug%')) GROUP BY wp_posts.ID ORDER BY ((wp_posts.post_title LIKE '%Antique Kuba%') + (wp_posts.post_title LIKE '%Kuba rug%')) DESC LIMIT 0, 10
Array
(
[post_type] => product
[post_status] => publish
[posts_per_page] => 10
[meta_query] => Array
(
[relation] => AND
[0] => Array
(
[key] => _stock_status
[value] => instock
[compare] => =
[type] => CHAR
)
[1] => Array
(
[key] => price_guide
[value] => £5,000 to £10,000
[compare] => =
)
)
[tax_query] => Array
(
[0] => Array
(
[include_children] =>
[taxonomy] => product_cat
[terms] => Array
(
[0] => 24
)
[operator] => AND
)
)
[post__not_in] => Array
(
[0] => 25967
[1] => 17986
[2] => 26684
[3] => 26549
)
)
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 ) WHERE 1=1 AND wp_posts.ID NOT IN (25967,17986,26684,26549) AND (
(
SELECT COUNT(1)
FROM wp_term_relationships
WHERE term_taxonomy_id IN (24)
AND object_id = wp_posts.ID
) = 1
) AND (
( wp_postmeta.meta_key = '_stock_status' AND wp_postmeta.meta_value = 'instock' )
AND
( mt1.meta_key = 'price_guide' AND mt1.meta_value = '£5,000 to £10,000' )
) AND wp_posts.post_type = 'product' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10
10243
Pair of Antique Kashan rugs
Circa 1920
208 x 137 cm 6’9” x 4’5”
£9,200
10083
Antique Tabriz rug
Circa 1900
204 x 135 cm 6’8” x 4’5”
£7,350
10091
Rare Antique Karaja rug
Circa 1890
212 x 153 cm 6’11” x 5’
£8,950
10049
Antique Malayer rug
Circa 1900
237 x 186 cm 7’9” x 6’1”
£7,250
9887
Antique Lesghi rug
Circa 1880
140 x 92 cm 4’7” x 3’
£8,500
9736
Antique Qashqai kashkuli rug
Circa 1880
206 x 146 cm 6’9” x 4’9”
£8,650
9735
Antique Farahan rug
Circa 1890
198 x 134 cm 6’5” x 4’4”
£7,500