Change the recipe gallery thumbnail columns

Recipe Hero 1.0 introduced a cool new feature – recipe galleries.

Screen Shot 2014-12-06 at 11.37.32 am

By default there will be 5 ‘columns’ of thumbnails below the main image. You can have more than 5, but there will only ever be 5 in a row.

However, there’s a bit of code you can add to your theme’s functions.php file that makes it possible to change the number per row:

Just change the 3 above to however many columns you’d like!

Screen Shot 2014-12-06 at 11.45.49 am

All the above code snippets need to be added to either your theme’s functions.php file or through a custom PHP plugin like Functionality. Make sure to remove the opening tag if need be.