Makes it easy to create grids.
Desktop-grid: gridhelper();
Mobile-grid (Virker ikke): mobile_grid();
gridhelper_custom_content
Has the post as a paramter.
Can be used to add content to .grid__inner
.
gridhelper_before_inner
Has the post as a paramter.
Can be used to add content before .grid__inner
.
Add the following in your functions.php
-file:
global $gridhelper_posttypes;
$gridhelper_posttypes = array(
//'posttype' => 'Shown Name of Post Type'
'post' => 'Post'
);