Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show extra text in the popup caption #102

Open
beatricelucaci opened this issue Feb 8, 2024 · 0 comments
Open

show extra text in the popup caption #102

beatricelucaci opened this issue Feb 8, 2024 · 0 comments

Comments

@beatricelucaci
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant