/ Published in: Other

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(document).ready(function() { // FOR ACCRISOFT FREEDOM // OVERRIDES PAGE TITLE USING JQUERY // OBVIOUSLY NOT AS SEO FRIENDLY, BUT IS NICE TO KNOW THAT IT'S THERE IF WE NEED IT // REQUIRES THE USE OF A TAG [[tag.page_title_override]] var site_title = "[[Title]]"; var page_title = "[[Page_Title]]"; var title_override = "[[tag.page_title_override]]"; if (title_override == '') {document.title = site_title + " | " + page_title;} else {document.title = site_title + " | " + title_override;} });
Comments
