I would like to be able to change the page title with PHP. Now before you all answer with
<title><?php echo $title; ?></title>
I have a limitations... I am developing a plugin where my PHP is only inserted into the body of the page. Therefore <title>
has already been defined and I would like to change it. Any ideas?
Edit: I am aware that this can be easily done with javascript. However, for SEO purposes I do not want to. I would like the actual contents of the <title>
tag to be modified.