Post title Prefix and Suffix (2 posts)

  1. Krishnaa
    Posted 2 years ago #

    Hi All,

    I have couple of posts in my wordpress blog. Now, I want to add suffix and prefix to each and every post tag title. For example:

    I have lots of The posts like "C# tutorials", "Java Tutorials", "HTML Tutorials."

    But I want to give it a custom title tag "Collection of C# Tutorials To Learn." Where the "Collection of" will be the prefix and "To Learn" will be the suffix. I can do it manually for each post by using All in One Seo Plugin. But its not possible to do it one by one to 30-40 posts. Is there any way to add this to all old posts automatically as well as upcoming future posts.. ?

    Just to make it clear, I dont want to change the title of the posts, but only want to give it custom tag title.

  2. vtxyzzy
    Posted 2 years ago #

    This can be done with a filter on the title. See this Codex article: http://codex.wordpress.org/Plugin_API/Filter_Reference/the_title

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.