Topic: Some simple to implement features request | WP Masonry Layout

Some simple to implement features request

Home Forums Pro Version Some simple to implement features request

This topic contains 1 reply, has 2 voices, and was last updated by  Masonry Guy 7 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12193 Reply

    Thomas Prinzivalli

    Hi,

    Can you make this plugin ready to use with WPML, for example using

    
      $wmlp_strings = array(
                                'loading'   => __( 'Loading...', 'wmlp' ),
                                'loadMore'  => __( 'Load More', 'wmlp' )
                          );
      wp_localize_script( 'wmljs', 'wmlpStrings', $wmlp_strings );
    

    in “wmlp_client_js_css” function of “plugin_interface.php” file and using wmlp.loading and wmlp.loadMore in “wmljs.js”.
    If you want to make it easier for users, create an option and retrieve the value in the array.

    On another hand, can you add some custom js events to help theme developers? I think that 3 would be more than enough (while loading more posts, when new posts are loaded and when all posts are loaded).
    As easy as jQuery(document).trigger('wmle_allpostsloaded');

    For now I made this changes by myself but as you know, any update will break it.

    If you want me to send you all the changes I made, just get in touch.

    Thanks for the good work.

    Best regards.

    #12195 Reply

    Masonry Guy
    Keymaster

    Hi Thomas,

    Since i am not much into WMLP, i had hard time to work with both.

    I really liked your motive here. Can you please share me your changes here ? Will be more than easy for me to integrate it.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Some simple to implement features request
Your information: