403Webshell
Server IP : 87.98.154.146  /  Your IP : 216.73.216.165
Web Server : Apache
System : Linux webm004.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : ohklomafyi ( 52085)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/ohklomafyi/www/wp-content/plugins/portfolio-elementor/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ohklomafyi/www/wp-content/plugins/portfolio-elementor/assets/js/custom-portfolio-gutenberg.js
var $grid, $packery;

function startPowerfolioForGutenberg() {
  // Isotope Layout
  $grid = jQuery(".elpt-portfolio-content-isotope").isotope({
    layoutMode: "masonry",
    itemSelector: ".portfolio-item-wrapper",
  });

  $grid.isotope("layout");

  // Packery Layout
  $packery = jQuery(".elpt-portfolio-content-packery").isotope({
    layoutMode: "packery",
    itemSelector: ".portfolio-item-wrapper",
  });

  $packery.isotope("layout");
}

// Use event delegation for click event on '.elpt-portfolio-filter'
jQuery(document).on("click", ".elpt-portfolio-filter button", function () {
  jQuery(".elpt-portfolio-filter button").removeClass("item-active");
  jQuery(this).addClass("item-active");
  var filterValue = jQuery(this).attr("data-filter");
  $grid.isotope({
    filter: filterValue,
  });
  $packery.isotope({
    filter: filterValue,
  });
});

// Call startPowerfolioForGutenberg when the block is rendered
wp.domReady(function () {
  startPowerfolioForGutenberg();

  // Call the function periodically to ensure it's applied to any newly added blocks
  setInterval(function () {
    startPowerfolioForGutenberg();
  }, 1000);
});

Youez - 2016 - github.com/yon3zu
LinuXploit