Reply To: Masonry & WPML and Domains | WP Masonry Layout

Reply To: Masonry & WPML and Domains

Home Forums Pro Version Masonry & WPML and Domains Reply To: Masonry & WPML and Domains

#13679
seethroughweb
Participant

We made this work by changing this code around line 7 in wmlp_container.php:

$link = admin_url(‘admin-ajax.php?action=wmlp_load_posts&shortcodeId=”.$shortcodeId) ;

to:

$link = “/wp-admin/admin-ajax.php?action=wmlp_load_posts&shortcodeId=”.$shortcodeId ;

Of course this will be wiped out by the next plugin update, is there a better way to handle it?

Thanks.