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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 filter for listing details | |
add_filter( 'wp_listings_property_details', 'custom_wp_listings_details'); | |
function custom_wp_listings_details() { | |
$property_details_columns = array( | |
'col1' => array( | |
__( 'Price:', 'wp_listings' ) => '_listing_price', | |
__( 'Address:', 'wp_listings' ) => '_listing_address', | |
__( 'City:', 'wp_listings' ) => '_listing_city', | |
__( 'State:', 'wp_listings' ) => '_listing_state', |
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
//* Remove welcome screen (getting started links) | |
add_filter( 'equity_display_welcome_screen', 'equity_no_welcome' ); | |
function equity_no_welcome() { | |
return false; | |
} |
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
//* Customize forum link on Welcome screen | |
add_filter( 'equity_welcome_link_forum', 'equity_custom_welcome_link_forum' ); | |
function equity_custom_welcome_link_forum() { | |
$equity_forum_link = 'http://yourforumurl.com'; | |
return $equity_forum_link; | |
} |
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
[row][column large="6"]<h4>What is My Home Worth</h4> | |
<p>Looking to sell? Get a free home evaluation</p> | |
[button url="#" size="large"]Find Out Now[/button] | |
[/column] | |
[column large="6"]<h4>Free Listing Manager</h4> | |
<p>Save your favorites, get email updates for listings, and more!</p> | |
[button url="#" size="large"]Sign Up[/button] | |
[button url="#" size="large" secondary="true"]Sign In[/button] | |
[/column] | |
[/row] |
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
[row] | |
[column small="12" medium="6" large="8"] | |
[iconbox type="1" newtab="true" icon="fa-dashboard" url="http://www.agentevolution.com" heading="My Listing Manager"]Sign up for a FREE Listing Manager account to save your favorites, get | |
email updates on properties, and more.[/iconbox] | |
[/column] | |
[column small="12" medium="6" large="4"] | |
[button url="#" secondary="true" size="large" expand="true"]Sign Up[/button] | |
[button url="#" secondary="true" size="large" expand="true"]Login[/button] | |
[/column] | |
[/row] |
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
/* =Featured Page Carousel | |
------------------------------------------------------------------------- */ | |
.equity-page-carousel { | |
} | |
.equity-page-carousel .owl-item .page-wrap { | |
margin: 0 10px; | |
} | |
.equity-page-carousel .owl-controls { | |
text-align: center; |
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
[row] | |
[column medium="4" large="4"] | |
[iconbox type="2" icon="fa-home" heading="Buy With Us" url="http://www.agentevolution.com" ]This is an example of the iconbox type 2 shortcode. Vestibulum mi justo, feugiat non blandit eu, pretium at erat.[/iconbox] | |
[/column] | |
[column medium="4" large="4"] | |
[iconbox type="2" icon="fa-dollar" heading="Sell With Us" url="http://www.agentevolution.com" ]This is an example of the iconbox type 2 shortcode. Vestibulum mi justo, feugiat non blandit eu, pretium at erat.[/iconbox] | |
[/column] | |
[column medium="4" large="4"] | |
[iconbox type="2" icon="fa-thumbs-up" heading="Free Home valuation" url="http://www.agentevolution.com" ]This is an example of the iconbox type 2 shortcode. Vestibulum mi justo, feugiat non blandit eu, pretium at erat.[/iconbox] | |
[/column] |
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
/** | |
* Optimize WooCommerce Scripts | |
* Remove WooCommerce Generator tag, styles, and scripts from non WooCommerce pages. | |
*/ | |
add_action( 'wp_enqueue_scripts', 'child_manage_woocommerce_styles', 99 ); | |
function child_manage_woocommerce_styles() { | |
//remove generator meta tag | |
remove_action( 'wp_head', array( $GLOBALS['woocommerce'], 'generator' ) ); | |
//first check that woo exists to prevent fatal errors | |
if ( function_exists( 'is_woocommerce' ) ) { |
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
[row] | |
[column medium="6" large="3"] | |
[iconbox type="3" icon="fa-search" heading="Buy With Us" url="http://curbappeal.idxbroker.com/idx/search/basic" ]Search homes by us[/iconbox] | |
[/column] | |
[column medium="6" large="3"] | |
[iconbox type="3" icon="fa-envelope" heading="Listings by Email" url="http://curbappeal.idxbroker.com/idx/usersignup" ]Listing updates sent to your inbox[/iconbox] | |
[/column] | |
[column medium="6" large="3"] | |
[iconbox type="3" icon="fa-bar-chart" heading="Home Valuation" url="http://curbappeal.idxbroker.com/idx/homevaluation" ]What is your home worth?[/iconbox] | |
[/column] |