Skip to content

Instantly share code, notes, and snippets.

@westcoastdigital
westcoastdigital / generatepress-slideout.css
Created September 16, 2019 03:22
Change the GeneratePress overlay menu slide in
#generate-slideout-menu {
left: -100vw;
top: -100vh;
opacity: 1;
border-bottom-right-radius: 100%;
-webkit-transition: left 0.5s ease-in, top 0.5s ease-in, border-radius 0.7s ease-in;
transition: left 0.5s ease-in, top 0.5s ease-in, border-radius 0.7s ease-in;
}
#generate-slideout-menu.is-open {
left: 0;
@bradtraversy
bradtraversy / docker_wordpress.md
Last active June 3, 2024 07:17
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@lukecav
lukecav / wp-config.php
Last active September 25, 2018 08:23
WP Config Mods
/* Disable File Editor. */
define( 'DISALLOW_FILE_MODS', FALSE );
define( 'DISALLOW_FILE_EDIT', FALSE );
define('AUTOSAVE_INTERVAL', 9999 );
/* Specify maximum number of Revisions. */
define( 'WP_POST_REVISIONS', '5' );