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 | |
| /** | |
| * An array of Jetpack modules which will be whitelisted. | |
| * | |
| * This whitelist contains a list of all Jetpack modules which we would like users | |
| * to have access to. Anything not listed here will be programmatically disabled. | |
| * | |
| * @author FAT Media, LLC | |
| * @link http://wpbacon.com/disable-jetpack-modules/ |
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
| /* Safari 3+ & Chrome1+ Specific Styles | |
| --------------------------------------------- */ | |
| @media screen and (-webkit-min-device-pixel-ratio:0) { | |
| body > div { | |
| font-size: 16px; | |
| font-size: 1.6rem; | |
| } | |
| } |
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 | |
| /** | |
| * Create a split test using two different GravityForms | |
| * | |
| * Allows you to test the effectiveness of two different forms by displaying each | |
| * one 50% of the time. Tracking CTR using the built-in GravityForms functionality | |
| * should give you an idea of which form is most effective. | |
| * | |
| * @uses GravityForms | |
| * @author FAT Media, LLC |
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 | |
| /** | |
| * Output a list of all enqueued script handles. | |
| * | |
| * @author FAT Media, LLC | |
| * @global $wp_scripts | |
| * @todo Change 'prefix' to your theme or plugin prefix. | |
| */ | |
| function prefix_print_script_handles() { |
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 | |
| // Site to redirect. | |
| $url = 'http://mydomain.com'; | |
| // Send header information. | |
| header( 'Location: ' . $url, true, 301 ); | |
| // Done. | |
| exit(); |
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 | |
| /** | |
| * Some tweaks to the Genesis post info for SEO purposes. | |
| * | |
| * This set of functions are designed to change the output of the Genesis post info | |
| * to reflect the date a post was updated rather than the date it was published. A | |
| * function to set a custom author page is also included and is entirely optional. | |
| * | |
| * @author FAT Media, LLC | |
| * @link http://auditwp.com/genesis-post-info-seo/ |
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
| wget -qO- http://wordpress.org/latest.tar.gz | tar xz && cp -rpf wordpress/* . && rm -r wordpress |
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
| # BEGIN Browser Cache | |
| <IfModule mod_deflate.c> | |
| <IfModule mod_setenvif.c> | |
| BrowserMatch ^Mozilla/4 gzip-only-text/html | |
| BrowserMatch ^Mozilla/4\.0[678] no-gzip | |
| BrowserMatch \bMSIE !no-gzip !gzip-only-text/html | |
| BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html | |
| </IfModule> | |
| <IfModule mod_filter.c> | |
| AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon |
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
| user nobody; | |
| # you must set worker processes based on your CPU cores, nginx does not benefit from setting more than that | |
| worker_processes 2; | |
| # number of file descriptors used for nginx | |
| # the limit for the maximum FDs on the server is usually set by the OS. | |
| # if you don't set FD's then OS settings will be used which is by default 2000 | |
| worker_rlimit_nofile 100000; |