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 | |
function migrate_db_admin_bar($wp_admin_bar){ | |
$args = array( | |
'id' => 'wp-migrate-db-pro', | |
'title' => 'Migrate DB Pro', | |
'href' => '/wp-admin/tools.php?page=wp-migrate-db-pro', | |
'meta' => array( | |
'class' => 'wp-migrate-db-pro-button' |
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
/** | |
* TypeKit Fonts | |
* | |
* @since Theme 1.0 | |
*/ | |
function theme_typekit() { | |
wp_enqueue_script( 'theme_typekit', '//use.typekit.net/hjy0hsn.js'); | |
} | |
add_action( 'wp_enqueue_scripts', 'theme_typekit' ); | |
function theme_typekit_inline() { |
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
(function() { | |
var method; | |
var noop = function () {}; | |
var methods = [ | |
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', | |
'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', | |
'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd', | |
'timeline', 'timelineEnd', 'timeStamp', 'trace', 'warn' | |
]; | |
var length = methods.length; |
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
var gulp = require('gulp'); | |
var browserSync = require('browser-sync'); | |
var reload = browserSync.reload; | |
var sass = require('gulp-sass'); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var imagemin = require('gulp-imagemin'); | |
var pngquant = require('imagemin-pngquant'); | |
var uglify = require('gulp-uglify'); | |
var plumber = require('gulp-plumber'); | |
var debug = require('gulp-debug'); |
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
$('.ls-bottom-slidebuttons a').each(function() { | |
$(this).click(function() { | |
$('.ls-bottom-slidebuttons a').removeClass('ls-nav-active'); | |
$(this).addClass('ls-nav-active'); | |
}); | |
}); |
NewerOlder