public static function add_seo_group_category() { $obj = new TMM_SEO_Group(); $group_id = $_REQUEST['group_id']; $cat_id = $_REQUEST['cat_id']; $data = array(); $data['select'] = $obj->get_categories_select('', "seo_group[" . $group_id . "][cat][" . $cat_id . "]", "seo_group_page_" . $group_id); echo TMM::draw_html('seo_groups/add_group_category', $data); exit; }
$meta_title = TMM::get_option("meta_title_portfolio_listing"); $meta_keywords = TMM::get_option("meta_keywords_portfolio_listing"); $meta_description = TMM::get_option("meta_description_portfolio_listing"); break; case TMM_Gallery::$slug: $meta_title = TMM::get_option("meta_title_gallery_listing"); $meta_keywords = TMM::get_option("meta_keywords_gallery_listing"); $meta_description = TMM::get_option("meta_description_gallery_listing"); break; default: break; } } //*** global $cat; $cat_head_seo_data = TMM_SEO_Group::get_cat_head_seo_data($cat); if (!empty($cat_head_seo_data['meta_title'])) { $meta_title = $cat_head_seo_data['meta_title']; $meta_keywords = $cat_head_seo_data['meta_keywords']; $meta_description = $cat_head_seo_data['meta_description']; } } } ?> <title><?php if (empty($meta_title)) { echo get_bloginfo('name', 'display'); ?> <?php wp_title(); } else {