WordPress.org

Ready to get started?Download WordPress

Forums

Post title Prefix and Suffix (2 posts)

  1. Krishnaa
    Member
    Posted 11 months 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
    Member
    Posted 10 months 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

Reply

You must log in to post.

About this Topic

Tags

No tags yet.