Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Captions with HTML content
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: Captions with HTML content
#63505
Captions with HTML content 6 Years, 4 Months ago Karma: 0
I have HTML content in my captions, but they're being striped out in data-caption attribute. Is there any way to maintain them?
The administrator has disabled public write access.
 
#63506
Re:Captions with HTML content 6 Years, 4 Months ago Karma: 760
Hello,

Do you use free or PRO version? Is it possible to see the problem anywhere?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#63513
Re:Captions with HTML content 6 Years, 4 Months ago Karma: 0
For now I'm using the free version, but already asked buying department to buy the PRO version, as I need deeplinking and will use the plugin in 3 or 4 websites.

You can see an example in the first picture of elian.ind.br/elian/colecao-alto-verao-2018-2019/lookbook/#beats

The caption below the picture is shown with HTML, but the data-caption in the respective link is stripped of it.

I even tried to replace data-caption content by adding a filter to the_content, but with no success.
The administrator has disabled public write access.
 
#63514
Re:Captions with HTML content 6 Years, 4 Months ago Karma: 760
Open "Advanced" tab on "ARI Fancy Lightbox -> Settings" page and populate "Custom JS code" parameter with the following value:

Code:


setTimeout(function() {
  $('.gallery-item').each(function() { var el = $(this); el.find('.ari-fancybox').data('caption', el.find('.wp-caption-text').html() || ''); });
}, 1);



Regards,
ARI Soft
The administrator has disabled public write access.
 
#63515
Re:Captions with HTML content 6 Years, 4 Months ago Karma: 0
I was trying to avoid JS, but this will do it. Thanks!
The administrator has disabled public write access.
 
Go to topPage: 1