insanelyBlog/plugins/friendurl-jquery/_plugin.php

4 lines
271 B
PHP
Raw Permalink Normal View History

<?php
addHead('<script src="/plugins/friendurl-jquery/jquery.friendurl.min.js"></script>', 'friendurl-jquery');
2016-06-18 10:07:35 +02:00
addHead('<script>$(document).ready(function() { $("#entryTitle").friendurl({id: "entrySlug"}); $("#pageTitle").friendurl({id: "pageSlug"}); });</script>');