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 Fereghan carpet
[post__not_in] => Array
(
[0] => 24549
)
)
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 (24549) 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 Fereghan%') OR (wp_posts.post_title LIKE '%Fereghan carpet%')) GROUP BY wp_posts.ID ORDER BY ((wp_posts.post_title LIKE '%Antique Fereghan%') + (wp_posts.post_title LIKE '%Fereghan carpet%')) DESC LIMIT 0, 10
4188
Antique Fereghan carpet
Circa 1870
401 x 302 cm 13’1” x 9’10”
£32,000
4189
Antique Fereghan carpet
Circa 1870
447 x 307 cm 14’7” x 10’
£34,000
6248
Antique Fereghan carpet
Circa 1880
760 x 510 cm 24’11” x 16’8”
£ POA
7230
Antique Fereghan carpet
Circa 1890
614 x 328 cm 20’1” x 10’9”
£68,000
8482
Antique Fereghan carpet
Circa 1880
500 x 395 cm 16’4” x 12’11”
£36,000
8175
Antique Fereghan carpet
Circa 1870
540 x 370 cm 17’8” x 12’1”
£52,500
9316
Antique Fereghan carpet
Circa 1880
723 x 423 cm 23’8” x 13’10”
£65,000
8999
Distressed Antique Fereghan carpet
Circa 1880
385 x 290 cm 12’7” x 9’6”
£11,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
)
)
[tax_query] => Array
(
[0] => Array
(
[include_children] =>
[taxonomy] => product_cat
[terms] => Array
(
[0] => 25
)
)
)
[wpse18703_title] => Antique Fereghan carpet
[post__not_in] => Array
(
[0] => 24549
[1] => 14733
[2] => 14818
[3] => 15901
[4] => 19914
[5] => 21172
[6] => 22399
[7] => 23800
[8] => 23028
)
)
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 (24549,14733,14818,15901,19914,21172,22399,23800,23028) 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 Fereghan%') OR (wp_posts.post_title LIKE '%Fereghan carpet%')) GROUP BY wp_posts.ID ORDER BY ((wp_posts.post_title LIKE '%Antique Fereghan%') + (wp_posts.post_title LIKE '%Fereghan 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] => £15,000 to £20,000
[compare] => =
)
)
[tax_query] => Array
(
[0] => Array
(
[include_children] =>
[taxonomy] => product_cat
[terms] => Array
(
[0] => 25
)
[operator] => AND
)
)
[post__not_in] => Array
(
[0] => 24549
[1] => 14733
[2] => 14818
[3] => 15901
[4] => 19914
[5] => 21172
[6] => 22399
[7] => 23800
[8] => 23028
)
)
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 (24549,14733,14818,15901,19914,21172,22399,23800,23028) 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 = '£15,000 to £20,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
10626
Antique Heriz carpet
Circa 1900
346 x 260 cm 11’4” x 8’6”
£16,500
10043
Antique Ushak carpet
Circa 1890
355 x 278 cm 11’7” x 9’1”
£19,500