insanelyBlog/plugins/friendurl-jquery/_plugin.php

4 lines
271 B
PHP

<?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>');