Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- In response to: http://wordpress.org/support/topic/plugin-wp-jquery-lightbox-supress-caption-field-in-popup?replies=1
- */
- //in wp-jquery-lightbox.php change
- define('JQLB_SCRIPT_URL', JQLB_URL.'jquery.lightbox.min.js');
- //to:
- define('JQLB_SCRIPT_URL', JQLB_URL.'jquery.lightbox.js');
- //in jquery.lightbox.js change:
- var s = '';
- if (title != '' && caption != '') {
- s = title + '<br />' + caption;
- } else if (title != '') {
- s = title;
- } else if (caption != '') {
- s = caption;
- }
- //to:
- var s = '';
- if (title != '') {
- s = title;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement