Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (26 sloc) 1.25 KB
ID post_title author post_date post_excerpt layout permalink published dsq_thread_id mashsb_timestamp mashsb_shares mashsb_jsonshares
161
Grid Archive
Jeremy Englert
2015-02-01 19:50:37 -0800
page
true
3848432144
a:1:{i:0;s:10:"1440715007";}
a:1:{i:0;s:1:"1";}
a:1:{i:0;s:42:"{"total":1,"twitter":1,"facebook_total":0}";}

Using JointsWP, you can easily display your posts in a grid format. The Grid Archive uses Foundation's Equalizer to ensure all posts are the same height, which keeps the grid intact.

In index.php or archive.php find:

[php]<?php get_template_part( 'parts/loop', 'archive' ); ?>[/php]

Change to:

[php]<?php get_template_part( 'parts/loop', 'archive-grid' ); ?>[/php]

Grid Archive Options

It is very easy to adjust the number of columns in the grid. Simply adjust the $grid_columns variable in parts/loop-archive-grid.php to the amount of columns you want to display. Then adjust the grid to your desired settings on line #14.

Grid Archive Demo