Support » Plugins » Hacks » modifying the title and description in a plugin

  • Hi there, I am developing a portfolio plugin but i have one question. What is the proper way to modify the wordpress title and description? Is there a function present for that? I want to change the title to the current project the user has selected. Thanks for any help

Viewing 1 replies (of 1 total)
  • i assume you are talking about changing the meta tags depending on the project, correct?

    if not then nevermind the rest of this 🙂

    there isnt a wordpress function per-se, if you look at the header.php template you will see how the title tag is being generated now. usually a series of if statements to build whatever is finally echoed. Just add the code you want into that and i think thats what you are asking for

Viewing 1 replies (of 1 total)
  • The topic ‘modifying the title and description in a plugin’ is closed to new replies.