All in One SEO Pack
Custom Tag Title for Category Posts (2 posts)

  1. Krishnaa
    Posted 2 years ago #


    I am using this plugin. I want to add custom tag tile to a certain category posts. I can add custom tag title to all posts easily by using this plugin. But there is no option for certain category posts. I have nearly 30-40 posts and changing the title tag for each will take too much time.

    Can you help out in this case?


  2. Peter Baylies
    Plugin Contributor

    Posted 2 years ago #


    This is possible with a bit of custom development - you could filter the title with the aioseop_title filter and change the title depending on the category of the post in question. Here's an example where I helped someone do just that; code follows below as well, you can add it to a plugin or to the functions.php in your theme:

    add_filter('aioseop_title', 'sfwd_custom_title');
    function sfwd_custom_title($title) {
       if ( is_category( "CategoryName" ) ) {
            $title = "Custom Category Title";
       } elseif ( is_category( "CategoryName2" ) ) {
            $title = "Custom Category Title 2";
       return $title;

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All in One SEO Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic