This code makes it so you can have column sorting in GridBuilder results: The script lives here – https://westmontengineering.com/wp-admin/admin.php?page=wpgb-grid-settings&id=2&tab=customization
GridBuilder
GridBuilder Facets Not Working? Try This!
https://facetwp.com/help-center/using-facetwp-with/wp-engine/ https://searchwp.com/v3/docs/kb/attention-wp-engine-customers-no-results-long-query-killed-query-notices/ define( ‘WPE_GOVERNOR’, false ); in wp-config, does this still work
GridBuilder Create Table Cards
To create “columns”, you need to inline blocks and set a width on them. For that, you need to edit your blocks, and set under Appearance panel, Position > Display > Inline-block. And, you need to set Sizing > Width > 33%. .wpgb-grid-2 .wpgb-card:nth-child(2n) .wpgb-card-body { background-color: #80808029; border-top: 2px solid; border-bottom: […]
GridBuilder Custom Sorting of Facets
To create custom term order, you need to select as Facet Order > Term Order in the facet settings. This is an hidden feature of WordPress. So, to order terms in WordPress, you need to use a plugin like this one: https://wordpress.org/plugins/custom-taxonomy-order-ne/ Once you have ordered your terms, you need to re-index the facet.
Create and Use Custom Post Fields in GridBuilder
Autoplay GridBuilder Videos
To autoplay a Vimeo video, you can add this JavaScript code in your grid settings: wpgb.lightbox.on( ‘update’, function() { this.source += ‘?muted=1&autoplay=1’; } );
