Reply To: Customising output with shortcode attributes | WP Masonry Layout

Reply To: Customising output with shortcode attributes

Reply To: Customising output with shortcode attributes

Home Forums Pro Version Customising output with shortcode attributes Reply To: Customising output with shortcode attributes

#13274 Reply

Frank Torres

Hi Keymaster, I had previously gotten author sorting to work by adding a php variable to the admin_url(‘admin-ajax.php?action=wmlp_load_posts&shortcodeId=’.$shortcodeId) in wp-masonary-layout-pro/includes/client/wmlp_container.php

Of course that hack got wiped out in the latest plugin update. Can you give me an idea what php variable can be added to affect admin-ajax.php to only display posts by one author? And is it by author ID or name?

Thanks!!