About
This plugin was developed primarily for the RE-Collective project, which requirs the display of properties in sliders based on the property status. A demo of this plugin can be found at https://innovriver.com/test-astra/sell-with-us/
This plugin extends the function of another plugin called “Easy Property Listings” developed by Merv Barrett.
This plugin performs the following functions:
- At the ‘ini’ hook:
- creates a taxonomy named “ivr_tax-status”.
- register this taxonomy to post types ‘rental’ and ‘property’.
- At the ‘save_post’ hook:
- Get the post meta data ‘property_status’ value.
- If the above value is not already existing in ‘ivr_tax_status’. Insert this value to the said taxonomy.
- Set the taxonomy term of the post to the value of ‘property_status’.
The taxonomy ‘ivr_tax_status’ can be used by various page builder elements to filter the posts based on the property status.
Folders and Files
ivr-epl-addon/ivr-epl-addon.php
- the main file of the plugin. It triggers the required functions at the ‘ini’ hook and ‘save_post’ hook.
ivr-epl-addon/uninstall.php
- this php will run when the plugin is being uninstalled.
- it calls the function to delete records in these three tables:
- wp_term_relationships
- wp_terms
- wp_term_taxonomy
ivr-epl-addon/inc/loader.php
- when called, it loads in all files in the ‘inc’ folder.
- but excludes itself and index.php
ivr-epl-addon/inc/ivr-epl-addon-functions.php
- defines some constants
- defines functions called by ivr-epl-addon.php and uninstall.php
Version History & Download
| Ver. | Rel. Date | Remark |
| 1.0.0 | 2021-02-28 | first release |
Notes
The Easy Property Listings (EPL) vendor has also provided the following widgets which can be readily used in sidebars or widget areas:
- EPL-Contact Form
- EPL-Listing Gallery
- EPL-Author
- EPL-Listing
- EPL-Listing Search
