By default the title tag, which appears in the tabs in the browsers, gets set the Page Title and blog title, such as "Product_Page_test << ICEWEBRING". This is fine for most of my pages except for one.
In this one I change the content based on a parameter that is sent in (product_id), and I would like to change the Title Tag to be set to the second parameter (product_name)
Here is an example of this:
Before I moved my code to be within Wordpress, I was able to just include this in my php code:
However, now that I've got the code within a Wordpress page, this no longer works, I think because I'm already out of the <head> area and into <body>.
I tried doing some Googling but didn't find a solution to this particular set of circumstances. The closest ones I found involved doing edits to header.php, which I'd like to avoid if possible.
Any suggestions on how to deal with this would be appreciated. Thanks!