Skip to content

Instantly share code, notes, and snippets.

View arun99178's full-sized avatar
🏠
Working from home

Arun Kumar Gupta arun99178

🏠
Working from home
View GitHub Profile
<?php
function themename_customize_register($wp_customize){
$wp_customize->add_section('themename_color_scheme', array(
'title' => __('Color Scheme', 'themename'),
'priority' => 120,
));
// =============================
@arun99178
arun99178 / boostrap-youtube-modal.js
Created December 16, 2015 13:18 — forked from jawinn/boostrap-youtube-modal.js
BOOTSTRAP 3.0 - Open YouTube Video Dynamicaly in Modal Window. Allow setting width and height.
// REQUIRED: Include "jQuery Query Parser" plugin here or before this point:
// https://github.com/mattsnider/jquery-plugin-query-parser
$(document).ready(function(){
// BOOTSTRAP 3.0 - Open YouTube Video Dynamicaly in Modal Window
// Modal Window for dynamically opening videos
$('a[href^="http://www.youtube.com"]').on('click', function(e){
// Store the query string variables and values
// Uses "jQuery Query Parser" plugin, to allow for various URL formats (could have extra parameters)
@arun99178
arun99178 / jack-in-the-box-init.js
Created November 9, 2015 11:18 — forked from srikat/jack-in-the-box-init.js
Scroll animations in WordPress using Animate.css, Jack In The Box and Waypoints. http://sridharkatakam.com/scroll-animations-wordpress-using-animate-css-jack-box-waypoints/
jQuery(function() {