Adding an option to the Gallery settings
-
Hi I’m needing help with adding a custom option to my “link to” drop down in my core/gallery block settings. Currently there are the standard options of “None”, “Media File” and “Attachment Page” but I would like to add an option of “Light Box”. I can’t find any instruction to do this. I would also need to add the functionality in my functions.php. I am able to change the output of the gallery HTML so that the light box works so that bit is done. I just need to add the option in my gallery settings and only deploy the right version of the HTML if the user selects that option. Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Adding an option to the Gallery settings’ is closed to new replies.