Erin Morelli
Forum Replies Created
-
Forum: Plugins
In reply to: [EM Beer Manager] offset & beers_per_page for MenusHi lostcabinbeer!
There’s currently no built-in option for handling offset and beers_per_page with the beer_menu shortcode. I’m adding a number of additional options to that shortcode in the next release, but I don’t have an ETA on that quite yet. In the meantime there are a few, unfortunately not great workarounds you could try.
The first would be to edit the PHP code to limit the number of beers returned per section. This would affect all of the instances of
beer_menuthat you use, so that might not be ideal.The second would be to use CSS to hide all of the beers in the menu list that you don’t want to show. Which, while not perfect, may be the better option. If you put the menu inside a div with an ID set, you can do something like this:
#YOUR-ID .embm-beer-menu--section > div:nth-of-child(1n+4) { display: none; }Replace the number 4 in the “1n+4” formula with whatever number of beers you want to show plus one (e.g. if you want to show 1, use 2, or 3 use 4, etc.)
Hopefully one of these works!
/Erin- This reply was modified 7 years, 11 months ago by Erin Morelli.
Forum: Plugins
In reply to: [EM Beer Manager] Untappd required for Menus?Hi bigburrito,
Currently yes, the only way to use the menu functionality is in conjunction with Untappd as the menus pull data from the API. I’m working on adding an option to remove that requirement in a future update. In the mean time you can link a regular (free) Untappd account with the plugin to use the menus feature but still hide any Untappd integration features you don’t want to use in the settings.
Thanks!
/ErinForum: Plugins
In reply to: [EM Beer Manager] Buddypress IntegrationHi!
I’m not all that familiar with BuddyPress, but I don’t see why EM Beer Manager wouldn’t be able to be used for this kind of feature. Did you run into an issue while trying to set it up?
Thanks!
/ErinForum: Plugins
In reply to: [EM Beer Manager] Error in Untappd box and disapearing Beer InfoHi!
It sounds like there may have been an issue with a database migration when the plugin was upgraded from version 3.1 to version 3.2. The easiest way to tell, would be to downgrade your EM Beer Manager to version 3.1.0, which is something you’d have to do manually unfortunately. Here’s how:
- Visit this page: https://ww.wp.xz.cn/plugins/em-beer-manager/advanced/ and scroll down, you’ll see the “Previous Versions” dropdown. Select 3.1.0 and download the ZIP file.
- Go into your WordPress installation’s files to wp-content/plugins. Find the ’em-beer-manager’ folder and delete it.
- Unzip the 3.1.0 ZIP file from step #1 and place the new ’em-beer-manager’ folder from that into the wp-content/plugins folder.
- Visit your WordPress admin page in a browser and make sure EM Beer Manager is activated under the “Plugins” page. Also check that the version shown is 3.1.0
Let me know once you’ve done this is you can see all of your beer data again (ABV, IBU, etc.) and we can figure out what to do next!
Thanks!
/ErinForum: Plugins
In reply to: [EM Beer Manager] Is it possible to have each beer show its post date?Hello!
Displaying the post date is something that is related to the template and theme you’re using. If the template your theme is using doesn’t show the post date, you can add it by editing the template’s PHP file and using the
the_datefunction (more info here: https://codex.ww.wp.xz.cn/Function_Reference/the_date)Example:
<?php the_date(); ?>EM Beer Manager doesn’t have it’s own templates, it uses whatever your theme’s default template is. If you want to make a new version of the default template that ONLY EM Beer Manager uses, you can do the following:
- Make a copy of your theme’s default template PHP file (usually called index.php)
- Re-name it
single-embm-beer.php - Edit the new file to add
the_datefunction where you want it to display - In the WP admin, refresh your permalinks under Settings > Permalinks
Hope that helps!
/ErinForum: Plugins
In reply to: [EM Beer Manager] how to list groups on one pageHello!
There’s currently no way to do this through the WP admin, but I will definitely add it to my “future features” list to add a shortcode with this capability.
In the mean time, if you’re able to edit the PHP template of your page, you can get a list of all of the groups using the
get_the_term_listWP function (more info here: https://codex.ww.wp.xz.cn/Function_Reference/get_the_term_list)Example:
<?php echo get_the_term_list( $post->ID, 'embm-group', '<ul class="my-groups"><li>', ',</li><li>', '</li></ul>' ); ?>Would output an HTML list of your groups.
Hope that helps!
/ErinForum: Plugins
In reply to: [EM Beer Manager] Image Link to Beer DetailsHi graphiclux,
This feature was added in version 3.1.0 which is being released today! Let me know if you run into any issues.
Thanks!
/ErinForum: Plugins
In reply to: [EM Beer Manager] style error dysplayHi matibrasili,
Apologies for the delay in getting back to you! I looked into the issue that you were having and it turned out to be a bug in the plugin’s code. I just pushed out a new version, v3.1.0, that should fix your problem. Please let me know if does not!
Thanks!
/ErinForum: Plugins
In reply to: [EM Beer Manager] style error dysplayHi matibrasili,
What theme are you using? It looks like one of the theme’s title filters is conflicting with the plugin’s title filter.
/Erin
Forum: Plugins
In reply to: [EM Beer Manager] Says I am not a brewery?Hi charliwest,
So sorry to hear you’re having problems with the plugin and thank you for reporting the issue. It seems to be being caused by an Untappd API update that conflicts with how the plugin authenticates accounts. I’m working on a fix now and should have an update pushed out with in the next day or so. I’ll update you when it’s available.
Thanks!
/ErinForum: Plugins
In reply to: [EM Beer Manager] Image Link to Beer DetailsHi graphiclux,
Sorry for the delay in getting back to you. If you haven’t already found it, you can add the link in
includes/output/embm-output-filters.php, lines 145-149. You should be able to add the tag right after the opening <div> there.Hope that helps!
/ErinForum: Plugins
In reply to: [EM Beer Manager] Large FontsHi springergraphicdesign,
This is something you can do in your site’s CSS file or in a separate file that you can specify under Settings > EM Beer Manager > Custom Stylesheet (URL).
The CSS selector you’ll want to target is
.embm-beer--headerand then change thefont-sizeattribute to something more readable.Hope that helps!
/ErinForum: Plugins
In reply to: [EM Beer Manager] Image Link to Beer DetailsHi graphiclux,
Unfortunately, that is not currently an option, but it’s something I had not considered adding before. I’ve put it to the list of new features to implement in the next release – so be on the look out for that! Thanks for the idea 🙂
/Erin
Forum: Plugins
In reply to: [EM Beer Manager] Beer OrderHi graphiclux,
Yes, you can specify an order using the
orderby="ID"option in your shortcode. Here’s a list of all the available fields that you can sort by:http://codex.ww.wp.xz.cn/Class_Reference/WP_Query#Order_.26_Orderby_Parameters
Hope that helps!
/ErinForum: Plugins
In reply to: [EM Beer Manager] Accessing Untappd Checkin FeedOh good – glad to hear it! I do like the idea of simplifying things to allow for just using the Untappd IDs though, I’m going to add that to my list of to-do’s for the plugin 🙂