Hi @rudtek2,
I noticed with this plugin the height is cut off, for really long Leafly menus. Does your implementation resolve this? If so, can you please share how you achieved this!
Best Regards,
Mark
Hey Mark,
I used a different method than this plugin. And I don’t have any height restrictions or errors showing up.
If you know programming, and depending on your implementation. Here is the code section you would need:
$shopmenu='
<h2>'.get_the_title().' Menu</h2><hr class="hrshort" />
<div id="leafly-menu"></div>
<div style="text-align: center;">Visit our profile on <a href="https://www.leafly.com/dispensary-info/'.get_field('store_leafly_id').'">Leafly</a></div>
<script src="https://www.leafly.com/public/global/js/dispensarymanager/embed.js"></script>
<script>// <![CDATA[
var pymParent = pym.Parent("leafly-menu", "https://www.leafly.com/embed/menu2/'.get_field('store_leafly_id').'", {});
// ]]></script>';
If you need help with implementation, or a shortcode, let me know, but the above code is based on custom field. Hope it helps!
-
This reply was modified 9 years, 3 months ago by
James Huff.
-
This reply was modified 9 years, 3 months ago by
rudtek2. Reason: add'l information