How to pass a postID within a link, and make use of it
-
My home page has a small image gallery. Clicking on any image in this gallery opens up a gallery page with the same (and additional) images. The gallery page uses jQuery to achieve a ‘lightbox effect’ only when one of its own images is clicked.
On the homepage, when an image is clicked, I need to pass the post ID of the clicked image within the link to the gallery page. Then I need the gallery page to use that postID to display the image (that was clicked on the home page) in a lightbox as soon as the gallery page loads.
I’d appreciate a very clear explanation of how to achieve this.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to pass a postID within a link, and make use of it’ is closed to new replies.