hello
this tageshow all category name (category and sub category name) in sub category page.Code:<?php foreach((get_the_category()) as $category) { echo $category->cat_name . ' '; } ?>
i want showing only select category.
example:
-cat 14
--cat 17
--cat 18
-cat 20
--cat 22
--cat 30
in template sub cat id 17 show only sub cat17 name. dont show category14 name. or more category.
thanks


LinkBack URL
About LinkBacks
Reply With Quote




