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
WebFontConfig = { | |
google: { families: [ 'Oswald:400,300,700:latin' ] } | |
}; | |
(function() { | |
var wf = document.createElement('script'); | |
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + | |
'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; | |
wf.type = 'text/javascript'; | |
wf.async = 'true'; | |
var s = document.getElementsByTagName('script')[0]; |
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 $year = date('Y'); ?> | |
[ | |
{ | |
start: new Date( <?php echo $year . ', 1-1, 1'; ?> ), | |
url: "http://wikipedia.org/wiki/New_Year%27s_Day" , | |
title: "New Year's Day", | |
allDay: true, | |
category: "Holidays", | |
}, | |
{ |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
margin: 0; | |
padding: 0; | |
height: 100%; | |
width: 100%; | |
} |
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 id="hero-carousel" class="sliderContainer visibleNearby fullWidth clearfix royalSlider-preview"> | |
<div id="hero-gallery" class="royalSlider rsDefault"> | |
<?php | |
function gallery_func( $atts ) { | |
extract( shortcode_atts( array( | |
'ids' => 'something' | |
), $atts ) ); | |
$sep_ids = explode(",", $ids); | |
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 if(get_field('posts_category') != ""): ?> | |
<?php $slide_posts = new WP_Query(); ?> | |
<?php $slide_posts->query('category_name=' . get_field(posts_category) ); ?> | |
<?php $count = $slide_posts->post_count; ?> | |
<section> | |
<div class="sliderContainer visibleNearby fullWidth clearfix royalSlider-preview"> | |
<div class="rsHeight"> | |
<div id="four-up-gallery" class="carousel-gallery royalSlider rsDefault"> | |
<div class="carouselSlide"> | |
NewerOlder