You can’t use multiple shortcodes on the same page even when the parameters are different (es. tags, title, etc.). Only the first shortcode gets detected and it is then repeated on the page various times (the number corresponds to the number of shortcodes on the page). However, each repetition has the correct title: only the attachments listed are the same as the first shortcode. Desired behaviour?
I found a solution to this problem. It seems like the field $this->attachments is not getting reset after showing a shortcode. I modified the eg-attachments-public.inc.php file and inserted the following
in the function get_attachments. Afterwards, everything functions as it’s supposed to.