Banner Opengraph

Facet-methoden

Facet methods This method allows to initialize facets script. It’s mainly used if you destroy() the instance. Otherwise, there isn’t any reason to init() facets since it’s automatically done by the plugin on load. [pastacode lang=”javascript” manual=”wpgb.facets.init()%3B” message=”” highlight=”” provider=”manual”/] You can destroy facets instance at any time thanks to this method. [pastacode lang=”javascript” manual=”wpgb.facets.destroy()%3B”…

Banner Opengraph

Installatie

Installatie Voordat u de plug-in installeert, moet u deze downloaden van uw account (of van uw aankoopbevestigingsmail). Er zijn twee manieren om de plug-in Gridbuilder ᵂᴾ te installeren. Log in op uw WP-installatie Klik in de beheerpanelen op het menu Plug-ins. Klik onder Plug-ins op het submenu Nieuw toevoegen Klik op Plug-in uploaden en kies ...

Banner Opengraph

Actiekaart wrapper einde

/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 gereset

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

Gebeurtenisfacet geladen

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

Actie 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 toegevoegd

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

Actie geactiveerd

/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”/]