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
)
[operator] => AND
)
)
[wpse18703_title] => Antique Sivas carpet
[post__not_in] => Array
(
[0] => 23797
)
)
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 (23797) AND (
(
SELECT COUNT(1)
FROM wp_term_relationships
WHERE term_taxonomy_id IN (25)
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 Sivas%') OR (wp_posts.post_title LIKE '%Sivas carpet%')) AND (wp_posts.post_password = '') GROUP BY wp_posts.ID ORDER BY ((wp_posts.post_title LIKE '%Antique Sivas%') + (wp_posts.post_title LIKE '%Sivas carpet%')) DESC LIMIT 0, 10
2031
Antique Sivas carpet
Circa 1900
417 x 353 cm 13’8” x 11’6”
£ POA
6165
Antique Sivas carpet
Circa 1890
480 x 395 cm 15’8” x 12’11”
£45,000
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
)
)
)
[wpse18703_title] => Antique Sivas carpet
[post__not_in] => Array
(
[0] => 23797
[1] => 14425
[2] => 16126
)
)
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 (23797,14425,16126) AND (
wp_term_relationships.term_taxonomy_id IN (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 Sivas%') OR (wp_posts.post_title LIKE '%Sivas carpet%')) AND (wp_posts.post_password = '') GROUP BY wp_posts.ID ORDER BY ((wp_posts.post_title LIKE '%Antique Sivas%') + (wp_posts.post_title LIKE '%Sivas carpet%')) 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] => over £20,000
[compare] => =
)
)
[tax_query] => Array
(
[0] => Array
(
[include_children] =>
[taxonomy] => product_cat
[terms] => Array
(
[0] => 25
)
[operator] => AND
)
)
[post__not_in] => Array
(
[0] => 23797
[1] => 14425
[2] => 16126
)
)
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 (23797,14425,16126) AND (
(
SELECT COUNT(1)
FROM wp_term_relationships
WHERE term_taxonomy_id IN (25)
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 = 'over £20,000' )
) AND wp_posts.post_type = 'product' AND ((wp_posts.post_status = 'publish')) AND (wp_posts.post_password = '') GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10
5503
Antique Ziegler carpet
Circa 1890
1045 x 740 cm 34’3” x 24’3”
£ POA
8360
Antique Mahal carpet
Circa 1900
415 x 305 cm 13’7” x 10’
£22,500
8847
Antique Angora carpet
Circa 1890
336 x 240 cm 11’ x 7’10”
£22,500
9514
Antique Ushak carpet
Circa 1890
436 x 320 cm 14’3” x 10’5”
£24,500
9438
Antique Serapi carpet
Circa 1890
352 x 295 cm 11’6” x 9’8”
£55,000
9460
Rare Early Ushak carpet
Circa 1800
710 x 562 cm 23’3” x 18’5”
£80,000
9335
Antique Bakshaish carpet
Circa 1860
588 x 396 cm 19’3” x 12’11”
£75,000
210
Antique Bakshaish carpet
Circa 1880
665 x 380 cm 21’9” x 12’5”
£25,000