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

Customize Related Item Display Format in Custom Content Types
Copy link
Link copied
  • JetEngine
  • Dynamic Content
  • PHP
Change the display format of related items in Custom Content Type relationships for streamlined presentation in JetEngine.
Add Custom Arrows to Listing Grid Slider
Copy link
Link copied
  • JetEngine
  • Dynamic Content
  • PHP
Replace the default listing grid slider arrows with custom SVG icons to enhance visual design and branding consistency in JetEngine.
Make REST API POST Requests with Custom Headers
Copy link
Link copied
  • JetEngine
  • Dynamic Display
  • PHP
Extend REST API queries to use POST requests instead of GET, set a custom request body, and dynamically update headers for advanced endpoint integration.
Add Custom CSS Class to Listing Grid Item Links
Copy link
Link copied
  • JetEngine
  • PHP
This snippet adds a custom CSS class to listing grid item links, enabling targeted styling and enhanced customization of individual listing items. Perfect for applying specific designs or tracking classes to listing links.
Correct Page Detection to Fix WordPress Listing Warnings
Copy link
Link copied
  • JetEngine
  • Dynamic Content
  • PHP
This snippet resolves warnings caused by improper use of $wp_query->is_page() in WordPress listing loops by ensuring correct page detection for dynamic content. It helps maintain error-free custom listing templates.
Detect and List Orphaned Post Types in WordPress
Copy link
Link copied
  • JetEngine
  • Dynamic Content
  • PHP
This snippet identifies and lists orphaned post types in the WordPress database that are not registered by the Engine plugin. It outputs these potentially unused post types for site cleanup or debugging purposes.
Filter REST API Queries by Created Date in Custom Content Types
Copy link
Link copied
  • JetEngine
  • JetSmartFilters
  • Filters & Search
  • PHP
This snippet extends REST API queries for Custom Content Types (CCTs) by filtering listing results based on created dates using macros processing. It enables dynamic filtering via API when date parameters need parsing before query execution.
Format Checkbox and Multiple Select Field Output
Copy link
Link copied
  • JetEngine
  • JetCompareWishlist
  • Dynamic Content
  • PHP
This snippet customizes output for checkbox and multiple-select fields in JetCompareWishlist by rendering their array values as comma-separated strings using JetEngine’s render function.
Process Shortcodes in Dynamic Table Filter Column Names
Copy link
Link copied
  • JetEngine
  • Dynamic Content
  • Dynamic Display
  • PHP
This snippet enables JetEngine Dynamic Tables to process shortcodes in filter column names, allowing dynamic and customizable filter labels.

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