Archived topic
How to add the word "Prayers" to the title of every tag?
3 replies · Started by Jericho on January 17, 2023
Hello!
How can I add the word "Prayers" to the title of every tag in my blog, which is about prayers and uses tags such as healing, guidance, and protection, etc. to categorize all the prayers?
Screenshot: https://prnt.sc/Oz5B5-xbg_TB
Thank you!
Hi Jericho,
Here's a CSS code you may try adding through Appearance > Customize > Additional CSS:
.archive.tag h1.page-title:after {
content: " Prayers";
}
Thanks Fernando, the code works perfectly!
I have one more question, do I understand correctly that the code you provided will apply to all the tags on my website?
In the future, if I publish a non-prayer-related article, could you please provide me with CSS code to exclude any other tags from showing the word "Prayer" after them?
For instance, if I write an article about "How to Pray," I will tag it with guide or resources, the word "Prayers" should not appear on either of these tags.
Thank you so much!
Hi there,
the easiest solution would be to edit the Tag and change the Name to include the word. You can leave the Slug as it is.