Skip to content

Instantly share code, notes, and snippets.

@jameskoster
jameskoster / functions.php
Created January 16, 2017 14:39
WooCommerce disable magnification / zoom
add_action( 'wp_enqueue_scripts', 'jk_disable_magnification' );
function jk_disable_magnification() {
wp_dequeue_script( 'zoom' );
}
@dlucero23
dlucero23 / WooCommerceaccountpagestyle.css
Last active June 24, 2018 00:33
Custom CSS for WooCommerce Account Page Built in Cornerstone
/*
No need for style tags here;
simply get started by writing
CSS! Watch as your changes
are reflected live in the
preview area. Have fun!
*/
.woocommerce-MyAccount-navigation-link a {
margin: 5px 5px 0 0;
padding: 15px;
@chrisblackwell
chrisblackwell / wordpress-nginx.conf
Created April 22, 2015 12:02
WordPress nginx confuration
server {
listen 80 default_server;
server_name domain.tld;
access_log /srv/www/domain.tld/logs/access.log;
error_log /srv/www/domain.tld/logs/error.log;
root /srv/www/domain.tld/public;
index index.php index.html index.htm;
client_max_body_size 20M;