This is a SCRIPT-8 cassette.
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(isset($_GET['location']) && $_GET['location'] != ''){ | |
$location = sanitize_text_field($_GET['location']); | |
}else{ | |
$location = 'Wausau'; | |
} | |
$output = ' | |
<div id="zillow-large-search-box-widget-container" style="width:432px;overflow:hidden;background-color:#e7f1fd;color:#555; font: normal normal normal 13px verdana,arial,sans-serif;line-height:13px;margin:0 auto;padding:0;text-align:center;border:1px solid #adcfff;letter-spacing:0;text-transform:none;"> | |
<h2 style="color:#d61;text-align:left;font-size:20px;line-height:20px;font-weight:normal;float:left;width:200px;margin-left:10px;margin-top:5px;letter-spacing:0;text-transform:none;">Find Homes</h2> | |
<div style="float:right;"> | |
<a href="https://www.zillow.com/" target="_blank" rel="nofollow"><img alt="Zillow Real Estate Information" style="border:0;" src="https://www.zillow.com/widgets/GetVersionedResource.htm?path=%2Fstatic%2Fimages%2Fpowered-by-zillow.gif"></img> |
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
ob_start(); | |
?> | |
<div class="job-browse-block"> | |
<?php | |
$count_posts = wp_count_posts( 'job_listing' )->publish; | |
$today = getdate(); | |
//$query = new WP_Query( 'year=' . $today['year'] . '&monthnum=' . $today['mon'] . '&day=' . $today['mday'] ); | |
$args = array( | |
'post_type' => 'job_listing', | |
'date_query' => array( |
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
$shortcode = '[jobs '; | |
if(isset($_GET['job_listing_category']) && $_GET['job_listing_category'] != ''){ | |
echo '<p><a href="'. get_permalink(get_option('job_manager_jobs_page_id')).'" class="button btn">← Back to All Job Listings</a></p>'; | |
echo '<h3>'.ucwords(str_replace('-',' ',sanitize_text_field($_GET['job_listing_category']))).'</h3>'; | |
$shortcode.= 'categories="'.sanitize_text_field($_GET['job_listing_category']).'" '; | |
} | |
$shortcode.= ']'; | |
echo do_shortcode($shortcode); | |
echo " | |
<script> |
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 | |
//About Us Team Shortcode | |
function aboutus_team_member() { | |
global $post; | |
if(get_post_type($post) === 'page'){ | |
ob_start(); | |
$aboutus_team_args = array( | |
'post_type' => 'our-team', | |
'posts_per_page' => -1 | |
); |
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 | |
/* | |
Plugin Name: Simple Tooltips | |
Description: Easily add tooltips to your wordpress site. You can define tooltip color settings in <strong>Settings > Simple Tooltips</strong> | |
Version: 2.1.3 | |
Author: Justin Saad | |
Author URI: http://www.clevelandwebdeveloper.com | |
License: GPL2 | |
*/ |
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 | |
/* | |
Plugin - WP ADA Compliance Check | |
functions to support dipslay or reports and reference pages | |
*/ | |
/********************************************** | |
REFRESH REPORT PAGE | |
********************************************/ | |
function wp_ada_compliance_basic_refresh_report_page(){ |
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( 'wpcf7_init', 'wpcf7_recaptcha_register_service', 10, 0 ); | |
function wpcf7_recaptcha_register_service() { | |
$integration = WPCF7_Integration::get_instance(); | |
$integration->add_category( 'captcha', | |
__( 'CAPTCHA', 'contact-form-7' ) | |
); |
This is a SCRIPT-8 cassette.
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 | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL); |