small mod so it plays nice with other gallery plugins (eg: isotope gallery)
-
Hi,
Great plugin. Thanks. (something like this should really be included in wp core i think).
One small improvement i needed to make:
file: wp-gallery-custom-links.php
func: apply_filter_attachment_fields_to_edit
around lines: 88-100– i added an additional EXPLICIT option for ‘_self’ – so you can now choose: ‘Nothing’, ‘_self’ or ‘_blank’ for the target option.
I did this because I am using your plugin to augment functionality of the istope-gallery plugin & the way you had implemented meant that selection of ‘_self’ as link target resulted in that option value iteself being removed from wordpress db (that is the default wp behaviour).
With my mod however, I can now properly detect and operate on the target option set by the admin using your plugin, via other plugins, (and without causing any regression problems).
I would be very happy to share my code mod with you (FOC) in the hope other useres might also find it helpful.
Would you like me to email it to you, else I can pop it up on pastbin?
- The topic ‘small mod so it plays nice with other gallery plugins (eg: isotope gallery)’ is closed to new replies.