Hi Ben,
So the *original* intention of this plugin had been for people/breweries to display and organize beers that they themselves had created, which is why “brewery” is not currently an option. I added the “groups” functionality to circumvent that a bit, since people seem to be using it for other things.
Because of that, I don’t have any intention of ever adding a “brewery” option. However I am planning an updated release of the plugin, eventually, which will offer custom fields options. It will allow for more information to be stored about a beer (like OG, FG, SRM) or for customized data. So in your case, you could use this to add “brewery” if you wished.
Since I do work full time and this is a side project, I can’t give an exact estimate on when this update will be out, but it will *hopefully* be within the next few months.
In the meantime – for your styling/display issues:
The beer’s widget title should be targetable via CSS with li.embm-beer-list-item a
and the information below should be targetable with li.embm-beer-list-item .embm-beer-summary
. If those aren’t working, you may want to throw some !important
tags onto the style overrides you’re trying to make.
As a temporary hack for displaying the brewery – my recommendation would be to make each brewery/creator a group, then tag the beers appropriately. Then you can make a quick edit to the widget PHP file in plugins/em-beer-manager/includes/components/widget-beer-list.php
. If you go to line 204 in the file, add 2 new lines and copy/paste this code:
$group = wp_get_object_terms($post->ID, 'embm_group');
$output .= '<span class="embm-beer-group">'.$group[0]->name.'</span>'."\n";
That will add the beer’s group name just below the beer’s name – then you can style it with the .embm-beer-group
class.
I hope that’s helpful and I’m glad you like the plugin!