Custom taxonomy subcategories template page

Yes, this is achievable with the action ‘template_redirect’ I’ve left to write code to find sub-category for yourself! function my_subcat_template() { if ( <is sub category>) { include (TEMPLATEPATH . ‘/category-fun.php’); exit; } } add_action(‘template_redirect’, ‘my_subcat_template’); Update This is a better answer for your problem Put this is functions.php What it does is, it redefines … Read more

Adding pages to the Admin panel

If I get you correctly, you are trying to add a new menu to the Admin Panel. For that, the following tutorial would be one of the best for you to such: The Complete Guide To The WordPress Settings API (Part I – VIII) The key things are: add_menu_page() add_submenu_page() add_theme_page() – for theme options … Read more

Display Custom Taxonomy of custom post type

I am assiming you already register taxonomy which show you correct links (and generate correct rewrite rules)… but lets make a checklist. 1) Register Taxonomy and assign it to different post types done by you… 2) Modify a rewrite rules add_filter(‘locations_rewrite_rules’, ‘se_119400_locations_rewrite_rules’); function se_119400_locations_rewrite_rules(){ $rules = array(); $rules[‘location(/?(([^/]+?)(/page/?([0-9]{1,})/?)?)?)$’] = ‘index.php?locations=$matches[3]&paged=$matches[5]&post_type=any’; return $rules; } 3) Taxonomy … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)