Skip to content

Instantly share code, notes, and snippets.

@erikyo
Last active January 24, 2022 03:34
Show Gist options
  • Save erikyo/71472e31de794e12e0f892f88954aff0 to your computer and use it in GitHub Desktop.
Save erikyo/71472e31de794e12e0f892f88954aff0 to your computer and use it in GitHub Desktop.
fancybox 3 integration into wordpress Gutenberg gallery block
@erikyo
Copy link
Author

erikyo commented Aug 22, 2021

2021/08/22 - Updated to wp 5.8

To get it working you need to create a WordPress gallery and in the Gallery settings tab, under "Link to:" select "Media File".
You need to load the fancybox script (http://fancybox.net/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment