Skip to content

Instantly share code, notes, and snippets.

View selrond's full-sized avatar

Sebastian Andil selrond

View GitHub Profile
@selrond
selrond / 0_reuse_code.js
Created February 3, 2016 15:28
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<?php
// 'after_setup_theme', with 100, so it is the absolute last thing to load
add_action('after_setup_theme', 'customize_parent_includes', 100);
function customize_parent_includes() {
//again, set this to 100 so it is the last thing loaded
add_action('wp_enqueue_scripts', 'bootstrap_custom', 100);
}