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 | |
$time_start = microtime(true); | |
require('fc/datafeed-functions.php'); | |
require('fc/Klaviyo.php'); | |
require('fc/foxyapi.php'); | |
$klaviyo = new Klaviyo(KLAVIYO_KEY); | |
$fc = jtd_bc_setup_foxycart_api(); | |
$store = $fc->get($fc->getLink("fx:store")); |
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
function jtd_acf_auto_set_license_keys() { | |
if ( !get_option('acf_pro_license') && defined('ACF_5_KEY') ) { | |
$save = array( | |
'key' => ACF_5_KEY, | |
'url' => home_url() | |
); | |
$save = maybe_serialize($save); |
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
This XML file does not appear to have any style information associated with it. The document tree is shown below. | |
<Error> | |
<Code>SignatureDoesNotMatch</Code> | |
<Message> | |
The request signature we calculated does not match the signature you provided. Check your key and signing method. | |
</Message> | |
<AWSAccessKeyId>AKIAIJI2WK7ZSSFVLI3Q</AWSAccessKeyId> | |
<StringToSign> | |
AWS4-HMAC-SHA256 20160112T010333Z 20160112/us-west-2/s3/aws4_request 1a1f494a1f840c222d027dbd98b32537006d49273452db79cf793d2f36463d65 | |
</StringToSign> |
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
{"facets":[],"template":"<body class=\"archive post-type-archive post-type-archive-foxyshop_product logged-in admin-bar no-customize-support custom-background full-width-content debug-bar-maximized foxyshop foxyshop-all-products\" itemscope itemtype=\"http:\/\/schema.org\/Blog\"><div class=\"site-container\"><header class=\"site-header\" itemscope itemtype=\"http:\/\/schema.org\/WPHeader\"><div class=\"wrap\"><div class=\"title-area\"><h1 class=\"site-title\" itemprop=\"headline\"><a href=\"http:\/\/msurplus.wpengine.com\/\">Manufacturing Surplus<\/a><\/h1><\/div><div class=\"widget-area header-widget-area\"><section id=\"nav_menu-2\" class=\"widget widget_nav_menu\"><div class=\"widget-wrap\"><nav class=\"nav-header\" itemscope itemtype=\"http:\/\/schema.org\/SiteNavigationElement\"><ul id=\"menu-main-nav\" class=\"menu genesis-nav-menu\"><li id=\"menu-item-9\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-9\"><a href=\"http:\/\/msurplus.wpengine.com\/\" itemprop=\"url\"><span it |
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
@mixin center-align($dir: false) { | |
$map: ( | |
top: ( Y ), | |
left: ( X ) | |
); | |
@if map_get($map, $dir) != null { | |
#{$dir}: 50%; | |
transform: #{"translate#{map_get($map,$dir)}(-50%)"}; | |
} @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
@include keyframe(fadeout) { | |
0% { | |
opacity: 1; | |
} | |
100% { | |
opacity: 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
//set mini cal days as links | |
if( function_exists('tribe_get_linked_day') ) { | |
$date = tribe_get_start_date( '', false, 'Y-m-'.$day.'' ); | |
$return .= ( count($monthView[$day]) ) ? "<a href='" . tribe_get_day_link($date) . "' class='tribe-events-mini-has-event'>$day</a>" : $day; | |
} else { | |
$return .= ( count($monthView[$day]) ) ? "<a class='tribe-events-mini-has-event'>$day</a>" : $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
if( tribe_is_month() && !is_tax() ) { // The Main Calendar Page | |
} elseif( tribe_is_month() && is_tax() ) { // Calendar Category Pages | |
} elseif( tribe_is_event() && !tribe_is_day() && !is_single() ) { // The Main Events List | |
} elseif( tribe_is_event() && is_single() ) { // Single Events | |
} elseif( tribe_is_day() ) { // Single Event Days | |
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_filter( "gform_field_content", "mz_disable_completed_series", 10, 5 ); | |
function mz_disable_completed_series( $content, $field, $value, $lead_id, $form_id ) { | |
//only manipulating checkboxes for form id 1 | |
if ( $form_id != 1 ) | |
return $form; | |