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
//* Filter the property details array | |
add_filter( 'agentpress_property_details', 'agentpress_property_details_filter' ); | |
function agentpress_property_details_filter( $details ) { | |
$details['col1'] = array( | |
__( 'Price:', 'agentpress' ) => '_listing_price', | |
__( 'Address:', 'agentpress' ) => '_listing_address', | |
__( 'City:', 'agentpress' ) => '_listing_city', | |
__( 'State:', 'agentpress' ) => '_listing_state', | |
__( 'ZIP:', 'agentpress' ) => '_listing_zip', |
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 | |
/** | |
* Simple Grid helper functions. | |
* | |
* @package SimpleGrid | |
* @subpackage Genesis | |
* @copyright Copyright (c) 2013, Flagship, LLC | |
* @license GPL-2.0+ | |
* @since 2.0.0 | |
*/ |
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
<link href="http://www.yoursite.com/apple-touch-icon.png" rel="apple-touch-icon"/> | |
<link href="http://www.yoursite.com/apple-touch-icon-76x76.png" rel="apple-touch-icon" sizes="76x76"/> | |
<link href="http://www.yoursite.com/apple-touch-icon-120x120.png" rel="apple-touch-icon" sizes="120x120"/> | |
<link href="http://www.yoursite.com/apple-touch-icon-152x152.png" rel="apple-touch-icon" sizes="152x152"/> |
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
//* Filter the property details array | |
add_filter( 'agentpress_property_details', 'agentpress_property_details_filter' ); | |
function agentpress_property_details_filter( $details ) { | |
$details['col1'] = array( | |
__( 'Price:', 'agentpress' ) => '_listing_price', | |
__( 'Address:', 'agentpress' ) => '_listing_address', | |
__( 'City:', 'agentpress' ) => '_listing_city', | |
__( 'State:', 'agentpress' ) => '_listing_state', | |
__( 'ZIP:', 'agentpress' ) => '_listing_zip', |
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 | |
//* Do NOT include the opening php tag | |
//* Remove comment form allowed tags | |
add_filter( 'comment_form_defaults', 'bg_remove_comment_form_allowed_tags' ); | |
function bg_remove_comment_form_allowed_tags( $defaults ) { | |
$defaults['comment_notes_after'] = ''; | |
return $defaults; |
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
/* | |
Gist Formatting Overrides | |
---------------------------------------------------------------------------------------------------- */ | |
.gist { | |
font-size: 14px; | |
} | |
.gist table { | |
line-height: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 | |
/** | |
* This file adds an AgentPress Listings custom post type archive template to the Winning Agent Pro Theme. | |
* | |
* @author Ginger Coolidge | |
* @package Winning Agent Pro | |
* @subpackage Customizations | |
*/ | |
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
Reducing the value 164px below to something less will bring the photo up | |
.header-image .site-title a { | |
background-position: left center !important; | |
float: left; | |
min-height: 164px; | |
width: 100%; | |
} | |
Changing the 40px on the padding value below will let you adjust the vertical placement |
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
function reg_cat() { | |
register_taxonomy_for_object_type('category','wap-community'); | |
} | |
add_action('init', 'reg_cat'); |
OlderNewer