Struggles With Koken

Spent a day tearing the remnants of my hair out trying to find a way to stop Koken appending the site title to the <TITLE> in the HTML header (it’s a bit annoying that it does that as it ends up making the <TITLE> too long in many cases). Found it difficult to follow the flow of page creation between the theme and the backend, but got there in the end thanks to Windows 10 having a Bash shell!

It was essentially a matter of finding the right variable to search for using grep, and it turned up in a location I’d previously not thought relevant… Turned out that it was app/site/tags/TagLoad.php that was the culprit, and then just a matter of removing Koken::\$the_title_separator and Koken::\$site[‘page_title‘] from the appropriate echo statement.