Browse by category

WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => architecture-design ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => architecture-design ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => architecture-design ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => architecture-design ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => architecture-design ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (947) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 23693 [post_author] => 1 [post_date] => 2017-09-14 14:04:05 [post_date_gmt] => 2017-09-14 13:04:05 [post_content] => [post_title] => Welsh Oak Frame [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => welsh-oak-frame [to_ping] => [pinged] => [post_modified] => 2020-03-10 15:43:27 [post_modified_gmt] => 2020-03-10 15:43:27 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23693 [menu_order] => 105 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 23693 [post_author] => 1 [post_date] => 2017-09-14 14:04:05 [post_date_gmt] => 2017-09-14 13:04:05 [post_content] => [post_title] => Welsh Oak Frame [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => welsh-oak-frame [to_ping] => [pinged] => [post_modified] => 2020-03-10 15:43:27 [post_modified_gmt] => 2020-03-10 15:43:27 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23693 [menu_order] => 105 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 15 [max_num_pages] => 15 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => 50d5de745cdb5a5ed3e97ee5f4b6d518 [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) ) WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => building-materials ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => building-materials ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => building-materials ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => building-materials ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => building-materials ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (948) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 16022 [post_author] => 1 [post_date] => 2017-08-24 10:47:23 [post_date_gmt] => 2017-08-24 09:47:23 [post_content] => [post_title] => Russwood [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => russwood [to_ping] => [pinged] => [post_modified] => 2020-01-16 09:46:17 [post_modified_gmt] => 2020-01-16 09:46:17 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=16022 [menu_order] => 94 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 16022 [post_author] => 1 [post_date] => 2017-08-24 10:47:23 [post_date_gmt] => 2017-08-24 09:47:23 [post_content] => [post_title] => Russwood [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => russwood [to_ping] => [pinged] => [post_modified] => 2020-01-16 09:46:17 [post_modified_gmt] => 2020-01-16 09:46:17 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=16022 [menu_order] => 94 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 19 [max_num_pages] => 19 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => fafd0980950091148205439a72f2a18a [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) )
WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => custom-build ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => custom-build ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => custom-build ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => custom-build ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => custom-build ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (949) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 39868 [post_author] => 7736 [post_date] => 2018-03-29 16:16:30 [post_date_gmt] => 2018-03-29 15:16:30 [post_content] => [post_title] => Graven Hill [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => graven-hill [to_ping] => [pinged] => [post_modified] => 2020-04-07 09:50:47 [post_modified_gmt] => 2020-04-07 08:50:47 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=39868 [menu_order] => 9 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 39868 [post_author] => 7736 [post_date] => 2018-03-29 16:16:30 [post_date_gmt] => 2018-03-29 15:16:30 [post_content] => [post_title] => Graven Hill [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => graven-hill [to_ping] => [pinged] => [post_modified] => 2020-04-07 09:50:47 [post_modified_gmt] => 2020-04-07 08:50:47 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=39868 [menu_order] => 9 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 4 [max_num_pages] => 4 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => a19ef1219d058e7df886b27ae73b3a55 [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) ) WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => doors ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => doors ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => doors ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => doors ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => doors ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (951) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 23702 [post_author] => 1 [post_date] => 2017-09-14 14:11:40 [post_date_gmt] => 2017-09-14 13:11:40 [post_content] => [post_title] => Kloeber [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => kloeber [to_ping] => [pinged] => [post_modified] => 2020-04-30 15:54:48 [post_modified_gmt] => 2020-04-30 14:54:48 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23702 [menu_order] => 74 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 23702 [post_author] => 1 [post_date] => 2017-09-14 14:11:40 [post_date_gmt] => 2017-09-14 13:11:40 [post_content] => [post_title] => Kloeber [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => kloeber [to_ping] => [pinged] => [post_modified] => 2020-04-30 15:54:48 [post_modified_gmt] => 2020-04-30 14:54:48 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23702 [menu_order] => 74 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 9 [max_num_pages] => 9 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => 7dc37e519b1d6069a34ea537775bf4e8 [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) ) WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => finance-professional-services ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => finance-professional-services ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => finance-professional-services ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => finance-professional-services ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => finance-professional-services ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (953) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 28132 [post_author] => 2121 [post_date] => 2017-11-07 13:51:42 [post_date_gmt] => 2017-11-07 13:51:42 [post_content] => [post_title] => Self-Build Zone [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => self-build-zone [to_ping] => [pinged] => [post_modified] => 2020-07-06 15:00:52 [post_modified_gmt] => 2020-07-06 14:00:52 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=28132 [menu_order] => 34 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 28132 [post_author] => 2121 [post_date] => 2017-11-07 13:51:42 [post_date_gmt] => 2017-11-07 13:51:42 [post_content] => [post_title] => Self-Build Zone [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => self-build-zone [to_ping] => [pinged] => [post_modified] => 2020-07-06 15:00:52 [post_modified_gmt] => 2020-07-06 14:00:52 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=28132 [menu_order] => 34 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 8 [max_num_pages] => 8 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => d2452f1ce97add6840b85d01b2efa234 [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) ) WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => gardens-outbuildings ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => gardens-outbuildings ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => gardens-outbuildings ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => gardens-outbuildings ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => gardens-outbuildings ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (1559) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 16022 [post_author] => 1 [post_date] => 2017-08-24 10:47:23 [post_date_gmt] => 2017-08-24 09:47:23 [post_content] => [post_title] => Russwood [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => russwood [to_ping] => [pinged] => [post_modified] => 2020-01-16 09:46:17 [post_modified_gmt] => 2020-01-16 09:46:17 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=16022 [menu_order] => 94 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 16022 [post_author] => 1 [post_date] => 2017-08-24 10:47:23 [post_date_gmt] => 2017-08-24 09:47:23 [post_content] => [post_title] => Russwood [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => russwood [to_ping] => [pinged] => [post_modified] => 2020-01-16 09:46:17 [post_modified_gmt] => 2020-01-16 09:46:17 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=16022 [menu_order] => 94 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 7 [max_num_pages] => 7 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => e7cbaf4d29a72276d1c4a96050f031c8 [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) ) WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => heating-ventilation ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => heating-ventilation ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => heating-ventilation ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => heating-ventilation ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => heating-ventilation ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (954) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 23697 [post_author] => 1 [post_date] => 2017-09-14 14:06:57 [post_date_gmt] => 2017-09-14 13:06:57 [post_content] => [post_title] => Green Building Store [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => green-building-store [to_ping] => [pinged] => [post_modified] => 2020-01-08 12:11:58 [post_modified_gmt] => 2020-01-08 12:11:58 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23697 [menu_order] => 58 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 23697 [post_author] => 1 [post_date] => 2017-09-14 14:06:57 [post_date_gmt] => 2017-09-14 13:06:57 [post_content] => [post_title] => Green Building Store [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => green-building-store [to_ping] => [pinged] => [post_modified] => 2020-01-08 12:11:58 [post_modified_gmt] => 2020-01-08 12:11:58 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23697 [menu_order] => 58 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 11 [max_num_pages] => 11 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => ef0025d172993bd93ff50383737c1727 [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) ) WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => home-technology ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => home-technology ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => home-technology ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => home-technology ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => home-technology ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (955) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 23661 [post_author] => 1 [post_date] => 2017-09-14 12:42:30 [post_date_gmt] => 2017-09-14 11:42:30 [post_content] => [post_title] => Moss Technical [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => moss-technical [to_ping] => [pinged] => [post_modified] => 2019-10-29 09:33:55 [post_modified_gmt] => 2019-10-29 09:33:55 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23661 [menu_order] => 80 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 23661 [post_author] => 1 [post_date] => 2017-09-14 12:42:30 [post_date_gmt] => 2017-09-14 11:42:30 [post_content] => [post_title] => Moss Technical [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => moss-technical [to_ping] => [pinged] => [post_modified] => 2019-10-29 09:33:55 [post_modified_gmt] => 2019-10-29 09:33:55 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23661 [menu_order] => 80 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 2 [max_num_pages] => 2 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => 10fc14c497913f96104e83ff837e11c2 [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) ) WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => interiors-finishes ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => interiors-finishes ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => interiors-finishes ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => interiors-finishes ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => interiors-finishes ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (956) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 23667 [post_author] => 1 [post_date] => 2017-09-14 12:49:50 [post_date_gmt] => 2017-09-14 11:49:50 [post_content] => [post_title] => Sky House Design Centre [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => sky-house-design-centre [to_ping] => [pinged] => [post_modified] => 2020-07-09 11:29:49 [post_modified_gmt] => 2020-07-09 10:29:49 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23667 [menu_order] => 27 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 23667 [post_author] => 1 [post_date] => 2017-09-14 12:49:50 [post_date_gmt] => 2017-09-14 11:49:50 [post_content] => [post_title] => Sky House Design Centre [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => sky-house-design-centre [to_ping] => [pinged] => [post_modified] => 2020-07-09 11:29:49 [post_modified_gmt] => 2020-07-09 10:29:49 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23667 [menu_order] => 27 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 6 [max_num_pages] => 6 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => 2d95dcc782a127c5fadd3476527839ff [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) ) WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => lofts-basements ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => lofts-basements ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => lofts-basements ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => lofts-basements ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => lofts-basements ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (957) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 34503 [post_author] => 2202 [post_date] => 2018-01-31 17:42:24 [post_date_gmt] => 2018-01-31 17:42:24 [post_content] => [post_title] => Simply Construction Group [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => simply-construction-group [to_ping] => [pinged] => [post_modified] => 2020-03-13 11:15:30 [post_modified_gmt] => 2020-03-13 11:15:30 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=34503 [menu_order] => 48 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 34503 [post_author] => 2202 [post_date] => 2018-01-31 17:42:24 [post_date_gmt] => 2018-01-31 17:42:24 [post_content] => [post_title] => Simply Construction Group [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => simply-construction-group [to_ping] => [pinged] => [post_modified] => 2020-03-13 11:15:30 [post_modified_gmt] => 2020-03-13 11:15:30 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=34503 [menu_order] => 48 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 3 [max_num_pages] => 3 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => 1f63c34ce30f8bd52c96012435704d90 [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) ) WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => renewable-energy ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => renewable-energy ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => renewable-energy ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => renewable-energy ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => renewable-energy ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (958) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 28015 [post_author] => 2121 [post_date] => 2017-11-06 09:50:22 [post_date_gmt] => 2017-11-06 09:50:22 [post_content] => [post_title] => Kensa Heat Pumps [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => kensa-heat-pumps [to_ping] => [pinged] => [post_modified] => 2019-09-19 11:23:04 [post_modified_gmt] => 2019-09-19 10:23:04 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=28015 [menu_order] => 32 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 28015 [post_author] => 2121 [post_date] => 2017-11-06 09:50:22 [post_date_gmt] => 2017-11-06 09:50:22 [post_content] => [post_title] => Kensa Heat Pumps [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => kensa-heat-pumps [to_ping] => [pinged] => [post_modified] => 2019-09-19 11:23:04 [post_modified_gmt] => 2019-09-19 10:23:04 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=28015 [menu_order] => 32 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 4 [max_num_pages] => 4 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => 541d49156701c0d5cbb266749d2d63b5 [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) ) WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => roofing-rainwater-goods ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => roofing-rainwater-goods ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => roofing-rainwater-goods ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => roofing-rainwater-goods ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => roofing-rainwater-goods ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (960) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 23674 [post_author] => 1 [post_date] => 2017-09-14 12:56:28 [post_date_gmt] => 2017-09-14 11:56:28 [post_content] => [post_title] => Tudor Roof Tiles [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => tudor-roof-tiles [to_ping] => [pinged] => [post_modified] => 2020-03-27 14:09:20 [post_modified_gmt] => 2020-03-27 14:09:20 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23674 [menu_order] => 100 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 23674 [post_author] => 1 [post_date] => 2017-09-14 12:56:28 [post_date_gmt] => 2017-09-14 11:56:28 [post_content] => [post_title] => Tudor Roof Tiles [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => tudor-roof-tiles [to_ping] => [pinged] => [post_modified] => 2020-03-27 14:09:20 [post_modified_gmt] => 2020-03-27 14:09:20 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23674 [menu_order] => 100 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 5 [max_num_pages] => 5 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => 5575dd00d0bdd00f382f1894337d803d [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) ) WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => staircases-joinery ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => staircases-joinery ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => staircases-joinery ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => staircases-joinery ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => staircases-joinery ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (963) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 23677 [post_author] => 1 [post_date] => 2017-09-14 12:58:58 [post_date_gmt] => 2017-09-14 11:58:58 [post_content] => [post_title] => Bisca [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => bisca [to_ping] => [pinged] => [post_modified] => 2020-03-25 12:41:42 [post_modified_gmt] => 2020-03-25 12:41:42 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23677 [menu_order] => 43 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 23677 [post_author] => 1 [post_date] => 2017-09-14 12:58:58 [post_date_gmt] => 2017-09-14 11:58:58 [post_content] => [post_title] => Bisca [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => bisca [to_ping] => [pinged] => [post_modified] => 2020-03-25 12:41:42 [post_modified_gmt] => 2020-03-25 12:41:42 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23677 [menu_order] => 43 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 1 [max_num_pages] => 1 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => 90f11b11b9c3ff717d60002163ebe1a5 [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) ) WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => structural-systems ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => structural-systems ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => structural-systems ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => structural-systems ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => structural-systems ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (964) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 23693 [post_author] => 1 [post_date] => 2017-09-14 14:04:05 [post_date_gmt] => 2017-09-14 13:04:05 [post_content] => [post_title] => Welsh Oak Frame [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => welsh-oak-frame [to_ping] => [pinged] => [post_modified] => 2020-03-10 15:43:27 [post_modified_gmt] => 2020-03-10 15:43:27 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23693 [menu_order] => 105 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 23693 [post_author] => 1 [post_date] => 2017-09-14 14:04:05 [post_date_gmt] => 2017-09-14 13:04:05 [post_content] => [post_title] => Welsh Oak Frame [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => welsh-oak-frame [to_ping] => [pinged] => [post_modified] => 2020-03-10 15:43:27 [post_modified_gmt] => 2020-03-10 15:43:27 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23693 [menu_order] => 105 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 33 [max_num_pages] => 33 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => 3c4b94e9b9a1e9da9e4e56750ddeaced [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) ) WP_Query Object ( [query] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => windows-glazing ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) ) [query_vars] => Array ( [post_type] => company [posts_per_page] => 1 [order] => DESC [orderby] => menu_order [tax_query] => Array ( [0] => Array ( [taxonomy] => directorycategory [field] => slug [terms] => windows-glazing ) ) [meta_query] => Array ( [relation] => AND [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [relation] => OR [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) ) ) [error] => [m] => [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [paged] => 0 [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [ignore_sticky_posts] => [suppress_filters] => [cache_results] => [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => directorycategory [term] => windows-glazing ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => directorycategory [terms] => Array ( [0] => windows-glazing ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wp_term_relationships ) [queried_terms] => Array ( [directorycategory] => Array ( [terms] => Array ( [0] => windows-glazing ) [field] => slug ) ) [primary_table] => wp_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date ) [0] => Array ( [views] => Array ( [key] => views_weekly [compare] => EXISTS ) [0] => Array ( [key] => views_weekly [compare] => NOT EXISTS ) [relation] => OR ) [relation] => AND ) [relation] => AND [meta_table] => wp_postmeta [meta_id_column] => post_id [primary_table] => wp_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wp_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [page_type] => Array ( [key] => page_type [compare] => NOT EXISTS [compare_key] => = [alias] => wp_postmeta [cast] => CHAR ) [end_date] => Array ( [key] => end_date [value] => 20200712 [compare] => > [type] => date [compare_key] => = [alias] => mt1 [cast] => DATE ) [views] => Array ( [key] => views_weekly [compare] => EXISTS [compare_key] => = [alias] => mt2 [cast] => CHAR ) [mt3] => Array ( [key] => views_weekly [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => 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) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'page_type' ) LEFT JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) LEFT JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id AND mt3.meta_key = 'views_weekly' ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (965) ) AND ( wp_postmeta.post_id IS NULL AND ( mt1.meta_key = 'end_date' AND CAST(mt1.meta_value AS DATE) > '20200712' ) AND ( mt2.meta_key = 'views_weekly' OR mt3.post_id IS NULL ) ) AND wp_posts.post_type = 'company' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC LIMIT 0, 1 [posts] => Array ( [0] => WP_Post Object ( [ID] => 23704 [post_author] => 1 [post_date] => 2017-09-14 14:13:36 [post_date_gmt] => 2017-09-14 13:13:36 [post_content] => [post_title] => VELFAC [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => velfac [to_ping] => [pinged] => [post_modified] => 2020-01-21 10:49:25 [post_modified_gmt] => 2020-01-21 10:49:25 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23704 [menu_order] => 102 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 23704 [post_author] => 1 [post_date] => 2017-09-14 14:13:36 [post_date_gmt] => 2017-09-14 13:13:36 [post_content] => [post_title] => VELFAC [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => velfac [to_ping] => [pinged] => [post_modified] => 2020-01-21 10:49:25 [post_modified_gmt] => 2020-01-21 10:49:25 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.self-build.co.uk/?post_type=company&p=23704 [menu_order] => 102 [post_type] => company [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 16 [max_num_pages] => 16 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => c57453bd810b46d32d6dadd56957604e [query_vars_changed:WP_Query:private] => [thumbnails_cached] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) )

Search directory

Find the products and services you need by searching below.

Our sponsors