How to show “category” name?

This might help you to get categories of particular post $catList =get_the_category($post->ID); foreach($catList as $single){ echo $single->cat_name; } You can also check from below links get_the_category get-category-name-from-post-id

Add advertising box to a specific category page

Just a note to potential downvoters and close voters, even though this question by itself is on topic, the reason that this being a core theme, make this even more on topic EDIT As you are making use of the twentyfourteen theme, you have to remember this one golden rule ( and this applies to … Read more

Unable to get all tags from specific categories

Looks like all I needed was to include ‘posts_per_page’ => -1 in the $query_args array. Final, working code: <ul class=”tag-list”> <?php $query_args = array( // Easier to call the parent category, “recipe” instead of dealing with all these ids // ‘cat’ => ‘101,94,93,56,72,99,100,63,98,95,96,80,4’, // Calling recipes (4) and ingredients (56) category ids – specific recipe … Read more