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
<script> | |
function pay() { | |
var rawAmount = document.getElementById("amount").value; | |
var cleanAmount = parseFloat(rawAmount.replace(/[^0-9.]/g, '')); | |
var email = document.getElementById("email").value; | |
var firstName = document.getElementById("firstName").value; | |
var lastName = document.getElementById("lastName").value; |
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
<script> | |
function openChat() { | |
console.log(`Chat button clicked ${new Date().toLocaleString()}`); | |
// Use the official Five9 open method from the global namespace | |
try { |
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 | |
use StoutLogic\AcfBuilder\FieldsBuilder; | |
/** | |
* 01. Options | |
* a. Admin Options | |
* b. Background Options |
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
add_filter('register_post_type_args', 'hierarchal_posts', 10, 2); | |
function hierarchal_posts($args, $post_type){ | |
if ($post_type == 'post'){ | |
$args['hierarchal'] = true; | |
} | |
return $args; | |
} |
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
{ | |
"Product": [ | |
{ | |
"Description": "Cutting-edge envelope sealing technology for commercial, residential, and multi-family applications.", | |
"PDFResources": [ | |
"AeroBarrier Durability Testing", | |
"AeroBarrier Full Line Brochure", | |
"AeroBarrier Overview and FAQ Flyer", | |
"AeroBarrier X1 Sealant Datasheet and SDS" | |
], |
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
{ | |
"Glossary": [{ | |
"Term": "", // get_the_title(); | |
"Definition": "", // get_the_content(); | |
"Active": "", // get_field('is_active'); | |
"Legacy_ID": "", // get_field('legacy_id'); | |
"ID" : "" // get_the_ID(); | |
]} | |
} |
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 | |
// only no index all events archived | |
add_action('wp_head', 'no_index_event_archives', 10, 3); | |
function no_index_event_archives() { | |
if ( ! is_post_type_archive('tribe_events') ) | |
return; | |
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 | |
function schema_builder( $context ) { | |
$html = '<script type= "application/ld+json">'; | |
$html .= '{'; | |
$html .= '"@context": "http://schema.org",'; | |
$html .= '"@type": "Organization",'; | |
$html .= '"@name": "' . get_blog_info('name') . ',"; | |
$html .= '"@url": "' . get_blog_info('url') . ',"; | |
if ( $has_brand_logo ) { |
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 | |
// Bail if section is set to inactive | |
if ( get_sub_field('status') == 0 ) | |
return; | |
global $tpl_args; | |
$s_classes = array('faqs-template'); |
NewerOlder