CodeLab

Enjoy all additional useful tools, codes, snippets and custom solutions in one library

Specify your needs

Plugins
Select
Plugins
Categories
Select
Categories
Types
Select
Types
Programming languages
Select
Programming languages
Builders
Select
Builders
Show all filters Collapse

CodeLab

Enjoy all additional useful tools, codes, snippets and custom solutions in one library

Trigger Popup Open and Close Programmatically
Copy link
Link copied
  • JetPopup
  • Popup
  • JavaScript
This snippet shows how to programmatically open or close popups on your site using JavaScript events, allowing dynamic control over popup visibility based on user actions or form submissions.
Enable Sticky Months in Booking Calendar
Copy link
Link copied
  • JetBooking
  • Booking & Appointments
  • JavaScript
Activates the sticky months feature in JetBooking calendar filters, ensuring the selected month remains fixed during calendar navigation.
Change User Capability Required for JetPopup Access
Copy link
Link copied
  • JetPopup
  • Popup
  • PHP
Modifies the WordPress capability required to access the JetPopup custom post type, allowing you to restrict or grant backend access to specific user roles.
Prevent Calendar Content Translation in Multilingual Sites
Copy link
Link copied
  • JetAppointment
  • GTranslate
  • Booking & Appointments
  • JavaScript
Adds a CSS class to JetAppointment calendars to exclude their content from automatic translation by plugins like GTranslate.
Apply Filters by Pressing Enter Key
Copy link
Link copied
  • JetSmartFilters
  • Filters & Search
  • JavaScript
Automatically triggers filter application in JetSmartFilters when the “Enter” key is pressed during search input.
Convert Date Formats in Form Labels
Copy link
Link copied
  • JetFormBuilder
  • Forms
  • PHP
Automatically convert Unix timestamp or date string labels in Select, Radio, and Checkbox fields to a desired date format.
Set Custom Parameters in Stripe Payment Requests
Copy link
Link copied
  • JetFormBuilder
  • Forms
  • PHP
Customize Stripe payment request body and parameters prior to checkout session creation to extend payment functionalities.
Open Switcher State Based on URL Parameter
Copy link
Link copied
  • JetTabs
  • Navigation & Mega Menu
  • JavaScript
Programmatically opens a specific JetTabs switcher state based on URL parameters, optionally scrolling to the switcher.
Apply All Paginations Simultaneously
Copy link
Link copied
  • JetSmartFilters
  • Filters & Search
  • JavaScript
Enables the simultaneous application of all pagination controls in JetSmartFilters, synchronizing pagination behavior across multiple filter instances.

Let’s build together

Have your own solution?

Came up with a great solution and want to show it to the Crocoblock community?

Request a new feature

Leave a feature request through GitHub, and our developers will consider it