A Pen by Kenta Hoshino on CodePen.
This file contains hidden or 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
'use strict'; | |
// Gulp | |
var gulp = require('gulp'); | |
// Plugins | |
var $ = require('gulp-load-plugins')(); | |
var del = require('del'); | |
var runSequence = require('run-sequence'); |
This file contains hidden or 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
( function(d,s,id){ | |
setTimeout(function() { | |
var js,fjs = d.getElementsByTagName(s)[0], p=/^http:/.test(d.location)?'http':'https'; | |
if(!d.getElementById(id)) { | |
js = d.createElement(s); js.id = id; | |
js.async = true; | |
js.src = p + '://platform.twitter.com/widgets.js'; | |
fjs.parentNode.insertBefore(js,fjs); | |
} |
This file contains hidden or 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
AddOutputFilterByType DEFLATE application/x-font-ttf | |
AddOutputFilterByType DEFLATE application/x-font-woff | |
AddOutputFilterByType DEFLATE application/opentype | |
AddOutputFilterByType DEFLATE image/svg+xml |
This file contains hidden or 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
'use strict'; | |
// Gulp | |
var gulp = require( 'gulp' ); | |
// Plugins | |
var $ = require('gulp-load-plugins')(); | |
var del = require('del'); | |
var runSequence = require('run-sequence'); |
This file contains hidden or 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 | |
function change_default_title( $title ) { | |
$screen = get_current_screen(); | |
// custom post type: blogs | |
if ( 'blogs' == $screen->post_type ) { | |
$title = 'The new Blogs title'; | |
} | |
//custom post type: portfolio |
This file contains hidden or 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 | |
class My_Category_Walker extends Walker_Category { | |
var $lev = -1; | |
var $skip = 0; | |
static $current_parent; | |
function start_lvl( &$output, $depth = 0, $args = array() ) { | |
$this->lev = 0; | |
$test = 'categories-list'; |
This file contains hidden or 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
Show hidden characters
{ | |
"afn_insert_width_first": true, | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_selector": "source, text", | |
"bold_folder_labels": true, | |
"caret_extra_width": 1, | |
"caret_style": "phase", | |
"codeintel_disabled_languages": "['css,less,sass,scss,styl']", | |
"color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme", |
This file contains hidden or 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
<div class="cols"> | |
<div class="col_one_third media_xs_order_two"> | |
<div>Sidebar</div> | |
</div> | |
<div class="col_two_thirds media_xs_order_one"> | |
<div>Main</div> | |
</div> | |
</div> |
NewerOlder