Banner Opengraph

Action card wrapper end

/card/wrapper_end This action is fired after the HTML card wrapper end. It allows to add custom HTML after the card wrapper. Argument Type Description $card array Holds card layout (layers/blocks) definition [pastacode lang=”php” manual=”function%20prefix_card_wrapper_end(%20%24card%20)%20%7B%0A%0A%09%2F%2F%20Output%20your%20HTML%20here.%0A%0A%7D%0A%0Aadd_action(%20’wp_grid_builder%2Fcard%2Fwrapper_end’%2C%20’prefix_card_wrapper_end’%2C%2010%2C%201%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Event Facet reset

Facet reset This event is triggered before facets are reset. Argument Type Description facets array Holds facet slug(s) to reset [pastacode lang=”javascript” manual=”wpgb.facets.on(%20’reset’%2C%20function(%20facets%20)%20%7B%20%0A%09%0A%09console.log(%20’reset’%2C%20facets%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Event Facet loaded

Facet loaded This event is triggered when all facets are rendered. Argument Type Description facets object Holds facet ids and associated HTML properties [pastacode lang=”javascript” manual=”wpgb.facets.on(%20’loaded’%2C%20function(%20facets%20)%20%7B%0A%09%0A%09%09console.log(%20’loaded’%2C%20facets%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Action init

/init This action is fired when the plugin is fully initialized (when all necessary Class are instanciated). [pastacode lang=”php” manual=”function%20prefix_plugin_init()%20%7B%20%0A%0A%09%2F%2F%20Run%20any%20action%20you%20need%20here.%0A%0A%7D%0A%0Aadd_action(%20’wp_grid_builder%2Finit’%2C%20’prefix_plugin_init’%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Event Facet init

Facet init This event is triggered when facets are initialized before to be rendered asynchronously. Facets can be empty at this time if it was not put into cache by the plugin. Argument Type Description facets object Holds facet ids and associated properties [pastacode lang=”javascript” manual=”wpgb.facets.on(%20’init’%2C%20function(%20facets%20)%20%7B%0A%09%0A%09console.log(%20’init’%2C%20facets%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Event Grid added

Grid added This event is triggered after grid items are added and lay out in a grid. Argument Type Description items array Hold grid items [pastacode lang=”javascript” manual=”wpgb.grid.on(%20’added’%2C%20function(%20items%20)%20%7B%0A%09%0A%09console.log(%20’added’%2C%20items%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Event Lightbox dragEnd

Lightbox dragEnd This event is triggered when dragging ends. Argument Type Description event object Original event object [pastacode lang=”javascript” manual=”wpgb.lightbox.on(%20’dragEnd’%2C%20function(%20event%20)%20%7B%0A%09%0A%09console.log(%20’dragEnd’%2C%20event%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Action activated

/activated This action is fired when the plugin is activated. [pastacode lang=”php” manual=”function%20prefix_plugin_activated()%20%7B%20%0A%0A%09%2F%2F%20Run%20any%20action%20you%20need%20here.%0A%0A%7D%0A%0A%0Aadd_action(%20’wp_grid_builder%2Factivated’%2C%20’prefix_plugin_activated’%20)%3B” message=”” highlight=”” provider=”manual”/]

Global Color Schemes Panel

Color Schemes

Color Schemes Gridbuilder ᵂᴾ works with color schemes for cards and facets. Color schemes allows to control main colors in one place for all your cards and facets. It is a great way to easily manage colors globally. You can set color schemes in the Global Settings panel of the plugin. Global Settings – Color…