• Resolved termoplus

    (@termoplus)


    Hi there,

    I have pre-sale questions for 2 projects.

    1) Is this plugin comparable with Divi and WPML?
    2) Can this plugin be used for business for sale website. Basically for this project I need to add and remove amenities?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Merv Barrett

    (@mervb1)

    Hi Termoplus

    RE: 1) Is this plugin comparable with Divi and WPML?
    — Yes fully compatible with the Divi framework

    — Having an issue with WPML and wondering if you can give us a hand with testing this.

    Just updated the main plugin file here
    https://github.com/easypropertylistings/Easy-Property-Listings

    Specifically
    https://github.com/easypropertylistings/Easy-Property-Listings/blob/master/easy-property-listings.php

    Moved
    self::$instance->includes();

    to trigger after
    add_action( ‘plugins_loaded’, array( self::$instance, ‘load_textdomain’ ) );

    Can you let me know if that works with WPML?

    RE: 2) Can this plugin be used for business for sale website. Basically for this project I need to add and remove amenities?
    —- Yes you can, there are a number of filters in the plugin to alter the default values

    I have two websites running with EPL, divi and WPML, and all works well, only the manually set labels for “new”, “sold”, etc as set in the EPL settings page are not translated.

    For the Suburb/Town/City Label and Additional Address Field Label you can add this in your child theme’s functions.php:

    add_filter( 'epl_search_widget_label_property_location', function( $string ) {
        return icl_translate( 'EPL', 'search_widget_label_property_location', $string );
    } );
    
    add_filter( 'epl_search_widget_label_property_address_city', function( $string ) {
        return icl_translate( 'EPL', 'search_widget_label_property_address_city', $string );
    } );

    I hope the plugin author can add the variables for the new, sold etc label?

    Also, WPML had indiucated:

    As for a long term solution, the author should be displaying the labels through __() or similar.

    Please add this as a feature request!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Divi + WPML’ is closed to new replies.