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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<httpProtocol> | |
<customHeaders> | |
<remove name="Vary"></remove> | |
<add name="Vary" value="Accept-Encoding"></add> | |
</customHeaders> | |
</httpProtocol> | |
<staticContent> |
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 | |
$args = array( | |
'post_type' => 'custom_post_name' // including the post type name seems to make this not work! | |
'meta_key' => 'custom_field_name', | |
'orderby' => 'meta_value', | |
'order' => 'ASC', | |
'tax_query' => array( | |
array( | |
'taxonomy' => 'custom_tax_name', |
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 | |
/* This macro will be parsed as PHP code (see http://www.php.net) | |
The calculateshipping function is called every time a shipping calculation request is made by Shopify. | |
The function must return an array of available shipping options, otherwise no shipping options will be returned to your customers. | |
*/ | |
function calculateshipping($DATA) { | |
/* do not edit above this line */ |
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
## EXPIRES CACHING ## | |
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresByType image/jpg "access 1 year" | |
ExpiresByType image/jpeg "access 1 year" | |
ExpiresByType image/gif "access 1 year" | |
ExpiresByType image/png "access 1 year" | |
ExpiresByType text/css "access 1 month" | |
ExpiresByType text/html "access 1 month" | |
ExpiresByType application/pdf "access 1 month" |
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
// Social media fontawesome colors | |
a .fa-square { color: #fff; } | |
a .fa-twitter-square, a .fa-twitter { color: #00aced; } | |
a .fa-facebook-square, a .fa-facebook { color: #3b5998; } | |
a .fa-youtube-square, a .fa-youtube { color: #bb0000; } | |
a .fa-google-plus-square, a .fa-google-plus { color: #dd4b39; } | |
a .fa-linkedin-square, a .fa-linkedin { color: #007bb6; } | |
a .fa-pinterest-square, a .fa-pinterest { color: #cb2027; } | |
a .fa-vimeo-square, a .fa-vimeo { color: #aad450; } | |
a .fa-instagram { color: #517fa4; } |
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
{layout="site/.layout_default" body_class="events"} | |
{preload_replace:pre_channel_name="events"} | |
{preload_replace:pre_section_title="Events"} | |
{layout:set name="section_title" value="{pre_section_title}"} | |
<?php | |
function adjust_dst($this_date, $this_hour) { | |
$check_dst = new DateTime($this_date . ' America/Chicago'); |
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 | |
/** | |
* Template part for displaying announcements. | |
* | |
* @link https://codex.wordpress.org/Template_Hierarchy | |
* | |
* @package chapel | |
*/ | |
?> |
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
// ---------------------------------------------- | |
// Detect screen orientation | |
// ---------------------------------------------- | |
var deviceOrientation = ''; // Declare globally to use throughout | |
function detectOrientation () { | |
var windowWidth = $(window).height(); | |
var windowHeight = $(window).width(); | |
if (windowWidth > windowHeight) { | |
deviceOrientation = 'landscape'; | |
} else { |
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
// ---------------------------------------------------- | |
// Check screen size | |
// ---------------------------------------------------- | |
var windowWidth = $(window).width(); | |
var windowHieght = $(window).height(); | |
window.addEventListener("resize", function () { | |
windowWidth = $(window).width(); | |
windowHeight = $(window).height(); | |
}); |
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
// Declare globally to use throughout | |
var deviceOrientation = ''; | |
// ---------------------------------------------------- | |
// Detect screen orientation | |
// ---------------------------------------------------- | |
function detectOrientation() { | |
var height = $(window).height(); | |
var width = $(window).width(); | |
if(width > height) { |