worcesterwideweb
Member
Posted 10 months ago #
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
security_man
Member
Posted 10 months ago #
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