This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function cache_buster_url($uri) { | |
| //Get base url of WP installation | |
| $base_url = get_bloginfo('url'); | |
| //Get local path to the root of the WP installation | |
| $installation_root = $_SERVER['DOCUMENT_ROOT']; | |
| //Get path (from root) to file | |
| $path_info = str_replace($base_url, '', $uri); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "html": { | |
| "snippets": { | |
| "page": "<header role=\"banner\">\n\t<nav role=\"navigation\">\n\t\t${1}\n\t</nav>\n</header>\n<div role=\"main\">\n\t${2}\n</div>\n<footer role=\"contentinfo\">\n\t${3}\n</footer>", | |
| "meta:vpm": "<meta name=\"viewport\" content=\"initial-scale=1.0, width=device-width\" />" | |
| }, | |
| "abbreviations": { | |
| "doc": "html>(head>meta[charset=UTF-8]+meta:vpm+title{${1:Document}})+body", | |
| "!:page": "html:5>page" | |
| } |
NewerOlder