Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15913
    DigitalForeground
    Participant

    I have a page where I have single images (one or more) and than WP default gallery on the bottom of the page. How can I combine all images on the page into a single lightbox so if click next I cycle trough individual images and the gallery images. Thanks!

    #15916
    Bartosz
    Keymaster

    It will work that way if all the image links have the same data rel attribute, for example data-rel=”lightbox-gallery-1″.

    Easiest way would be to check the data rel parameter of the gallery (added automatically on the frontend), then use the same data rel for the single image links (by adding that manually in the backend or in the theme – depending on how you’re trying to achieve that)

    #23205
    parampara
    Participant

    hi
    I don’t get how to do that, I have exactly the same question. Please could you give a more detailed instruction for someone not really into php?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.