Hello,
if anyone is intreseted to add RTL support … follow this steps please:
1.go to the wp-content/plugins/responsive-posts-carousel/assets/custom.js
2. add this lines at the begining
var elem = document.getElementsByTagName('body');
if (window.getComputedStyle) { // all browsers
cs = window.getComputedStyle(elem[0], null).getPropertyValue('direction');
}
else {
cs = elem.currentStyle.direction; // IE5-8
}
var rtlStatus = false;
if (cs == "rtl")
{
rtlStatus = true;
}
3. in the same file after this line
rows: $(this).data('rows'),
add
rtl:rtlStatus,
Hi, Thanks for sharing.
We will add an option in settings to set the carousel in RTL mode in next version soon.
Regards