ORA

COP28 Should Be Actionable

The polycrisis no longer need stories, it needs urgent actions that can mitigate the increasing climate crisis the world is facing.

window.addEventListener('elementor/frontend/init', () => { elementorFrontend.hooks.addAction('frontend/element_ready/global', function () { const items = document.querySelectorAll('.swiper.elementor-loop-container .swiper-slide:not(.swiper-slide-duplicate)'); if (items.length <= 2) { document.querySelectorAll('.swiper.elementor-loop-container').forEach((carousel) => { if (carousel.swiper) { const swiper = carousel.swiper; // Destroy the current looped Swiper instance swiper.destroy(true, true); // Re-initialize without loop new Swiper(carousel, { loop: false, slidesPerView: swiper.params.slidesPerView || 1, spaceBetween: swiper.params.spaceBetween || 10, navigation: swiper.params.navigation || {}, pagination: swiper.params.pagination || {}, breakpoints: swiper.params.breakpoints || {} }); } }); } }); }); jQuery( window ).on( 'elementor/frontend/init', function() { elementorFrontend.hooks.addAction( 'frontend/element_ready/loop-carousel.default', function( scope ) { var $message = scope.find( '.e-loop-nothing-found-message' ), $slides = scope.find( '.swiper-slide' ); if ( $slides.length === 0 ) { $message.show(); // or .fadeIn(), .addClass('active'), etc. } else { $message.hide(); // ensure it’s hidden when slides exist } } ); });