Parent Category Title Tag
-
Hi,
I’m using this plugin for my website and it’s working amazing. However, I have one issue, I made it so that our article titles come up n Google as:
%post_title% | %category_title% | %blog_title%
however, the issue i’m having is that I want the parent category title to show, and it does for some, and doesn’t (shows subcategory title instead) for others. Basically, it’s taking what comes first in alphabetical order, if the title of my post is Jay Z inspiration, the category is keys to success, and the subcategory is musicians, it will show Keys to Success there since K comes before M. But if the article was Will Smith, the subcategory was Actors (not musicians), then it would show as:
Will Smith Inspiration | Actors | Website Name
How do I make it show the parent category all the time, and not just resort to whichever category comes first in alphabetical order?
- The topic ‘Parent Category Title Tag’ is closed to new replies.