CLASSIFIEDS
Add your classified to edhat for FREE for 30 days. Want more eyes on your post? Upgrade it to be in our daily newsletter by selecting the box below or email us at info@edhat.com
Please Login to Submit your classified to Edhat!
-
object(WP_Query)#16740 (59) {
["query"]=>
array(4) {
["post_type"]=>
string(11) "classifieds"
["posts_per_page"]=>
int(20)
["meta_query"]=>
array(3) {
["relation"]=>
string(3) "AND"
[0]=>
array(4) {
["key"]=>
string(14) "ads_start_date"
["value"]=>
string(10) "2024-10-09"
["compare"]=>
string(2) "<="
["type"]=>
string(4) "DATE"
}
[1]=>
array(4) {
["key"]=>
string(12) "ads_end_date"
["value"]=>
string(10) "2024-10-09"
["compare"]=>
string(2) ">="
["type"]=>
string(4) "DATE"
}
}
["paged"]=>
int(1)
}
["query_vars"]=>
array(66) {
["post_type"]=>
string(11) "classifieds"
["posts_per_page"]=>
int(20)
["meta_query"]=>
array(3) {
["relation"]=>
string(3) "AND"
[0]=>
array(4) {
["key"]=>
string(14) "ads_start_date"
["value"]=>
string(10) "2024-10-09"
["compare"]=>
string(2) "<="
["type"]=>
string(4) "DATE"
}
[1]=>
array(4) {
["key"]=>
string(12) "ads_end_date"
["value"]=>
string(10) "2024-10-09"
["compare"]=>
string(2) ">="
["type"]=>
string(4) "DATE"
}
}
["paged"]=>
int(1)
["error"]=>
string(0) ""
["m"]=>
string(0) ""
["p"]=>
int(0)
["post_parent"]=>
string(0) ""
["subpost"]=>
string(0) ""
["subpost_id"]=>
string(0) ""
["attachment"]=>
string(0) ""
["attachment_id"]=>
int(0)
["name"]=>
string(0) ""
["pagename"]=>
string(0) ""
["page_id"]=>
int(0)
["second"]=>
string(0) ""
["minute"]=>
string(0) ""
["hour"]=>
string(0) ""
["day"]=>
int(0)
["monthnum"]=>
int(0)
["year"]=>
int(0)
["w"]=>
int(0)
["category_name"]=>
string(0) ""
["tag"]=>
string(0) ""
["cat"]=>
string(0) ""
["tag_id"]=>
string(0) ""
["author"]=>
string(0) ""
["author_name"]=>
string(0) ""
["feed"]=>
string(0) ""
["tb"]=>
string(0) ""
["meta_key"]=>
string(0) ""
["meta_value"]=>
string(0) ""
["preview"]=>
string(0) ""
["s"]=>
string(0) ""
["sentence"]=>
string(0) ""
["title"]=>
string(0) ""
["fields"]=>
string(0) ""
["menu_order"]=>
string(0) ""
["embed"]=>
string(0) ""
["category__in"]=>
array(0) {
}
["category__not_in"]=>
array(0) {
}
["category__and"]=>
array(0) {
}
["post__in"]=>
array(0) {
}
["post__not_in"]=>
array(0) {
}
["post_name__in"]=>
array(0) {
}
["tag__in"]=>
array(0) {
}
["tag__not_in"]=>
array(0) {
}
["tag__and"]=>
array(0) {
}
["tag_slug__in"]=>
array(0) {
}
["tag_slug__and"]=>
array(0) {
}
["post_parent__in"]=>
array(0) {
}
["post_parent__not_in"]=>
array(0) {
}
["author__in"]=>
array(0) {
}
["author__not_in"]=>
array(0) {
}
["search_columns"]=>
array(0) {
}
["ignore_sticky_posts"]=>
bool(false)
["suppress_filters"]=>
bool(false)
["cache_results"]=>
bool(true)
["update_post_term_cache"]=>
bool(true)
["update_menu_item_cache"]=>
bool(false)
["lazy_load_term_meta"]=>
bool(true)
["update_post_meta_cache"]=>
bool(true)
["nopaging"]=>
bool(false)
["comments_per_page"]=>
string(2) "30"
["no_found_rows"]=>
bool(false)
["order"]=>
string(4) "DESC"
}
["tax_query"]=>
object(WP_Tax_Query)#16839 (6) {
["queries"]=>
array(0) {
}
["relation"]=>
string(3) "AND"
["table_aliases":protected]=>
array(0) {
}
["queried_terms"]=>
array(0) {
}
["primary_table"]=>
string(8) "wp_posts"
["primary_id_column"]=>
string(2) "ID"
}
["meta_query"]=>
object(WP_Meta_Query)#10970 (9) {
["queries"]=>
array(3) {
[0]=>
array(4) {
["key"]=>
string(14) "ads_start_date"
["value"]=>
string(10) "2024-10-09"
["compare"]=>
string(2) "<="
["type"]=>
string(4) "DATE"
}
[1]=>
array(4) {
["key"]=>
string(12) "ads_end_date"
["value"]=>
string(10) "2024-10-09"
["compare"]=>
string(2) ">="
["type"]=>
string(4) "DATE"
}
["relation"]=>
string(3) "AND"
}
["relation"]=>
string(3) "AND"
["meta_table"]=>
string(11) "wp_postmeta"
["meta_id_column"]=>
string(7) "post_id"
["primary_table"]=>
string(8) "wp_posts"
["primary_id_column"]=>
string(2) "ID"
["table_aliases":protected]=>
array(2) {
[0]=>
string(11) "wp_postmeta"
[1]=>
string(3) "mt1"
}
["clauses":protected]=>
array(2) {
["wp_postmeta"]=>
array(7) {
["key"]=>
string(14) "ads_start_date"
["value"]=>
string(10) "2024-10-09"
["compare"]=>
string(2) "<="
["type"]=>
string(4) "DATE"
["compare_key"]=>
string(1) "="
["alias"]=>
string(11) "wp_postmeta"
["cast"]=>
string(4) "DATE"
}
["mt1"]=>
array(7) {
["key"]=>
string(12) "ads_end_date"
["value"]=>
string(10) "2024-10-09"
["compare"]=>
string(2) ">="
["type"]=>
string(4) "DATE"
["compare_key"]=>
string(1) "="
["alias"]=>
string(3) "mt1"
["cast"]=>
string(4) "DATE"
}
}
["has_or_relation":protected]=>
bool(false)
}
["date_query"]=>
bool(false)
["request"]=>
string(840) "SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id )
WHERE 1=1 AND (
( wp_postmeta.meta_key = 'ads_start_date' AND CAST(wp_postmeta.meta_value AS DATE) <= '2024-10-09' )
AND
( mt1.meta_key = 'ads_end_date' AND CAST(mt1.meta_value AS DATE) >= '2024-10-09' )
) AND ((wp_posts.post_type = 'classifieds' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled' OR wp_posts.post_status = 'tribe-ea-success' OR wp_posts.post_status = 'tribe-ea-failed' OR wp_posts.post_status = 'tribe-ea-schedule' OR wp_posts.post_status = 'tribe-ea-pending' OR wp_posts.post_status = 'tribe-ea-draft')))
GROUP BY wp_posts.ID
ORDER BY wp_posts.post_date DESC
LIMIT 0, 20"
["posts"]=>
array(0) {
}
["post_count"]=>
int(0)
["current_post"]=>
int(-1)
["before_loop"]=>
bool(true)
["in_the_loop"]=>
bool(false)
["comment_count"]=>
int(0)
["current_comment"]=>
int(-1)
["found_posts"]=>
int(0)
["max_num_pages"]=>
int(0)
["max_num_comment_pages"]=>
int(0)
["is_single"]=>
bool(false)
["is_preview"]=>
bool(false)
["is_page"]=>
bool(false)
["is_archive"]=>
bool(false)
["is_date"]=>
bool(false)
["is_year"]=>
bool(false)
["is_month"]=>
bool(false)
["is_day"]=>
bool(false)
["is_time"]=>
bool(false)
["is_author"]=>
bool(false)
["is_category"]=>
bool(false)
["is_tag"]=>
bool(false)
["is_tax"]=>
bool(false)
["is_search"]=>
bool(false)
["is_feed"]=>
bool(false)
["is_comment_feed"]=>
bool(false)
["is_trackback"]=>
bool(false)
["is_home"]=>
bool(true)
["is_privacy_policy"]=>
bool(false)
["is_404"]=>
bool(false)
["is_embed"]=>
bool(false)
["is_paged"]=>
bool(false)
["is_admin"]=>
bool(false)
["is_attachment"]=>
bool(false)
["is_singular"]=>
bool(false)
["is_robots"]=>
bool(false)
["is_favicon"]=>
bool(false)
["is_posts_page"]=>
bool(false)
["is_post_type_archive"]=>
bool(false)
["query_vars_hash":"WP_Query":private]=>
string(32) "5c1983d2a3b4ee825dca110087cea792"
["query_vars_changed":"WP_Query":private]=>
bool(false)
["thumbnails_cached"]=>
bool(false)
["allow_query_attachment_by_filename":protected]=>
bool(false)
["stopwords":"WP_Query":private]=>
NULL
["compat_fields":"WP_Query":private]=>
array(2) {
[0]=>
string(15) "query_vars_hash"
[1]=>
string(18) "query_vars_changed"
}
["compat_methods":"WP_Query":private]=>
array(2) {
[0]=>
string(16) "init_query_flags"
[1]=>
string(15) "parse_tax_query"
}
["tribe_is_event"]=>
bool(false)
["tribe_is_multi_posttype"]=>
bool(false)
["tribe_is_event_category"]=>
bool(false)
["tribe_is_event_venue"]=>
bool(false)
["tribe_is_event_organizer"]=>
bool(false)
["tribe_is_event_query"]=>
bool(false)
["tribe_is_past"]=>
bool(false)
}