Post repeated when opening in overlay, how do I solve this? [closed]
to be able to identify a specific “post” you need to have some unique attribute in its HTML. Usually the easiest thing to do is to use the post id as part of the id attribute (in your case maybe something like overlay{$post_id}). I personally started to prefer to use data- style attributes instead but … Read more