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
.bg-gray{background:#efefef;} | |
.full-bg{box-shadow:0 0 0 100vmax #efefef; clip-path: inset(0 -100vmax);} |
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
npm create vite@latest |
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
//Popover | |
const popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')); | |
const popoverList = popoverTriggerList.map(function (popoverTriggerEl) { | |
return new Popover(popoverTriggerEl); | |
}) | |
//Tooltip | |
const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) | |
const tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { | |
return new Tooltip(tooltipTriggerEl); | |
}); |
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
//TEMP REMOVE GO LIVE | |
function redirect_if_user_not_logged_in() { | |
global $post; | |
$show_live_pages = [3,46]; | |
if(in_array($post->ID, $show_live_pages)) return; | |
if(is_admin()) return; | |
if (!is_user_logged_in() && !is_front_page()) { | |
wp_redirect( 'https://northernfeedandbean.com'); | |
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
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^franchise\.seniorshelpingseniors\.com [NC] | |
RewriteCond %{REQUEST_URI} !^/$ [NC] | |
RewriteRule ^.*$ http://seniorshelpingseniorsfranchise.com/ [L] |
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
$args = array( | |
'post_type' => 'resources', | |
'posts_per_page' => -1, | |
'meta_query' => array( | |
array( | |
'key' => '_thumbnail_id', | |
'compare' => 'EXISTS' | |
), | |
) | |
); |
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
.video-left #content-right{ | |
-ms-overflow-style: none; /* for Internet Explorer, Edge */ | |
scrollbar-width: none; /* for Firefox */ | |
overflow-y: scroll; | |
} | |
.content-scroller::-webkit-scrollbar { | |
display: none; /* for Chrome, Safari, and Opera */ | |
} |
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
.v-aligner{display: flex; align-items: center; justify-content: center;} | |
.v-aligner-item-top{align-self: flex-start;} | |
.v-aligner-item-bottom{align-self: flex-end;} |
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
//AOS Block Filter | |
function exl_aos_filter( $block_content, $block ){ | |
//Schema exlaos_fade-up_1000 ETC | |
//1 data-aos="fade-up" | |
//2 data-aos-duration="1000" | |
//3 data-aos-delay="50" | |
//4 data-aos-offset="200" | |
//5 data-aos-easing="ease-in-out" | |
//data-aos-mirror="true" | |
//data-aos-once="false" |
NewerOlder