ialoc Widget Embed

By ialoc

100+ active installationsVersion 1.3

Easily embed the ialoc restaurant reservation widget in your WordPress website.

Description

The ialoc Widget Embed plugin allows you to easily integrate the ialoc restaurant reservation system into your WordPress website. It supports both popup and inline embedding modes, with configurable options for language and callback functions.

Features:

  • Two embedding modes: popup (recommended) or inline
  • Language selection (Romanian/English)
  • Custom JavaScript callback support
  • Flexible post-reservation actions:
    • Redirect to thank you page
    • Execute custom JavaScript (tracking, analytics, etc.)
  • Easy configuration through WordPress admin panel

External Services

This plugin loads the ialoc widget script from https://widget.ialoc.ro/embed.js. The widget connects to the ialoc.ro API to provide restaurant reservation functionality. The service is required for the widget to function.

Data transmitted:
* Restaurant venue ID
* User’s reservation details (only when a reservation is made)
* Language preference

This service is provided by ialoc:
* Terms of Service: https://ialoc.ro/terms
* Privacy Policy: https://ialoc.ro/privacy

Installation

  1. Upload the ialoc-widget-embed folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings > ialoc Widget to configure your settings
  4. Enter your ialoc ID and preferred settings

For popup mode:
* Add a link to your ialoc restaurant profile, or
* Add a link to: /?venueId=YOUR_IALOC_ID&bookNow=true

For inline mode:
* Add <div id="ialocWidgetContainer"></div> where you want the widget to appear

FAQ

Which embedding mode should I choose?

We recommend using the popup mode as it provides the best user experience and requires minimal setup. The inline mode is available for cases where you want to embed the reservation form directly in your page content.

How do I get my ialoc ID?

Your ialoc ID can be found in your ialoc restaurant dashboard. If you don’t have one, please visit ialoc.ro to register your restaurant.

Changelog

1.3

  • Fixed: functions in Extra Configurations (for example onWidgetReady or callback) now run. Before, the widget got them as text and ignored them.
  • Fixed: a double quote or nested braces in a function no longer drops all Extra Configurations.
  • Removed an inline-mode default that had no effect.

1.2

  • Load the widget from its new address, https://widget.ialoc.ro/embed.js. Your guests get the new ialoc reservation widget.

1.1

  • Added flexible post-reservation action settings
  • Support for redirect to thank you page
  • Support for custom JavaScript execution (tracking, analytics, etc.)
  • Fixed callback function implementation
  • Enhanced admin interface with dynamic field visibility

1.0

  • Initial release.