}
if (isset($cat_idd)) {
if ($cat_idd == 'all') {
$cats = true;
$cats_html = '';
break;
}
$term = get_term($cat_idd, 'ad_cats');
$cats_html .= '';
}
}
if ($cats) {
if (isset($adforest_theme['display_taxonomies']) && $adforest_theme['display_taxonomies'] == 'hierarchical') {
$args = array(
'type' => 'html',
'taxonomy' => 'ad_cats',
'tag' => 'option',
'parent_id' => 0,
);
$cats_html = apply_filters('adforest_tax_hierarchy', $cats_html, $args);
} else {
$args = array('hide_empty' => 0);
$args = apply_filters('adforest_wpml_show_all_posts', $args); // for all lang texonomies
$ad_cats = get_terms('ad_cats', $args);
foreach ($ad_cats as $cat) {
$cats_html .= '';
}
}
}
}
}
wp_enqueue_script('price-slider-custom', trailingslashit(get_template_directory_uri()) . 'assests/js/price_slider_shortcode.js', array(), false, true);
$price_html = '
';
$sb_search_page = apply_filters('adforest_language_page_id', $adforest_theme['sb_search_page']);
return '
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.