I have spent a while here in the forums looking for a solution but been unable to find one. On our homepage I need to bring X-amount of images that are chosen randomly and show them in a grid-like view. I was testing the items-shortcode which does exactly what we need but only the output is “wrong”. We are using the Thanks Roy-theme.
My question is: as it seems, the shortcode is defined in the theme’s functions.php and the actual content is called through Omeka_View_Helper_Shortcodes::shortcodeItems($args, $view); which is at /application/views/helpers/Shortcodes.php. There it loops the content X-amount of times calling the $view->partial(‘items/single.php’, array(‘item’ => $item)) . single.php is located on the theme folder.
Should I modify the single.php to show the images or should I write a custom shortcode or is there an easier approach to my dilemma?
I have tried the carousel which does the trick but the owner wants a grid-view of images instead of carousel.
Thank you already in advance!