This file contains 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
# SGS XMLRPC Disable Service | |
<Files xmlrpc.php> | |
order deny,allow | |
deny from all | |
</Files> | |
# SGS XMLRPC Disable Service END | |
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / |
This file contains 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 Utilize S3 bucket rather than localhost for "uploads" folder - Via https://tinyurl.com/s3redirect | |
RewriteRule ^wp-content/uploads/(.*)$ https://your_bucket_name.s3.amazonaws.com/wp-content/uploads/$1 [R,L] | |
# END Utilize S3 bucket |
This file contains 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
/* | |
Disable auto-generated thumbnails. Via | |
- https://wordpress.stackexchange.com/questions/91166/how-to-disable-wordpress-from-creating-thumbnails | |
- https://wordpress.stackexchange.com/questions/260609/remove-image-size-doesnt-seem-to-be-working | |
*/ | |
function add_image_insert_override($sizes){ | |
unset( $sizes['thumbnail']); | |
unset( $sizes['medium']); | |
return $sizes; | |
} |
This file contains 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://fewerthanthree.com/code-snippets/updating-user-password-mysql | |
*/ | |
UPDATE wp_users | |
SET user_pass= MD5('password') | |
WHERE ID = 1 |
This file contains 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 style Gravity Forms placeholder text | |
*/ | |
.gform_wrapper .gfield_radio li label { | |
max-width: 100%; | |
} | |
.gfield input::-webkit-input-placeholder, | |
.gfield textarea::-webkit-input-placeholder, | |
.gfield select::-webkit-input-placeholder { | |
/* Chrome/Opera/Safari */ |
This file contains 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
# codekit # | |
########### | |
.sass-cache/ | |
.codekit-config.json | |
.config.codekit | |
# wpengine # | |
############ | |
*~ |
This file contains 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
# codekit # | |
########### | |
.sass-cache/ | |
.codekit-config.json | |
.config.codekit | |
files/wp-content/themes/esco/assets/scss/.sass-cache/* | |
files/wp-content/themes/esco/config.codekit | |
/wp-content/themes/esco/config.codekit | |