echappee06
Forum Replies Created
-
Forum: Plugins
In reply to: [MetaSlider Lightbox] Use with premium themeOK, thanks !
So I just have an issue with this filter which doesn’t work :function metaslider_add_full_url_to_slides($attributes, $slide, $slider_id) { if (!strlen($attributes['href'])) { $attributes['href'] = wp_get_attachment_url($slide['id']); } return $attributes; } add_filter('metaslider_flex_slider_anchor_attributes', 'metaslider_add_full_url_to_slides', 10, 3);
Do you have any idea to help me make it work ?
Forum: Plugins
In reply to: [MetaSlider Lightbox] Use with premium themeShould I still use the Meta Slider Lightbox plugin ?
I have this error message because no lightbox plugin is used and so I cannot check the lightbox checkbox : “Warning: MetaSlider Lightbox is installed but no supported lightbox plugin is active. ”I added this in my functions.php :
function metaslider_add_full_url_to_slides($attributes, $slide, $slider_id) {
if (!strlen($attributes[‘href’])) {
$attributes[‘href’] = wp_get_attachment_url($slide[‘id’]);
}
return $attributes;
}
add_filter(‘metaslider_flex_slider_anchor_attributes’, ‘metaslider_add_full_url_to_slides’, 10, 3);function metaslider_add_rel_attribute_to_images($attributes, $slide, $slider_id) {
$attributes[‘rel’] = ‘lightbox’;
return $attributes;
}
add_filter(‘metaslider_flex_slider_image_attributes’, ‘metaslider_add_rel_attribute_to_images’, 10, 3);but no link is added to my images. The rel attribute works fine though.
Forum: Plugins
In reply to: [MetaSlider Lightbox] Use with premium themeHi !
I have limited experience in programming but I will try to do it with these filters, according to the documentation.
Thanks !Forum: Plugins
In reply to: [WP Customer Area] Ordering itemsHi,
I had the same issue.
You need to replace the line “$page_slug = ‘customer-files’;” with “$page_slug = ‘customer-private-files’;”.Forum: Plugins
In reply to: [Compare Products for WooCommerce] Fatal error on Product Comparison PageSorry, I cleared the comparison widget, and it solved the problem …
It was a problem with my variations, that I had deleted.