• Resolved 1ans0l0

    (@1ans0l0)


    Hello

    I am designing an art gallery website (WordPress 6.4.2, TwentyTwentyThree theme). The website is not online yet.

    I installed Fancybox for WordPress plugin (version 3.3.3), created a page with a gallery and set a title inside each picture; when I click on a picture, a popup overlay opens showing the same picture in bigger size and having the caption inside with the same text of the title (important: the popup overlay is a part of a slideshow).

    I wish to show extra text in the caption when a popup is opened; i.e., if a picture in the gallery shows a sculpture with the following text inside:

    Sculpture name: The Big Blue

    when clicking, the caption inside the popup overlay should be:

    Sculpture name: The Big Blue
    Year: 2023
    Author: John Smith

    etc.

    I thought to put some javascript code (jQuery) to hide and show the extra text, by Insert Headers and Footers plugin or using Child Theme.

    Thanks to everybody could give me an helpful hint or support or another useful suggestion.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fancybox for WordPress: show extra text in the popup caption’ is closed to new replies.