Skip to content

Instantly share code, notes, and snippets.

View Abd-Ur-Rehman's full-sized avatar
🎯
👨‍💻Living and breathing in code...

Abd Ur Rehman Abd-Ur-Rehman

🎯
👨‍💻Living and breathing in code...
View GitHub Profile
@Abd-Ur-Rehman
Abd-Ur-Rehman / keybase.md
Last active November 24, 2019 11:45
keybase.md

Keybase proof

I hereby claim:

  • I am abd-ur-rehman on github.
  • I am abdurrehman (https://keybase.io/abdurrehman) on keybase.
  • I have a public key ASAbcCUZgwygajA0cEN-3nXftZP5ttSvYwaze5bwIZkg5Qo

To claim this, I am signing this object:

@Abd-Ur-Rehman
Abd-Ur-Rehman / remove-zoom-woocommerce-3.php
Created May 9, 2017 22:31
remove-zoom-woocommerce-3.php
<?php
function abdurrehman_rm_z_woo() {
remove_theme_support( 'wc-product-gallery-zoom' );
}
add_action( 'after_setup_theme', 'abdurrehman_rm_z_woo', 11 );
define('FORCE_SSL_ADMIN', true);
server {
listen 80;
server_name yoursite.com www.yoursite.com;
return 301 https://yoursite.com$request_uri;
}
body {
font-family: 'Open Sans', sans-serif;
}
@import url(//fonts.googleapis.com/css?family=Open+Sans);
body {
font-family: 'MyWebFont', sans-serif;
}
@font-face {
font-family: 'MyWebFont';
src: url('path-to-your-font-directory/font_name.eot');
src: url('path-to-your-font-directory/font_name.eot?#iefix') format('embedded-opentype'),
url('path-to-your-font-directory/font_name.woff') format('woff'),
url('path-to-your-font-directory/font_name.ttf') format('truetype'),
url('path-to-your-font-directory/font_name.svg#svgFontName') format('svg');
}