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
<!-- if( !empty($similar_properties) ) { --> | |
<div class="cw-similar-properties-wrapper"> | |
<h3>Similar Properties</h3> | |
<?php echo do_shortcode( '[similar_properties property_id=' . $property->id . ' per_page="2" price_percentage_bounds="25"]' ); ?> | |
</div> | |
<!-- } --> |
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
{ | |
"RoleId": 17755331, | |
"PropertyId": 2259506, | |
"PropertyStyle": { | |
"Id": 1037302, | |
"Name": "Modern", | |
"SystemName": "Modern" | |
}, | |
"Address": { | |
"OrganizationName": "", |
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 display_kitchensmart_gallery_shortcode( $atts ) { | |
ob_start(); | |
$gal = shortcode_atts( array( | |
'id' => '', | |
'order' => 'DESC', | |
'category' => '', | |
'button_label' => '', |
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_action("propertyhive_property_imported_dezrez_json", 'set_new_home_flag', 10, 2); | |
function set_new_home_flag($post_id, $property) { | |
wp_suspend_cache_invalidation(false); | |
wp_defer_term_counting(false); | |
wp_defer_comment_counting(false); | |
$flags = array(); | |
if (isset($property['Descriptions']) && is_array($property['Descriptions']) && !empty($property['Descriptions'])) { | |
foreach ($property['Descriptions'] as $description) { | |
if (isset($description['StyleType']['SystemName']) && trim(strtolower($description['StyleType']['SystemName'])) == 'new') { | |
$flags[] = 69; |
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
/** | |
* @OnlyCurrentDoc | |
* @see https://www.googleapis.com/auth/spreadsheets | |
* @see https://www.googleapis.com/auth/webmasters | |
* @see https://www.googleapis.com/auth/script.external_request | |
* @see https://www.googleapis.com/auth/drive | |
* @see https://www.googleapis.com/auth/drive.file | |
* @see https://www.googleapis.com/auth/script.container.ui | |
* @see https://www.googleapis.com/auth/script.scriptapp | |
*/ |
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
/* Eric Meyer's Reset Reloaded *//* http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {margin: 0;padding: 0;border: 0;outline: 0;font-size: 100%;vertical-align: baseline;background: transparent;}body {line-height: 1;}ol, ul {list-style: none;}blockquote, q {quotes: none;}/* remember to define focus styles! */:focus {outline: 0;}/* remember to highlight inserts somehow! */ins {text-decoration: none;}del {text-decoration: line-through;}/* tables still need 'cellspacing="0"' in the markup */table {border-collapse: collapse;border-spacing: 0;} |