Hi zman8,
I’m so sorry. I definitely typed a response to you days ago to tell you it was going to take a bit longer since it’s actually a more involved solution than I initially thought, but apparently I didn’t submit what I typed…
Anyway, I have a solution for you now. As I mentioned above, the solution is a bit more complicated than I initially thought. You’re actually going to need to use a bit of PHP rather than CSS to get the result you’re looking for.
First, you’ll want to install Code Snippets which is a plugin that allows you to easily add bits of PHP to your WordPress site. Once that’s installed, you’ll add a snippet with the following code:
function dg_gallery_template($gallery, $use_descriptions) {
if ( ! $use_descriptions ) {
$gallery = '<table id="%id%" class="%class%" %data%>%rows%</table>';
}
return $gallery;
}
add_filter( 'dg_gallery_template', 'dg_gallery_template', 10, 2 );
function dg_row_template($row, $use_descriptions) {
if ( ! $use_descriptions ) {
$row = '<tr class="%class%">%icons%</tr>';
}
return $row;
}
add_filter( 'dg_row_template', 'dg_row_template', 10, 2 );
function dg_icon_template($icon, $use_descriptions, $id) {
if ( ! $use_descriptions ) {
$icon = '<td>%date%</td><td><a href="%link%" target="%target%"><span class="title">%title%</title></td>';
}
return $icon;
}
add_filter( 'dg_icon_template', 'dg_icon_template', 10, 3 );
Once this is done, your galleries should all be in tabular format. Be sure when you create your galleries you only have 1 column in order to match the output you’re looking for and ensure that descriptions are not enabled.
-Dan