Add your Eventbrite Embedded Checkout code to a page or post on your WordPress.org website.
Before you begin:
- Generate and copy your Eventbrite Embedded Checkout code.
- Make sure you can edit the relevant WordPress page or post and add custom HTML.
WordPress editors, permissions, themes, and plugins vary. If you cannot add custom HTML, contact your website administrator or developer.
Add Embedded Checkout using the Block Editor
- Sign in to your WordPress.org dashboard.
- Select Pages or Posts.
- Open the page or post where you want Embedded Checkout to appear.
- Select the + icon to add a new block.
- Search for and select Custom HTML.
- Paste your Eventbrite embed code into the block without editing it.
- Move the block to the location where you want Embedded Checkout to appear.
- Select Preview to check the page.
- Select Update or Publish.
- Open the published page and test Embedded Checkout.
For complete testing instructions, see Using Embedded Checkout to sell tickets on your website.
Add Embedded Checkout using the Classic Editor
If your website uses the WordPress Classic Editor:
- Open the page or post where you want Embedded Checkout to appear.
- Select the Text tab to open the HTML editor.
- Find the location where you want Embedded Checkout to appear.
- Paste your Eventbrite embed code without editing it.
- Select Preview Changes to check the page.
- Select Update or Publish.
- Open the published page and test Embedded Checkout.
Troubleshoot WordPress display issues
The embed code appears as text
Make sure you added the code using a Custom HTML block. Do not add it using a Paragraph or Code block.
If you use the Classic Editor, make sure you paste the code under the Text tab rather than the Visual tab.
The embed code disappears or changes
WordPress permissions, security plugins, or editor settings may remove or modify HTML and JavaScript when you save the page.
Copy the original code from Eventbrite and paste it again without editing it. If WordPress continues to remove or change the code, ask your website administrator or developer to review your site’s permissions, plugins, and editor settings.
WordPress adds formatting to the code
WordPress may add paragraph or line-break tags around the embed code, preventing Embedded Checkout from displaying correctly.
Check the HTML for additional paragraph or line-break tags. Remove the additional formatting, or paste a new copy of the original Eventbrite code into a Custom HTML block.
Embedded Checkout appears, but does not work correctly
If Embedded Checkout is unavailable, redirects attendees to Eventbrite, displays the wrong event, or does not work in a specific browser, see "Troubleshoot common Embedded Checkout issues."
Note: You do not need to disable the WordPress Block Editor to add Embedded Checkout. Avoid changing sitewide WordPress settings unless your website administrator or developer confirms that the change is appropriate.