marcin32167
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Swiper] Type of pagination – fractionHi, Plugin Author! Of course, it is possible. Here is the code that changes the global pagination from bullets to fractions to all gutenberg block in all pages.
add_action('wp_enqueue_scripts', function() {
add_action('wp_footer', function() {
?>
<script>
document.addEventListener('DOMContentLoaded', function() {
if (typeof Swiper !== 'undefined') {
const originalSwiper = Swiper;
window.Swiper = function (container, params) {
if (!params) params = {};
if (!params.pagination) params.pagination = {};
params.pagination.type = 'fraction';
params.pagination.el = params.pagination.el || container.querySelector('.swiper-pagination');
return new originalSwiper(container, params);
};
Object.assign(window.Swiper, originalSwiper);
}
});
</script>
<?php
});
});- This reply was modified 1 year, 1 month ago by marcin32167.
Forum: Plugins
In reply to: [WP Swiper] Type of pagination – fractionhi, again. I dont get any respons. Problem is still here? Let me ask you again how can i change it globaly?
Forum: Plugins
In reply to: [WP Swiper] Type of pagination – fractioni need i think maybe some code script change in all Pages where is added WP swiper block from bulkets to fractions
Forum: Plugins
In reply to: [WP Swiper] Type of pagination – fractionyes on that link sure but check the other one collections and there are still show bullets
Forum: Plugins
In reply to: [WP Swiper] Type of pagination – fractionhi, could you show me where?
because i need to change it in all WP swiper widgets on all Pages globaly
Forum: Plugins
In reply to: [WP Swiper] Problem with select slides and add caption text.Thank you for quickly answer. My mistake i wasn’t clear cache in browser. Before downgrade version. It’s looks it fine 🙂
Forum: Plugins
In reply to: [Booking Calendar] Input select with text: Yes / No – problemI use Booking Calendar Business Large single site version. I sent a message to the contact you provided. https://wpbookingcalendar.com/contact/
I have some clients who use your plugin and they are having trouble editing their site. This is a critical component error. When you fix it, I need specific information.