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 slider = $('.home-slider'); | |
slider.owlCarousel({ | |
items: 1, | |
animateIn: 'fadeIn', | |
animateOut: 'fadeOut', | |
loop: true, | |
nav: true, | |
navText: ["<i class='fa fa-long-arrow-left'></i>", "<i class='fa fa-long-arrow-right'></i>"] | |
}); |
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
$('').owlCarousel({ | |
lazyLoad:true, | |
loop:true, | |
autoplay:false, | |
autoplayTimeout:5000, | |
margin:90, | |
autoplayHoverPause:true, | |
responsive:{ | |
0:{ | |
items:2, |
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
$('img.svg').each(function () { | |
var $img = $(this), | |
imgID = $img.attr('id'), | |
imgClass = $img.attr('class'), | |
imgURL = $img.attr('src'); | |
$.get(imgURL, function (data) { | |
// Get the SVG tag, ignore the rest | |
var $svg = $(data).find('svg'); |
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
$('.barfiller').each(function(){ | |
var $this = $(this); | |
$this.waypoint(function(){ | |
$this.barfiller({ | |
barColor:'#0FACEE' | |
}); | |
}, { offset: 'bottom-in-view' }); | |
}); |
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 myCenter = new google.maps.LatLng(40.782865,-73.965355); | |
function initialize() { | |
var mapProp = { | |
center: myCenter, | |
scrollwheel: false, | |
zoom: 11, | |
zoomControl: false, | |
mapTypeControl: true, | |
streetViewControl: true, |
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
/* XL Device :1200px. */ | |
@media (min-width: 1200px) and (max-width: 1500px) { | |
} | |
/* LG Device :992px. */ | |
@media (min-width: 992px) and (max-width: 1200px) { | |
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
Markup | |
------------- | |
<h1>CLASSIC <strong><span class="typewrite" data-period="2000" data-type='[ " COLORFUL"," EXCELLENT"," BEAUTIFUL" ]'> | |
<span class="wrap"></span> | |
</span></strong> DRESSES</h1> | |
jquery | |
---------------- |
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
//your local site url adding | |
if (site_url() == 'http://localhost/philosophy') { | |
define('VERSION', time()); | |
}else{ | |
define('VERSION', wp_get_theme()->get('VERSION')); | |
} |
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
if (is_day()) { | |
printf('%s', get_query_var('day')); | |
}elseif (is_month()) { | |
$month = get_query_var( 'monthnum' ); | |
$month_object = DateTime::createFromFormat('!m',$month); | |
echo $month_object->format('F'); | |
}elseif (is_year()) { | |
printf('%s-%s-%s', get_query_var( 'year','monthnum','day' )); | |
}; |
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 | |
$post_in = array(101,98,1); | |
$paged = get_query_var('paged')? get_query_var('paged') : 1; | |
$post_par_page = 1; | |
$_p = new WP_Query( array( | |
'post__in' => $post_in, | |
'orderby' => 'post__in', | |
'post_type'=> 'post', | |
'posts_per_page' => $post_par_page, |
OlderNewer