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
<div class="wrapper"> | |
<div class="description"> | |
<p>the basic layout consist of a "input" (checkbox) and a "label". The "div" isn't mandatory, rather its only for demo purpose</p> | |
<br /> | |
<p>the checkboxes are only visible for demo purposes and can be hidden.</p> | |
</div> | |
<div class="field-wrap"> | |
<input type="checkbox" id="checkbox-photos" /> | |
<label>Photos</label> |
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
<div class="wrapper"> | |
<div class="container"> | |
<div class="description"> | |
<h1>Simple Accordion w/ jQuery</h1> | |
<p>This is a simple Accordion made only with jQuery</p> | |
<p>Version: 0.2</p> | |
<br/> | |
<h3>Key Features</h3> | |
<ul> |
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
<div id="load"> | |
<div>L</div> | |
<div>O</div> | |
<div>A</div> | |
<div>D</div> | |
<div>I</div> | |
<div>N</div> | |
<div>G</div> | |
</div> |
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 | |
/** | |
* Custom Order Options | |
*/ | |
add_filter('wpcasa_property_archive_title_order_args', 'custom_property_archive_title_order_args'); | |
function custom_property_archive_title_order_args($args) { | |
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 | |
/** | |
* Custom more text depending on post type | |
*/ | |
add_filter('wpcasa_more_text', 'custom_more_text'); | |
function custom_more_text($text) { | |
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
/** | |
* Custom Price Labels | |
*/ | |
add_filter( 'wpcasa_get_price_labels', 'custom_price_labels' ); | |
function custom_price_labels($property_price_labels) { | |
$property_price_labels = array( | |
'sold' => __( 'SOLD', 'wpcasa' ), | |
'rented' => __( 'RENTED', 'wpcasa' ), |
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
/* | |
* Custom Numbers for Search Results | |
*/ | |
add_filter('ts_nr_options', 'custom_nr_options'); | |
function custom_nr_options($args) { | |
$args = array('12','24','36','48','60'); | |
return $args; |
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 | |
/** | |
* Change dots and commas in price to ‘ | |
*/ | |
add_filter( 'wpcasa_property_price', 'custom_property_price' ); | |
function custom_property_price( $price ) { |
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 | |
/** | |
* Fixing Captcha Issue | |
*/ | |
add_filter( 'wpcasa_property_contact_fields', 'custom_property_contact_fields', 11 ); | |
function custom_contact_fields( $contact_fields ) { | |
$contact_fields['captcha']['font']='./AHGBold.ttf'; |
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 | |
/** | |
* Enable comments on properties post type | |
*/ | |
add_filter('wpcasa_post_type_args_property', 'custom_post_type_args_property'); | |
function custom_post_type_args_property($args) { | |
$args['supports'] = array( 'title', 'editor', 'author', 'thumbnail', 'custom-fields', 'revisions', 'excerpt', 'comments' ); |
OlderNewer