Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
/** Disable the All filter and display only one image per filter in JKit Gallery widget */ (function ($) { const wrapper = $('.jeg-elementor-kit.jkit-gallery'), grid = wrapper.find('.gallery-items'), filter = wrapper.find('.jkit-gallery-control'), filter_label = wrapper.find('#search-filter-trigger span'), items = grid.find('.gallery-item-wrap:not(:first-child)'); items.each(function () { this.style.display = 'none'; }); filter[0].remove(); filter_label.text(filter[1].textContent); filter.each(function () { $(this).on('click', function () { const target = $($(this).attr('data-filter')), target_height = target.css('height'); target.css('display', ''); grid.css('height', target_height); }); }); })(jQuery);
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)