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
section.part header h1, | |
section.chapter header h1, | |
.front-matter h5, | |
.part h5, | |
.chapter h5, | |
.back-matter h5, | |
body#tinymce.wp-editor h5, | |
.front-matter h2, | |
.part h2, | |
.chapter h2, |
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
javascript: (() => {var tableRows = document.querySelector('.session-list').querySelectorAll('tr');tableRows.forEach((row) => {if(row.dataset){var dlUrl = 'https://midd.hosted.panopto.com/Panopto/Podcast/Download/'+row.dataset.id+'.mp4?mediaTargetType=videoPodcast';window.open(dlUrl);}});})(); |
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 | |
//simple GF merge field modifier that replaces the space with a dash | |
add_filter( 'gform_merge_tag_filter', function ( $value, $merge_tag, $modifier, $field, $raw_value, $format ) { | |
if ( $merge_tag != 'all_fields' && $modifier == 'urlmaker' ) { | |
$value = str_replace(" ", "-", $value); | |
} | |
return $value; | |
}, 10, 6 ); |
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( 'gform_after_submission_3', function ( $entry ) { | |
if ( ! function_exists( 'tribe_create_event' ) ) { | |
return; | |
} | |
$start_date = rgar( $entry, '2' ); | |
$start_time = rgar( $entry, '3' ); | |
$end_date = rgar( $entry, '4' ); | |
$end_time = rgar( $entry, '5' ); | |
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
<h1>SensusAccess Stats Index</h1> | |
<?php | |
function create_file_name($string){ | |
$name = str_replace('middlebury-report-','', $string); | |
$name = substr($name,0,10); | |
return $name; | |
} | |
$files = scandir('.'); |
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 | |
/** | |
* UnderStrap functions and definitions | |
* | |
* @package UnderStrap | |
*/ | |
// Exit if accessed directly. | |
defined( 'ABSPATH' ) || exit; |
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
#intro .intro-inner { | |
padding: 30px; | |
} | |
#main .entry-content p { | |
font-size: 1.5rem; | |
} | |
.intro-special { | |
padding: 70px; |
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
add_action( 'gform_after_submission_1', 'fwp_gf_url_adder', 10, 2 ); | |
function fwp_gf_url_adder($entry, $form){ | |
$url = rgar( $entry, '1' ); | |
$name = rgar( $entry, '2'); | |
$cat = rgar($entry, '3'); | |
$linkdata = array("link_url" => $url, | |
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
add_action( 'publish_post', 'fwp_fi_update', 10, 1 ); | |
function fwp_fi_update ($post_id){ | |
if (get_post_meta( $post_id, 'enclosure', true )) { | |
$messy_data = get_post_meta( $post_id, 'enclosure', true); | |
$array_data = explode(PHP_EOL, $messy_data); | |
$img_url = $array_data[0]; | |
$img_id = fwp_fi_add_img($img_url, $post_id); |
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
.gquiz-answer-explanation { | |
margin: 20px 0; | |
padding: 10px; | |
border: 2px solid yellow; | |
border-radius: 5px; | |
transition: all .5s ease; | |
} | |
.twins { | |
width: 500px; |