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 | |
| /* | |
| Template Name: Home | |
| */ | |
| get_header("booking-button"); ?> | |
| <h1 style="text-align:center;padding-top:30px;">Cathedral Plumbing Tips, Tricks & How-Tos</h1> | |
| <?php if ( have_posts() ) : ?> | |
| <?php |
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 | |
| echo '<span style="color: #ffffff;">'.date('F j, Y', time()+259200).'</span>'; |
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
| $(".footFacebook img").mouseenter(function(){ | |
| $(this).attr('src','/wp-content/uploads/2019/12/social_facebook_hvr.svg'); | |
| }); | |
| $(".footFacebook img").mouseleave(function(){ | |
| $(this).attr('src','/wp-content/uploads/2019/12/social_facebook.svg'); | |
| }); |
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
| //place in plugin | |
| function myplugin_cron_function() { | |
| //how I verfied function executes correctly via the following two actions | |
| echo '<h3>Recent Posts!!!!</h3>';//input this html into /index.php template | |
| // see if fires via email notification | |
| wp_mail('zacharyjsanders@gmail.com','Cron Worked', date('r'));//send me an email every 30s, which it does | |
| } |
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
| ////////////////////////////////////////////////////////////////// | |
| // ACF Custom Functions | |
| ////////////////////////////////////////////////////////////////// | |
| //Register Options page & Add Custom Sub-Sections | |
| add_action('admin_menu', 'add_options_pages'); | |
| function add_options_pages() { | |
| if (!function_exists('acf_add_options_page')) { | |
| 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
| ////////////////////////////////////////////////////////////////// | |
| // Register Widget Areas | |
| ////////////////////////////////////////////////////////////////// | |
| if (function_exists('register_sidebar')) { | |
| register_sidebar(array( | |
| 'name'=> 'Sidebar 1', | |
| 'id' => 'sidebar1', | |
| 'before_widget' => '<article id="%1$s" class="widget %2$s">', | |
| 'after_widget' => '</article>', |
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
| /****HTML****/ | |
| <div id="container"> | |
| <center> | |
| <p>Open the lightbox with below button</p> | |
| <button id="playme" onclick="revealVideo('video','youtube')">Play Video</button> | |
| </center> | |
| </div> | |
| <div id="video" class="lightbox" onclick="hideVideo('video','youtube')"> |
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> | |
| jQuery(document).ready(function($){ | |
| $(function() { | |
| overlay.init(); | |
| }); | |
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 src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
| jQuery(document).ready(function ($) { | |
| // Your code here | |
| }); | |
| $(document).ready(function() { | |
| // executes when HTML-Document is loaded and DOM is ready | |
| console.log("document is ready"); |
NewerOlder