Banner Opengraph

Event Lightbox dragStart

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

Banner Opengraph

Algemeen

General FAQ Gridbuilder ᵂᴾ is a WordPress plugin which allows to query WordPress content (post types, users or taxonomy terms), to layout it in a grid or carousel and to filter it by WordPress fields (title, date, etc..), custom fields or taxonom terms. Gridbuilder ᵂᴾ is accessible to all WordPress users and to developers. The…

Banner Opengraph

Actie bijgewerkt

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

Banner Opengraph

Filter kaartanimaties

/card/animations This filter allows to add custom animations to reveal cards in a grid. Argument Type Description $animations array Holds registered card animations [pastacode lang=”php” manual=”function%20prefix_register_card_animations(%20%24animations%20)%20%7B%0A%0A%09%2F%2F%20’my_animation’%20corresponds%20to%20the%20animation%20slug.%20%0A%09%24animations%5B’my_animation’%5D%20%3D%20%5B%20%0A%09%09’name’%20%3D%3E%20__(%20’My%20Animation’%2C%20’text-domain’%20)%2C%0A%09%09’visible’%20%3D%3E%20%5B%20%0A%09%09%09’transform’%20%3D%3E%20’perspective(2000px)%20translateY(0)%20rotateY(0)%20scale(1)’%2C%0A%09%09%09’opacity’%20%3D%3E%201%2C%20%0A%09%09%5D%2C%0A%09%09’hidden’%20%3D%3E%20%5B%20’transform-origin’%20%3D%3E%20’50%25%2050%25’%2C%0A%09%09’transform’%20%3D%3E%20’perspective(2000px)%20translateY(-200px)%20rotateY(-360deg)%20scale(0.8)’%2C%20%0A%09%09’opacity’%20%3D%3E%200%2C%20%0A%09%09%5D%2C%20%0A%09%5D%3B%20%0A%0A%09return%20%24animations%3B%0A%0A%7D%0A%0Aadd_filter(%20’wp_grid_builder%2Fcard%2Fanimations’%2C%20’prefix_register_card_animations’%2C%2010%2C%201%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Filter argumenten voor rasterquery's

/grid/query_args This filter is called before the grid query is ran to fetch posts, terms or users. It allows to dynamically change the query args of WP_Query , WP_Term_Query or WP_User_Query Argument Type Description $query_args array Holds query arguments $grid_id integer Grid id [pastacode lang=”php” manual=”function%20prefix_query_args(%20%24query_args%2C%20%24grid_id%20)%20%7B%0A%0A%09%2F%2F%20If%20it%20matches%20grid%20id%201%2C%20we%20exclude%20post%20IDs%201%2C2%2C3%2C4.%20%0A%09if%20(%201%20%3D%3D%3D%20%24grid_id%20)%20%7B%20%24query_args%5B’post__not_in’%5D%20%3D%20%5B%201%2C%202%2C%203%2C%204%20%5D%3B%0A%0A%09%7D%0A%0A%09return%20%24query_args%3B%0A%0A%7D%0A%0Aadd_filter(%20’wp_grid_builder%2Fgrid%2Fquery_args’%2C%20’prefix_query_args’%2C%2010%2C%202%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

JS-evenementen

JS Events JS Events are triggered every time change occurs. It can be triggered by an user interaction or reflects a programmatically change. Events are emitted in certain order as described in this documentation. Events can be catched directly in your grid settings or in your own JS script. All Event examples presented in this…

Banner Opengraph

Actie geladen

/loaded This action is fired when the plugin is loaded and instantiated before to be initialized. [pastacode lang=”php” manual=”function%20prefix_plugin_loaded()%20%7B%0A%09%0A%09%2F%2F%20Run%20any%20action%20you%20need%20here.%0A%09%0A%7D%0A%0Aadd_action(%20’wp_grid_builder%2Floaded’%2C%20’prefix_plugin_loaded’%20)%3B” message=”” highlight=”” provider=”manual”/]