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
| // https://gist.github.com/icetee/2fb391954dbf16dfc81bc08ce8436f3f | |
| // Usage : googremarketing.loadTag(conversionid, conversionlabel) | |
| // Start Google Remarketing Module | |
| var googremarketing = (function() { | |
| var asyncload = 0; | |
| // Load Async Google Adwords remarketing code | |
| function Gremloader() { | |
| if (asyncload == 0) { | |
| var g = document.createElement('script'); | |
| var s = document.getElementsByTagName('script')[0]; |
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
| #!/bin/bash -ex | |
| # | |
| # configures wordpress file permissions based on recommendations | |
| # from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
| # | |
| # script is aware of .git directories by default. edit if you need to consider | |
| # other folders as well. | |
| # | |
| # you will find a log file in /tmp/ in case you fucked up. |
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 | |
| /* | |
| * Paginate Advanced Custom Field repeater | |
| */ | |
| if( get_query_var('page') ) { | |
| $page = get_query_var( 'page' ); | |
| } else { | |
| $page = 1; | |
| } |
OlderNewer