Skip to content

Instantly share code, notes, and snippets.

View chruit30's full-sized avatar
🎯
Focusing

Chen Rui Tong chruit30

🎯
Focusing
View GitHub Profile
body {
border: none !important;
}
.kineticjs-content {
background-color: #282c34;
}
td {
background-color: #282c34;
@chruit30
chruit30 / sass-cheat-sheet.scss
Created October 2, 2017 00:38
Sass-Cheat-Sheet
// # Sass Cheat Sheet
// ## Variables
$color: rgb(#aee, .5);
$number: 10;
$string: 'tony';
$boolean: true;
$list: 'Item01', 'Item02';
$nestedList: (
@chruit30
chruit30 / pugjs-cheat-sheet.jade
Created October 1, 2017 23:57
pugjs-cheat-sheet
// # PugJs Cheat Sheet
// ## Syntax
doctype html
html
head
meta(name="Pugcupid", content="Wiggle with love")
body
main#page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Fetch API Sandbox</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
</head>
// Get The Page ID You Need
get_option( 'woocommerce_shop_page_id' );
get_option( 'woocommerce_cart_page_id' );
get_option( 'woocommerce_checkout_page_id' );
get_option( 'woocommerce_pay_page_id' );
get_option( 'woocommerce_thanks_page_id' );
get_option( 'woocommerce_myaccount_page_id' );
get_option( 'woocommerce_edit_address_page_id' );
get_option( 'woocommerce_view_order_page_id' );
get_option( 'woocommerce_terms_page_id' );