Page title

Hi, how can I intercept the title of the page (title) and inject the given JS code into the php file in order to display the variable with the title in the right place? Please advise.


Answer 1

Catch via document.title . But it is better, of course, to do this using cms.
Yes, but what does it mean to “embed JS code in php”?