Elastic stroke CSS + SVG
Forked from yoksel's Pen Elastic stroke CSS + SVG. License.
$xs: ( max: 767px ); | |
$sm: ( min: 768px ); | |
$md: ( min: 992px ); | |
$lg: ( min: 1200px ); | |
$sm-only: ( min: map-get($sm, min), max: map-get($md, min) - 1 ); | |
$md-only: ( min: map-get($md, min), max: map-get($lg, min) - 1 ); | |
@mixin breakpoint($map) { | |
$query: ""; | |
@if map-has-key($map, min) { $query: append($query, "(min-width: #{map-get($map, min)})") } |
// REMOVE POST META BOXES | |
function remove_metaboxes() { | |
/* Posts */ | |
remove_meta_box( 'authordiv','post','normal' ); // Author Metabox | |
remove_meta_box( 'commentstatusdiv','post','normal' ); // Comments Status Metabox | |
remove_meta_box( 'commentsdiv','post','normal' ); // Comments Metabox | |
remove_meta_box( 'postcustom','post','normal' ); // Custom Fields Metabox |
define( 'WP_POST_REVISIONS', 2 ); // set false for none | |
define( 'AUTOSAVE_INTERVAL', 160 ); // Seconds, default 60 | |
define( 'EMPTY_TRASH_DAYS', 5 ); // 5 days | |
define( 'WP_ALLOW_REPAIR', true ); // and then use http://www.yourwebsite.com/wp-admin/maint/repair.php |
var Audio = function() | |
{ | |
var audioVolume = 0; | |
var audioLibrary = new Array(); | |
//audioLibrary['music'] = {"src": "audio/whativebecome.mp3", "defaultVolume": 1, "loop": true}; | |
audioLibrary['music'] = {"src": "audio/theway.mp3", "defaultVolume": 1, "loop": true}; | |
var init = function() | |
{ |
/** | |
* Be sure to include library scripts in this order. Can be placed either | |
* in the header or footer. | |
*/ | |
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-infinitescroll/2.0b2.120519/jquery.infinitescroll.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/masonry/3.1.2/masonry.pkgd.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/3.0.4/jquery.imagesloaded.min.js"></script> |
Elastic stroke CSS + SVG
Forked from yoksel's Pen Elastic stroke CSS + SVG. License.
WordPress Query Comprehensive Reference Compiled by luetkemj - luetkemj.com
<?php $posttype = 'registry'; | |
$posttype_obj = get_post_type_object($posttype); | |
$search_posttype_label = $posttype_obj->labels->search_items; | |
$term = $wp_query->queried_object; | |
// $term_based_on_posttype = get_object_taxonomies($posttype); | |
?> | |
<!-- change all ids in form to prevent conflict with default site search form --> | |
<form role="search" method="get" id="searchform_<?php echo $posttype; ?>" class="searchform" action="search-<?php echo $posttype; ?>.php"> | |
<div> | |
<label class="screen-reader-text" for="s_<?php echo $posttype; ?>"><?php echo $search_posttype_label; ?></label> |