<?php

addHead('<script src="/plugins/friendurl-jquery/jquery.friendurl.min.js"></script>', 'friendurl-jquery');
addHead('<script>$(document).ready(function() { $("#entryTitle").friendurl({id: "entrySlug"}); $("#pageTitle").friendurl({id: "pageSlug"}); });</script>');