Title: Help needed adding booking code to elementor button
Last modified: June 16, 2025

---

# Help needed adding booking code to elementor button

 *  Resolved [piranhaost](https://wordpress.org/support/users/piranhaost/)
 * (@piranhaost)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/help-needed-adding-booking-code-to-elementor-button/)
 * I’m a webdesigner and received the folIowing code from restauranttowner
 *     ```wp-block-code
       <!-- Zenchef Widget SDK --><script>;(function (d, s, id) {const el = d.getElementsByTagName(s)[0]; if (d.getElementById(id) || el.parentNode == null) {return;} var js = d.createElement(s);  js.id = id; js.async = true; js.src = 'https://sdk.zenchef.com/v1/sdk.min.js';  el.parentNode.insertBefore(js, el); })(document, 'script', 'zenchef-sdk')</script><divclass="zc-widget-config"data-restaurant="367219"data-open=""></div>" I want to integrate this code to an button so people can book for this event. I already installed the wordpress plugin and added restaurant ID 367219 which I could retrieve from the code. Can somebody tell me how I can link this code to a button in wordpress using elementor?
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhelp-needed-adding-booking-code-to-elementor-button%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Help needed adding booking code to elementor button’ is closed to new
replies.

 * ![](https://ps.w.org/zenchef-widget-integration/assets/icon-256x256.png?rev=3126438)
 * [Zenchef widget integration](https://wordpress.org/plugins/zenchef-widget-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zenchef-widget-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zenchef-widget-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/zenchef-widget-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zenchef-widget-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zenchef-widget-integration/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [piranhaost](https://wordpress.org/support/users/piranhaost/)
 * Last activity: [11 months, 3 weeks ago](https://wordpress.org/support/topic/help-needed-adding-booking-code-to-elementor-button/)
 * Status: resolved