WordPress by example: the_category() and the_tags()
the_category() function The function the_category() is frequently used Category pages to display the category name. In this example, we pass a single space to prevent it being used to create an unordered list of categories. Following is a line from “content.php”. The generated HTML is: If we had not passed any argument to the_category(), we would have seen… Read More »