Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
/** | |
* Enqueue scripts and styles. | |
*/ | |
function custom_scripts() { | |
wp_enqueue_script( 'jquery' ); | |
wp_enqueue_script( 'svg_magic', get_stylesheet_directory_uri() . '/js/jquery.svgmagic.js', array(), '20120206', true ); | |
wp_enqueue_script( 'functions', get_stylesheet_directory_uri() . '/js/functions.js', array(), '20130115', true ); | |
} | |
add_action( 'wp_enqueue_scripts', 'custom_scripts' ); |
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
jQuery(document).ready(function(){ | |
jQuery('img').svgmagic(); | |
}); |
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 | |
/*add SVG functionality*/ | |
function cc_mime_types($mimes) { | |
$mimes['svg'] = 'image/svg+xml'; | |
return $mimes; | |
} | |
add_filter('upload_mimes', 'cc_mime_types'); |
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
html, input, select, textarea, .pure-g [class *= "pure-u"] { | |
font-family: concourse_t3, Helvetica, sans-serif; | |
} | |
body { | |
background: #1c1a1a; | |
color: #fff; | |
font-size: 18px; | |
max-width: 700px; | |
margin: 0 auto; |
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 | |
// Site specific vars | |
$lang_att = get_language_attributes(); | |
$charset = get_bloginfo( 'charset' ); | |
$pingback = get_bloginfo('pingback_url');; | |
$site_url = get_bloginfo( 'wpurl' ); | |
$site_name = get_bloginfo( 'name' ); | |
// Get Body Classes then turn them into string values |
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
$('.slick-nav.sync').slick({ | |
slidesToShow: 7, | |
slidesToScroll: 1, | |
asNavFor: '.slick-slider.sync', | |
dots: false, | |
arrows: false, | |
fade: false, | |
centerMode: false, | |
// centerPadding: '50px', | |
focusOnSelect: 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
<?php | |
/* == Queue up all css & js files ==================================================== */ | |
function theme_scripts_styles() { | |
// JS | |
/** Removes WP stock jQuery | |
* https://developer.wordpress.org/reference/functions/wp_deregister_script/ | |
*/ | |
wp_deregister_script( 'jquery' ); | |
/** Adds jQuery from a CDN, loads in the footer |
OlderNewer