RogerT42
Forum Replies Created
-
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] How do I use this plugin?This has been a problem since WP 4.4.
WP 4.4+ adds “attachment wp-att-xxx” to the “Link Rel” attribute of an image added to a page/post. This causes Lightbox Plus to ignore the image, which then just opens as a larger image (default WP action).
If you clear the Link Rel content, all works as before.
To ask customers to do this for each image inserted is not on. Other lightbox plugins don’t have this problem. I now use Simple Lightbox – https://ww.wp.xz.cn/plugins/simple-lightbox/, which works great.
This problem has been mentioned a number of times in these comments (see https://ww.wp.xz.cn/support/topic/dont-work-on-wp-44?replies=15), and although there was apparently an update to the plugin a month ago, and it’s stated that it’s compatible to WP 4.4.2, I can’t get it to work.
Shame, as it was a good plugin.
There is a “fix” by modifying the code in one of the WP files, but this could be over written with a WP update. See http://www.web266.de/tutorials/wordpress/wordpress-update/update-4-4/ (need to use google translate) or https://core.trac.ww.wp.xz.cn/ticket/34826
Basically, using ftp, open “/wp-admin/includes/media.php” and remark out line 125:
$rel = ' rel="attachment wp-att-' . esc_attr( $id ) . '"';
and replace with:
$rel = 'attachment wp-att-' . $id;
This fixes the problem, but may be over written in a future WP update.
If someone can tell me another way to install this plugin that gets it to work correctly, I’d love to hear it. Otherwise it’s not being used on any of my sites any more.Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Lightbox Plus Partially Working (Gallery only)This has been a problem since WP 4.4.
WP 4.4+ adds “attachment wp-att-xxx” to the “Link Rel” attribute of an image added to a page/post. This causes Lightbox Plus to ignore the image, which then just opens as a larger image (default WP action).
If you clear the Link Rel content, all works as before.
To ask customers to do this for each image inserted is not on. Other lightbox plugins don’t have this problem. I now use Simple Lightbox – https://ww.wp.xz.cn/plugins/simple-lightbox/, which works great.
This problem has been mentioned a number of times in these comments (see https://ww.wp.xz.cn/support/topic/dont-work-on-wp-44?replies=15), and although there was apparently an update to the plugin a month ago, and it’s stated that it’s compatible to WP 4.4.2, I can’t get it to work.
Shame, as it was a good plugin.
There is a “fix” by modifying the code in one of the WP files, but this could be over written with a WP update. See http://www.web266.de/tutorials/wordpress/wordpress-update/update-4-4/ (need to use google translate) or https://core.trac.ww.wp.xz.cn/ticket/34826
Basically, using ftp, open “/wp-admin/includes/media.php” and remark out line 125:
$rel = ' rel="attachment wp-att-' . esc_attr( $id ) . '"';
and replace with:
$rel = 'attachment wp-att-' . $id;
This fixes the problem, but may be over written in a future WP update.
If someone can tell me another way to install this plugin that gets it to work correctly, I’d love to hear it. Otherwise it’s not being used on any of my sites any more.This has been a problem since WP 4.4.
WP 4.4+ adds “attachment wp-att-xxx” to the “Link Rel” attribute of an image added to a page/post. This causes Lightbox Plus to ignore the image, which then just opens as a larger image (default WP action).
If you clear the Link Rel content, all works as before.
To ask customers to do this for each image inserted is not on. Other lightbox plugins don’t have this problem. I now use Simple Lightbox – https://ww.wp.xz.cn/plugins/simple-lightbox/, which works great.
This problem has been mentioned a number of times in these comments (see https://ww.wp.xz.cn/support/topic/dont-work-on-wp-44?replies=15), and although there was apparently an update to the plugin a month ago, and it’s stated that it’s compatible to WP 4.4.2, I can’t get it to work.
Shame, as it was a good plugin.
There is a “fix” by modifying the code in one of the WP files, but this could be over written with a WP update. See http://www.web266.de/tutorials/wordpress/wordpress-update/update-4-4/ (need to use google translate) or https://core.trac.ww.wp.xz.cn/ticket/34826
Basically, using ftp, open “/wp-admin/includes/media.php” and remark out line 125:
$rel = ' rel="attachment wp-att-' . esc_attr( $id ) . '"';
and replace with:
$rel = 'attachment wp-att-' . $id;
This fixes the problem, but may be over written in a future WP update.
If someone can tell me another way to install this plugin that gets it to work correctly, I’d love to hear it. Otherwise it’s not being used on any of my sites any more.Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Strange borders inside ligtboxBorders around image look fine. I see a white border above the close button. This is because the lightbox has the “button” tag for the close icon.
Your theme css, http://guncitychoppers.dk/wp-content/themes/vantage/style.css line 295 calls for a box shadow:button, html input[type="button"], input[type="reset"], input[type="submit"] { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125), 0 1px 0 rgba(255, 255, 255, 0.5) inset; }So in the light box css, http://guncitychoppers.dk/wp-content/plugins/lightbox-plus/css/black/colorbox.css you need to add ‘box-shadow:none’ to this style, so it’ll be:
#cboxClose { background: url("images/close.png") no-repeat scroll center top rgba(0, 0, 0, 0); bottom: -25px; box-shadow: none; display: block; height: 22px; position: absolute; right: 5px; text-indent: -9999px; width: 22px; }