slug); if($current_slug == ''): $terms = wp_get_post_terms(get_the_ID(),'regions'); foreach($terms as $term): //$final_term_name = $term->name; $current_slug = $term->slug; endforeach; endif; if($current_slug == ''): $current_slug = 'لاہور'; endif; if(is_page('guzishta')): if(isset($_GET['region'])): $current_slug = $_GET['region']; else: $current_slug = 'لاہور'; endif; endif; ?>