This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Async/defer loading, fallback jQuery support | |
function modify_scripts($tag, $handle, $src) { | |
// The handles of the enqueued scripts we want to defer | |
$defer_scripts = array( | |
'lightlightbox', | |
'main' | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//=============// //=====================================================// | |
// PGUP // // | / | * | - // | |
// DEAGLE // // | DECOY | SMOKE | FLASH // | |
//-------------// //-------------|-------------|-------------|-----------// | |
// PGDOWN // // 7 | 8 | 9 | + // | |
// SCOUT // // P250/CZ | 57/TEC9 | AWP | NADES // | |
//=============// //-------------|-------------|-------------| HE // | |
// 4 | 5 | 6 | INCEND // | |
// P90 | FAMAS/GALIL | AUG/SG556 | MOLOTOV // | |
//-------------|-------------|-------------|-----------// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>IndexedDB onbeforeunload Test</title> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/idbwrapper/1.4.1/idbstore.min.js"></script> | |
<script> | |
var idb, i; | |
var testData1 = []; | |
var testData2 = []; | |
var testData3 = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Add in a customized Wordpress admin workflow for a simplified experience | |
function edit_admin_menus() { | |
//Set this as what ever you want the default admin landing page to be | |
$redirect = 'edit.php?post_type=page'; //Pages | |
$defaultURL = get_option( 'siteurl' ) . '/wp-admin/' . $redirect; | |
//Add/remove cookies/redirects |