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_action( 'wp_enqueue_scripts', 'frontend_scripts_include_lightbox' ); | |
function frontend_scripts_include_lightbox() { | |
global $woocommerce; | |
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; | |
$lightbox_en = get_option( 'woocommerce_enable_lightbox' ) == 'yes' ? true : false; | |
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
body.colors-dark, | |
.colors-dark button, | |
.colors-dark input, | |
.colors-dark select, | |
.colors-dark textarea, | |
.colors-dark h3, | |
.colors-dark h4, | |
.colors-dark h6, | |
.colors-dark label, | |
.colors-dark .entry-title a, |
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 | |
/** | |
* Altitude Pro. | |
* | |
* This file adds the front page to the Altitude Pro Theme. | |
* | |
* @package Altitude | |
* @author StudioPress | |
* @license GPL-2.0+ | |
* @link http://my.studiopress.com/themes/altitude/ |
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
// Tour Stops Section | |
if ($tour_stops) { | |
?> | |
<div id="tour-stops" class="tour-stops-sctn"> | |
<div class="wrap"> | |
<h2 class="tour-title">Tour Cities</h2> | |
<div class="tour-stops-upcoming"> | |
<h3>Upcoming Events<h3> | |
<?php |
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 | |
/** | |
* Shortcodes | |
* | |
* @package CoreFunctionality | |
* @author Bill Erickson | |
* @since 1.0.0 | |
* @license GPL-2.0+ | |
**/ |
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 | |
function candidate_import($continuation, $event_id, $event_name, $token){ | |
$log; | |
$log .= 'Event: '.$event_name.'<br />'; | |
//check if API call should be paginated and if so get the continuation key | |
if(empty($continuation)){ | |
//first page call |
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
<script type='text/javascript'> | |
jQuery(function($){ | |
// mailto function | |
$('a[href^="mailto:"]').click(function(){ | |
ga('send','event','mailto','click','email clicked'); | |
return true; | |
}); | |
}); | |
jQuery(function($){ |
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
/* ## Screen Reader Text | |
--------------------------------------------- */ | |
.screen-reader-text, | |
.screen-reader-text span, | |
.screen-reader-shortcut { | |
position: absolute !important; | |
clip: rect(0, 0, 0, 0); | |
height: 1px; | |
width: 1px; |
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
.single .after-post { | |
background-color: #28d180; | |
-webkit-box-shadow: 6px 6px 0px 2px rgba(0,0,0,0.75); | |
-moz-box-shadow: 6px 6px 0px 2px rgba(0,0,0,0.75); | |
box-shadow: 6px 6px 0px 2px rgba(0,0,0,0.75); | |
} | |
.single .after-post .widget { | |
color: #000; | |
padding: 20px; |
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
// Create meal type taxonomy | |
add_action( 'init', 'rwc_mealtype_tax' ); | |
function rwc_mealtype_tax() { | |
$labels = array( | |
'name' => _x( 'Meal Types', 'taxonomy general name' ), | |
'singular_name' => _x( 'Meal Type', 'taxonomy singular name' ), | |
'search_items' => __( 'Search Meal Types' ), | |
'all_items' => __( 'All Meal Types' ), | |
'parent_item' => __( 'Parent Meal Type' ), | |
'parent_item_colon' => __( 'Parent Meal Type:' ), |