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] => 25
[1] => 24
)
[operator] => AND
)
)
[wpse18703_title] => Antique Malayer rug
[post__not_in] => Array
(
[0] => 26697
)
)
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 (26697) AND (
(
SELECT COUNT(1)
FROM wp_term_relationships
WHERE term_taxonomy_id IN (24,25)
AND object_id = wp_posts.ID
) = 2
) 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 Malayer%') OR (wp_posts.post_title LIKE '%Malayer rug%')) GROUP BY wp_posts.ID ORDER BY ((wp_posts.post_title LIKE '%Antique Malayer%') + (wp_posts.post_title LIKE '%Malayer 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
)
)
[tax_query] => Array
(
[0] => Array
(
[include_children] =>
[taxonomy] => product_cat
[terms] => Array
(
[0] => 25
[1] => 24
)
)
)
[wpse18703_title] => Antique Malayer rug
[post__not_in] => Array
(
[0] => 26697
)
)
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 (26697) AND (
wp_term_relationships.term_taxonomy_id IN (24,25)
) 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 Malayer%') OR (wp_posts.post_title LIKE '%Malayer rug%')) GROUP BY wp_posts.ID ORDER BY ((wp_posts.post_title LIKE '%Antique Malayer%') + (wp_posts.post_title LIKE '%Malayer rug%')) DESC LIMIT 0, 10
9016
Antique Malayer rug
Circa 1910
233 x 163 cm 7’7” x 5’4”
£2,250
9519
Antique Malayer Kelleh
Circa 1910
301 x 160 cm 9’10” x 5’2”
£5,000
8808
Antique Malayer corridor carpet
Circa 1900
590 x 222 cm 19’4” x 7’3”
£13,500
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] => 25
[1] => 24
)
[operator] => AND
)
)
[post__not_in] => Array
(
[0] => 26697
[1] => 23117
[2] => 24454
[3] => 23004
)
)
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 (26697,23117,24454,23004) AND (
(
SELECT COUNT(1)
FROM wp_term_relationships
WHERE term_taxonomy_id IN (24,25)
AND object_id = wp_posts.ID
) = 2
) 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
10083
Antique Tabriz rug
Circa 1900
204 x 135 cm 6’8” x 4’5”
£7,350
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] => 25
[1] => 24
)
)
)
[post__not_in] => Array
(
[0] => 26697
[1] => 23117
[2] => 24454
[3] => 23004
[4] => 27061
)
)
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 ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) WHERE 1=1 AND wp_posts.ID NOT IN (26697,23117,24454,23004,27061) AND (
wp_term_relationships.term_taxonomy_id IN (24,25)
) 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
9904
Antique 'Ahar' Heriz carpet
Circa 1900
330 x 246 cm 10’9” x 8’
£6,500
10243
Pair of Antique Kashan rugs
Circa 1920
208 x 137 cm 6’9” x 4’5”
£9,200
9163
Antique Amritsar rug
Circa 1890
260 x 170 cm 8’6” x 5’6”
£6,950
7427
Antique Kuba rug
Circa 1890
205 x 115 cm 6’8” x 3’9”
£6,850
9903
Antique Heriz carpet
Circa 1900
324 x 253 cm 10’7” x 8’3”
£6,250
10073
Antique Bessarabian Kilim
Circa 1920
290 x 243 cm 9’6” x 7’11”
£5,800