Add “category” on Title Tags
-
I wanted to alter the title tag of post to display it in the following:
Post Title – Category
I saw this syntax but dont know how to include the_category
<title>
<?php wp_title(‘–‘,true,’right’); ?>
<?php bloginfo(‘name’); ?>
</title>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add “category” on Title Tags’ is closed to new replies.