Home › Forums › Pro Version › Customising output with shortcode attributes › Reply To: Customising output with shortcode attributes
July 27, 2016 at 9:01 am
#13274
Guest
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!!