Advertisement
rAthus

[WordPress] Elementor image gallery

Jan 24th, 2022
1,036
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // mettre un widget "Image mise en avant" et un widget "ACF Champ galerie (Images)"
  2. jQuery(document).ready(function($) {
  3.     $('.elementor-widget-theme-post-featured-image').css({'cursor':'pointer'}).on('click',function() {
  4.         $('.elementor-gallery-item:eq(0)').trigger('click')
  5.     });
  6. });
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement