Use Toggle Hash on More than One Element

I’m creating an ACF gallery where the images will toggle to open up a gallery modal (see here).

Currently, it’s set to show 12 images maximum and display a “See More Images” button which should open up a gallery modal.

Here is the problem I’m experiencing. If I put the Toggle Hash both on the individual images and on the “See More Images” button. The individual images will not open. How can I place the Toggle Hash in more than 1 place?

Hi @OctoCog,

Thanks for reaching out.
We are not sure what exactly you are trying acheive here. Do you want to open the Modal or Lightbox by clicking the Single Image and the See More Image button? If that is the case, you can check the following thread on the Toggle Hash which might help you with this.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.