Title: Changing Words and Adding Amounts
Last modified: August 31, 2016

---

# Changing Words and Adding Amounts

 *  Resolved [The Wachamacallit](https://wordpress.org/support/users/ineed-help/)
 * (@ineed-help)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/)
 * Hello Easy Property Listings Team
 * I can’t thank you enough for this awesome plugin!
 * Would you be so kind, and please tell me, how can I change the following?:
 * #1 Instead of saying “Land Area” on the Admin, and “Land” on the Front End,
    
   I want to say: Lot Size
 * #2 Instead of saying “Building Area” on the Admin, and “Floor Area” on the Front
   End,
    I want to say: Living Area
 * #3 Instead of a single check mark on the admin for: Garage, Carport, and Shed,
   how can I make them a numeric amount? Some houses have more than one Garage, 
   more than one Carport, and more than one Shed.
 * #4 How can I add a field to the admin, to input the Number of Stories, so they
   can be displayed on the front end? You know, like: 1st floor, 2nd floor, 3rd 
   floor etc…
 * I really hope my ideas would be a good contribution to your plugin. Looking forward
   to your reply. Thanks!!
 * [https://wordpress.org/plugins/easy-property-listings/](https://wordpress.org/plugins/easy-property-listings/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [Merv Barrett](https://wordpress.org/support/users/mervb1/)
 * (@mervb1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349815)
 * Hi there,
 * Thanks for the feedback, if you get a chance, leave a [review](https://wordpress.org/support/view/plugin-reviews/easy-property-listings).
 * **RE: #1 & #2 Land/Building**
    — All [meta field labels can be adjusted with filters](http://codex.easypropertylistings.com.au/article/206-editing-meta-field-labels-and-attributes-on-new-edit-listing-page).
 * #3 Instead of a single check mark on the admin for: Garage, Carport, and Shed,
   how can I make them a numeric amount? Some houses have more than one Garage, 
   more than one Carport, and more than one Shed.
    — There are number fields for
   these… see [listing features here](http://codex.easypropertylistings.com.au/article/135-how-to-add-a-listing-to-easy-property-listings#listing-features).
 * #4 How can I add a field to the admin, to input the Number of Stories, so they
   can be displayed on the front end? You know, like: 1st floor, 2nd floor, 3rd 
   floor etc…
    — Either [add a new field](http://codex.easypropertylistings.com.au/article/299-can-i-create-custom-fields-for-listings),
   or perhaps modify the Rooms field like shown above.
 * Let me know how you go
 *  Thread Starter [The Wachamacallit](https://wordpress.org/support/users/ineed-help/)
 * (@ineed-help)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349890)
 * Thanks a lot for your reply Merv,
 * This seems a little too much for me since I really do not program…
    For #1 & 
   2, if I understand correctly I should edit the “meta-boxes.php” So when the plugin
   gets updated, won’t I have to go there and edit them again? What do you recommend
   so the changes can be permanent even when the plugin gets updated?
 * On #3 You’re right, the only numeric field missing is the “Shed” currently as
   a check box.
 * So on #4 The Simplest thing would be to rename either: “Rooms, Ensuite or Toilet”(
   Since I don’t use those) “To Stories”
 * Thinking about it, would it be too much to ask if you could include a new numeric
   field called: “Stories” and change “Sheds” to a numeric field on your next update?
 *  Plugin Author [Merv Barrett](https://wordpress.org/support/users/mervb1/)
 * (@mervb1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349902)
 * RE: 1 and 2, the best is to not edit the plugin files, [but use filters](http://codex.easypropertylistings.com.au/article/206-editing-meta-field-labels-and-attributes-on-new-edit-listing-page).
   Then when you update the plugin your filters remain intact.
 * We can do this for you if you provide details on an hourly rate via our [support system](https://easypropertylistings.com.au/support-ticket/).
 * We will consider it in a future update, adding filters is quite easy, [submit a support ticket](https://easypropertylistings.com.au/support-ticket/)
   for additional guidance.
 *  Thread Starter [The Wachamacallit](https://wordpress.org/support/users/ineed-help/)
 * (@ineed-help)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349914)
 * Ok, so on number 1 and 2
    Would the code look something like this?
 *     ```
       function my_edited_property_land_area($field) {
   
       	$field['label'] = __(‘Lot Size’,’epl');
   
       	return $field;
   
       }
       add_filter('epl_meta_property_land_area','my_edited_property_land_area');
   
       function my_edited_property_land_area_unit($field) {
   
       	$field['label'] = __(‘Lot Size Unit’,’epl');
   
       	return $field;
   
       }
       add_filter('epl_meta_property_land_area_unit','my_edited_property_land_area_unit');
   
       function my_edited_property_building_area($field) {
   
       	$field['label'] = __(‘Living Space’,’epl');
   
       	return $field;
   
       }
       add_filter('epl_meta_property_building_area','my_edited_property_building_area');
   
       function my_edited_property_building_area_unit($field) {
   
       	$field['label'] = __(‘Living Space Unit’,’epl');
   
       	return $field;
   
       }
       add_filter('epl_meta_property_building_area_unit','my_edited_property_building_area_unit');
       ```
   
 * Is that right? …
 * Thank you for the offer, I already went over budget on this project.
 * Awesome! I would appreciate the upcoming update!!
 *  Plugin Author [Merv Barrett](https://wordpress.org/support/users/mervb1/)
 * (@mervb1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349915)
 * Looks good just make sure your apostrophe are ‘. Not slanted or you will get 
   an error
 *  Thread Starter [The Wachamacallit](https://wordpress.org/support/users/ineed-help/)
 * (@ineed-help)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349916)
 * Oh my! Thanks a lot Merv!
    It did gave a horrible error that brought the whole
   site down but now it’s fixed with this:
 *     ```
       function my_edited_property_land_area($field) {
   
       	$field['label'] = __('Lot Size','epl');
   
       	return $field;
   
       }
       add_filter('epl_meta_property_land_area','my_edited_property_land_area');
   
       function my_edited_property_land_area_unit($field) {
   
       	$field['label'] = __('Lot Size Unit','epl');
   
       	return $field;
   
       }
       add_filter('epl_meta_property_land_area_unit','my_edited_property_land_area_unit');
   
       function my_edited_property_building_area($field) {
   
       	$field['label'] = __('Living Area','epl');
   
       	return $field;
   
       }
       add_filter('epl_meta_property_building_area','my_edited_property_building_area');
   
       function my_edited_property_building_area_unit($field) {
   
       	$field['label'] = __('Living Area Unit','epl');
   
       	return $field;
   
       }
       add_filter('epl_meta_property_building_area_unit','my_edited_property_building_area_unit');
       ```
   
 * The Admin shows the changes, now, how can I change the front end?
    On the actual
   single listing page, these fields still read:
 * “Land is #X# sqft”
    “Floor Area is #X# sqft”
 * How can I make them say:
 * Lot Size is: #X# sqft
    Living Area is: #X# sqft
 *  Plugin Author [Merv Barrett](https://wordpress.org/support/users/mervb1/)
 * (@mervb1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349918)
 * There are additional front end filters, [API Filter reference](http://docs.easypropertylistings.com.au/hook-docs.html)
 *     ```
       epl_get_property_building_area_label
       epl_get_property_land_area_label
       ```
   
 * to test add to your file:
 *     ```
       add_filter('epl_get_property_land_area_label','my_edited_property_building_area_unit');
       add_filter('epl_get_property_building_area_label','my_edited_property_land_area_unit');
       ```
   
 * Then create additional filters for the specific label
 * We can guide you further with a [purchased support plan](https://easypropertylistings.com.au/support-ticket/).
 *  Thread Starter [The Wachamacallit](https://wordpress.org/support/users/ineed-help/)
 * (@ineed-help)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349919)
 * I see, thanks for the pointer Merv,
    The support should be worth it, right now
   these are all the changes I need so it wouldn’t be a good investment for me, 
   I’m actually doing this for free for a good friend of mine and I’m not making
   any money.
 * Could you please share with me a link to the sample coding of how could I add
   the Label Filters?
 * I tried to do use the same code I used for the Admin Fields with some tweaks 
   but it didn’t work:
 *     ```
       function my_edited_property_land_area_label($label) {
   
       	$label['label'] = __('Lot Size is','epl');
   
       	return $label;
   
       }
       add_filter('epl_get_property_land_area_label','my_edited_property_land_area_label');
   
       function my_edited_property_building_area_label($label) {
   
       	$label['label'] = __('Living Area is','epl');
   
       	return $label;
   
       }
       add_filter('epl_get_property_building_area_label','my_edited_property_building_area_label');
       ```
   
 *  Plugin Author [Merv Barrett](https://wordpress.org/support/users/mervb1/)
 * (@mervb1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349924)
 * I’m sure you will figure it out searching the [codex](http://codex.easypropertylistings.com.au)
   or [API documentation](http://docs.easypropertylistings.com.au) or searching 
   [GitHub](https://github.com/easypropertylistings/Easy-Property-Listings).
 * For specific help in detail [purchase support](https://easypropertylistings.com.au/support-ticket/).
 *  Thread Starter [The Wachamacallit](https://wordpress.org/support/users/ineed-help/)
 * (@ineed-help)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349930)
 * Thank you so much again Merv!
    I did figure it out! Here it is, in case someone
   else out there needs it:
 *     ```
       // Changes Admin Field Labels:
       // "Land Area" and "Building Area"
       // to: Lot Size and Livable Area
   
       function my_edited_property_land_area($field) {
   
       	$field['label'] = __('Lot Size','epl');
   
       	return $field;
   
       }
       add_filter('epl_meta_property_land_area','my_edited_property_land_area');
   
       function my_edited_property_land_area_unit($field) {
   
       	$field['label'] = __('Lot Size Unit','epl');
   
       	return $field;
   
       }
       add_filter('epl_meta_property_land_area_unit','my_edited_property_land_area_unit');
   
       function my_edited_property_building_area($field) {
   
       	$field['label'] = __('Livable Area','epl');
   
       	return $field;
   
       }
       add_filter('epl_meta_property_building_area','my_edited_property_building_area');
   
       function my_edited_property_building_area_unit($field) {
   
       	$field['label'] = __('Livable Area Unit','epl');
   
       	return $field;
   
       }
       add_filter('epl_meta_property_building_area_unit','my_edited_property_building_area_unit');
   
       // Changes Front End Labels:
       // "Land Area is" and "Building Area is"
       // to: Lot Size is and Livable Area is
   
       function my_edited_property_land_area_label() {
       	return 'Lot Size is';
       }
       add_filter('epl_get_property_land_area_label','my_edited_property_land_area_label');
   
       function my_edited_property_building_area_label() {
       	return 'Livable Area is';
       }
       add_filter('epl_get_property_building_area_label','my_edited_property_building_area_label');
       ```
   
 *  Plugin Author [Merv Barrett](https://wordpress.org/support/users/mervb1/)
 * (@mervb1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349933)
 * Thanks for helping!
 *  Thread Starter [The Wachamacallit](https://wordpress.org/support/users/ineed-help/)
 * (@ineed-help)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349943)
 * You’re welcome, thank you for making this awesome plugin!
 *  Plugin Author [Merv Barrett](https://wordpress.org/support/users/mervb1/)
 * (@mervb1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349948)
 * If you get a chance, leave a [review](https://wordpress.org/support/view/plugin-reviews/easy-property-listings)

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Changing Words and Adding Amounts’ is closed to new replies.

 * ![](https://ps.w.org/easy-property-listings/assets/icon-256x256.png?rev=984159)
 * [Easy Property Listings](https://wordpress.org/plugins/easy-property-listings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-property-listings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-property-listings/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-property-listings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-property-listings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-property-listings/reviews/)

## Tags

 * [adding](https://wordpress.org/support/topic-tag/adding/)
 * [amounts](https://wordpress.org/support/topic-tag/amounts/)
 * [and](https://wordpress.org/support/topic-tag/and/)
 * [changing](https://wordpress.org/support/topic-tag/changing/)

 * 13 replies
 * 2 participants
 * Last reply from: [Merv Barrett](https://wordpress.org/support/users/mervb1/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/changing-words-and-adding-amounts/#post-7349948)
 * Status: resolved