Forum Replies Created
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
-
AuthorPosts
-
Gail DelaneySpectator
Ah great, worked a treat, thanks 🙂
Gail DelaneySpectatorAh, mine said add_filters( ‘epl_listing_meta_property_category’, ‘my_epl_listing_load_meta_property_category’ ); not add_filter( ‘epl_listing_meta_property_category’, ‘my_epl_listing_load_meta_property_category’ );
Gail DelaneySpectatorThank you 🙂
Gail DelaneySpectatorHere is the code now, it still errors with this – thanks in advance:
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array(‘parent-style’)
);
}function my_epl_disable_feature_links() {
return false;
}
add_filter( ‘epl_features_taxonomy_link_filter’ , ‘my_epl_disable_feature_links’ );// Easy Property Listings Rental Options Filter
function my_epl_opts_rent_period_filter() {
$opts_rent_period = array(
‘day’ => __(‘Day’, ‘epl’),
‘week’ => __(‘Week’, ‘epl’),
‘month’ => __(‘Month’, ‘epl’),
‘year’ => __(‘Year’, ‘epl’),
);
return $opts_rent_period;
}
add_filter( ‘epl_opts_rent_period_filter’ , ‘my_epl_opts_rent_period_filter’ );/**
* Custom Meta: House Categories
*
* @since 1.1
* @return all the categories in array
*/function my_epl_listing_load_meta_property_category() {
$defaults = array(
‘Detached’ => __(‘Detached House’, ‘epl’),
‘Semi-detached’ => __(‘Semi-Detached House’, ‘epl’),
‘Terraced’ => __(‘Terraced House’, ‘epl’),
‘EndTerraced’ => __(‘End Terraced House’, ‘epl’),
‘Weavers’ => __(‘Weavers Cottage’, ‘epl’),
‘Mews’ => __(‘Mews House’, ‘epl’),
‘TownHouse’ => __(‘Townhouse’, ‘epl’),
‘Bungalow’ => __(‘Bungalow’, ‘epl’),
‘Apartment’ => __(‘Apartment’, ‘epl’),
‘Flat’ => __(‘Flat’, ‘epl’),
‘Bedsit’ => __(‘Bedsit’, ‘epl’),
‘Land’ => __(‘Plot of land’, ‘epl’),
‘Farm’ => __(‘Farm’, ‘epl’),
‘CommSale’ => __(‘Commercial Property – For Sale’, ‘epl’),
‘CommRent’ => __(‘Commercial Property – To Rent’, ‘epl’),
‘Investment’ => __(‘Investment Property’, ‘epl’),
‘Garage’ => __(‘Garage’, ‘epl’),
‘Other’ => __(‘Other’, ‘epl’),
);
return $defaults;
}
add_filters( ‘epl_listing_meta_property_category’, ‘my_epl_listing_load_meta_property_category’ );Gail DelaneySpectatorI didn’t see that either sorry, thanks for all your help.
Gail DelaneySpectatorThanks, sorry I didn’t see that :/
Gail DelaneySpectatorWow fantastic thank you!
Gail DelaneySpectatorDo you have an email address for the theme folder via dropbox please.
Gail DelaneySpectatorYes I did have the one listing issue, that is why I have used shortcodes instead.
Here are the files. Thanks.
Attachments:
You must be logged in to view attached files. -
AuthorPosts
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.