• if your leafy username has three dashes in it, which mine does, the plugin converts the “—” to a “—”. which means it doesn’t find my store.

    additionally…Leafly has a better implementation code that auto calculates height. I’ve switched to the new code and it works much better! if you want help or assistance, let me know.

    • This topic was modified 8 years, 6 months ago by rudtek2.
Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    Thread Starter rudtek2

    (@rudtek2)

    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 8 years, 1 month ago by James Huff.
    • This reply was modified 8 years, 1 month ago by rudtek2. Reason: add'l information
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘little bug to report’ is closed to new replies.