Skip to content

Instantly share code, notes, and snippets.

View enrikberisha's full-sized avatar
🎈
WebKinder | WordPress & WooCommerce Agency

Enrik Berisha enrikberisha

🎈
WebKinder | WordPress & WooCommerce Agency
View GitHub Profile
@enrikberisha
enrikberisha / .htaccess
Last active January 7, 2019 17:34 — forked from seoagentur-hamburg/.htaccess
UPDATE 07.01.2019:
########################################################################
# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2019
# ----------------------------------------------------------------------
# Author: Andreas Hecht / https://gist.github.com/HechtMediaArts/c96bc796764baaa64d43b70731013f8a
# License: GNU General Public License v2 or later / http://www.gnu.org/licenses/gpl-2.0.html
# Modified by: likiriki / https://github.com/webkinder/
########################################################################
# ----------------------------------------------------------------------
@enrikberisha
enrikberisha / functions.php
Last active June 2, 2018 12:08 — forked from lukecav/functions.php
Change the currency symbol from '$' to 'USD' in Woocommerce
add_filter( 'woocommerce_currency_symbol', 'change_currency_symbol', 10, 2 );
function change_currency_symbol( $symbols, $currency ) {
if ( 'USD' === $currency ) {
return 'USD';
}
return $symbols;
}
curl https://raw.githubusercontent.com/qrpike/Web-Font-Load/master/install.sh | sh
Alle Google Fonts installieren
@enrikberisha
enrikberisha / .htpasswd
Last active May 18, 2018 12:12
.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
AuthType Basic
AuthName "BETA Site"
AuthUserFile "/var/www/vhosts/rederp.ch/html/_beta.rederp.ch/.htpasswd"
Require valid-user
</IfModule>
wk:$apr1$R.JuDQ11$V6oReBCgR7Jc52.JJG6n9/