Banner Opengraph

Functie render facet

wpgb_render_facet This function allows to render a facet by passing as argument its id and the grid id to filter. Argument Type Description id integer Facet id grid integer|string Grid id or template id/name to filter [pastacode lang=”php” manual=”%2F%2F%20Render%20facet%20id%201%20to%20filter%20grid%20id%202.%0Awpgb_render_facet(%0A%09%5B%20%0A%0A%09%09’id’%20%3D%3E%201%2C%20%2F%2F%20Facet%20id.%0A%09%09’grid’%20%3D%3E%202%2C%20%2F%2F%20Grid%20or%20template%20id.%20%0A%09%5D%0A)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

functie render raster

wpgb_render_grid This function allows to render a grid by passing as argument its id. Argument Type Description $grid_id|$args integer|array Grid id | Grid arguments [pastacode lang=”php” manual=”%2F%2F%20Render%20grid%20id%201.%0Awpgb_render_grid(%201%20)%3B” message=”” highlight=”” provider=”manual”/] This function can also replace the main loop of the archive.php, index.php or search.php files. In this case you need to pass as argument an array to define the grid…