• Resolved davidsg

    (@davidsg)


    Hi,

    I hope you can point me in the right direction – I am looking to customise what listing details to display in the ‘pop-out’ box from the map.

    If you look at the screenshot (link), I would ideally like to remove ‘property-current’ from the listing and replace it with more meaningful information, probably these EPL functions:

    <?php do_action('epl_property_price'); ?>
    <?php do_action('epl_property_secondary_heading'); ?>

    I was hoping it would be a case of copying a template file to my child theme and modifying it… could you let me know if this is possible and what files I need to change?

    Thanks in advance – great plugin!

    https://www.ads-software.com/plugins/easy-listings-map/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Taher Atashbar

    (@c0dezer0)

    Hi,

    It is not done by creating a child theme, because each property information is creating in shortcode php class and these information will send to javascript file and infowindow of google map will create in javascript function by using this information.

    If you are a WordPress developer you can extend ELM_Shortcode_Google_Maps class and override set_property_marker and register_scripts functions of this class and enqueue your customization scripts in register_scripts function.
    Also I should say that there is a elm-google-maps.js file in Easy Listings Map and inside it there is a getInfoWindow function that creates infowindow for each markers by data that you send it!

    If you are not a PHP,JS and also WordPress developer I don’t recommend you for doing it otherwise you should read codes of ELM_Shortcode_Google_Maps class and extend it. Please note that you should create a customization plugin for your site and don’t put your customization files inside plugin files because in plugins update your customization files will cleaned by WordPress.

    If this is hard for you please let me know if you want this customization and I will quote it for you if possible.

    It is more details of information that I can provide for you.

    Best Regards.

    Plugin Author Taher Atashbar

    (@c0dezer0)

    Resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customise listing detail map 'pop-out'’ is closed to new replies.