1. Home
  2. Docs
  3. Estate ImageMap Configura...
  4. For Developers

For Developers

Overwriting Templates

Remember: Use this only when you can’t make required changes via CSS rules or simple JS or using available hooks. 

Our plugin allows you to overwrite whole template (or create new one if you are more skilled in using hooks).

For example – if you want to overwrite look of classic theme completely – you can copy folder wp-content/plugins/estate-imagemap-configurator/templates/classic and paste it into your theme as wp-content/themes/YOURTHEME/estate-imagemap-configurator/classic

Template contains files like:

base.php – main file which include others.

step1.php – step one design

step2.php – step two design

datatables.php – datatable design.

Note: You can overwrite only selected files if you need, but always move all of them. This will help in maintenance and prevent issues after update.

Available Actions

eic/before_apartments_configurator

eic/after_apartments_configurator

eic/after_datatables

eic/before_step1

eic/after_step1

eic/before_step2

eic/after_step2

Available Filters

eic/settings/sections

Filters sections in Settings Array

eic/settings/options

Filters options in Settings

eic/admin/localize

Filters localized variables for Admin JS

eic/locate_template

Filters selected template for shortcode into eic_locate_template method.

eic/datatables/active_columns

Additional filter for filtering available Columns into datatable.

eic/buildings

Filters buildings array. This array stores everything – buildings, floors and apartments.

eic/opacity

Changes opacity for datatable rows.

How can we help?