• Resolved dgonzalesswwines

    (@dgonzalesswwines)


    Hello, I’m looking to find out if it is possible to use this plugin to post the 3 different menus on my one website. Each location has a sub page on my site and I figured out how to use the plugin to post 1 menu in the /menu page and how to insert a shortlink to post to other pages, but I’d like to be able to post a different menu to each page /lascruces, /albuquerque, /farmington since each location has a slightly different menu. I already have it all setup in single platform online, just need to integrate to my pages (all on same domain and wordpress site).

    I tried using the iFrame and it didn’t seem to work either. Maybe I’m doing something wrong?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor crussellwalker

    (@crussellwalker)

    Hi,
    I’m the author of the plugin.
    I assume you’re asking for a feature that we’re potentially going to add soon – also asked about here:
    https://www.ads-software.com/support/topic/shortcode-functions/

    However, to clarify maybe you could add the links to your site’s pages to get a better understanding of what you’re asking.

    Thanks!

    Thread Starter dgonzalesswwines

    (@dgonzalesswwines)

    Hi,
    thanks for responding. for now I’m using the iFrame functionality to show my menus until I potentially find out how to use the plugin.

    I have 3 locations. Each location has dinner, lunch, wine list, etc. I don’t want to show just “dinner” on a specific page or anything like that. I just want to be able to show my Las Cruces Location on my Las Cruces page and same for the other 2 locations.

    I hope this makes sense.

    Here are my listings with the iFrames added in:
    https://www.stclairwinery.com/las-cruces
    https://www.stclairwinery.com/farmington
    https://www.stclairwinery.com/albuquerque

    Plugin Contributor crussellwalker

    (@crussellwalker)

    Okay, this may help clarify things a bit – the WordPress plugin is really just an easier version of using the iFrame solution as can be seen here in the source code:
    https://plugins.trac.www.ads-software.com/browser/singleplatform/trunk/singleplatform.php#L67

    So in short the plugin puts a div on the page (where you’ve used the shortcode) and also adds the Javascript so that the iFrame displays.

    Does that make sense?

    If you’ve got the ability and know-how to use the iFrame widget I’d suggest just using that.

    Maybe the comment (and thread) here will help clarify things as well:https://www.ads-software.com/support/topic/location-of-menu-on-the-site/#post-8831937

    Sorry if any of this is confusing but hopefully we can get you sorted with what you’d like to display!

    Chris

    Plugin Contributor crussellwalker

    (@crussellwalker)

    Hi, Since I’m an employee of SinglePlatform I was able to investigate a little bit more and think I understand a little better now.

    It seems like you have three “child” locations under a “parent” business.
    Meaning they’d each have their own specific ID as follows:
    st-clair-winery–bistro (Albuquerque)
    st-clair-winery–bistro-0 (Las Cruces)
    st-clair-winery–bistro-1 (Farmington)

    Currently our WordPress plugin only supports one of these location IDs at a time.
    It looks as though you correctly have the iFrame’s integrated however.
    You’re correctly passing that ID into the JavaScript for each page like this already:
    new BusinessView("st-clair-winery--bistro-0", "menusContainer", options);

    So it looks as though you’re using the more customizable solution correctly already so going to close this thread but please don’t hesitate to reach out to us again for any other questions/clarifications – thanks!

    Thread Starter dgonzalesswwines

    (@dgonzalesswwines)

    Excellent, thank you Chris. Your tech team helped by getting the iframes working properly, so kudos to them! Thanks for the reply, glad to know how it works and that we’re doing it right.

    Thanks again!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multiple menus and locations – differing menus’ is closed to new replies.