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
| { | |
| "background-image": { | |
| "2560x1400": { | |
| "src": null, | |
| "width": "2560", | |
| "height": "1400" | |
| } | |
| }, | |
| "storysync-logo-image": { | |
| "1000x178": { |
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
| var configuration = { | |
| "background-image": { | |
| "2560x1400": { | |
| "src": "http:\/\/dev.john.do.com\/wp-content\/uploads\/2013\/09\/new-background.jpg", | |
| "width": "2560", | |
| "height": "1400" | |
| } | |
| }, | |
| // Image Size Not Yet DEFINED!!!! |
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
| <?php | |
| add_action('init', 'alter_wp_nocache_header'); | |
| function alter_wp_nocache_header() { | |
| add_filter('nocache_headers', 'no_cache_with_cdn_headers'); | |
| } | |
| function no_cache_with_cdn_headers($headers) { | |
| if(!is_user_logged_in() && !is_admin()) { | |
| $headers['Cache-Control'] = 'no-cache, must-revalidate, max-age=0, s-maxage=' . (60*60*24*7*8); | |
| } |
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
| Hello World Gist Forked |
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 helloworld() { | |
| echo 'hello world'; | |
| } |