Skip to content

show extra text in the popup caption #102

@beatricelucaci

Description

@beatricelucaci

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.

https://wordpress.org/support/topic/fancybox-for-wordpress-show-extra-text-in-the-popup-caption/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions