There are a number of different ways to add the widget to a WordPress website.
If you are a developer with access you can follow the instructions below, but instead manually make changes to the theme where approriate.The following example is designed for users with little to no experience with code, but a basic understanding of WordPress. If you are unsure about WordPress concepts such as plugins, please contact whomever developed your site and ask for advice.
The first step we need to do is to add some custom scripts which will load all the code for the widget. In order to do this without making changes to the code or theme we will install a plugin to help us.
Before installing new plugins to your WordPress website it is recommended that you back up your site! Not sure how to do this? Please check with whomever is responsible for maintaing / hosting your site.
In the plugins section of WordPress search for ‘Simple Custom CSS and JS’. When you find it the details page should look like this:
Go ahead, install and activate this plugin. Once installed navigate to the settings page and here we are going to add our code.Select the button that says ‘Add Html Code’ to add a custom snippet of code:
On the right hand side of the page is an options panel. Make sure that under “Where on page” the option for “Footer” is selected.When you are done the page should look something like this:
Now we want to add our widget code to the page where we want to show our widget.Wordpress has a number of different ways to do this, and it varies depending on the theme you are using.In most cases though there will be an option to “add code” or “add script” to your page. In this area you need to do the following:
The widget will not show in the preview mode of WordPress.You will need to save your changes and hit the preview button in order to check out the working widget.If you see your events then - Yay, good job! You can now look into the options for customising the widget under the “Widget Options” section of these docs.Widget not showing, or having problems? Please contact us directly and we will do what we can to get you up and running asap!
Last modified on March 8, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Broadcast Docs","description":"Documentation for Broadcast workspaces, event widgets, pages, and public APIs.","colors":{"primary":"#ff00ff","light":"#ff00ff","dark":"#ff00ff"},"logo":{"light":"https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/logo/broadcast.svg?fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=afc66b2829005f1749ebc001c64bdbca","dark":"https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/logo/broadcast.svg?fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=afc66b2829005f1749ebc001c64bdbca","href":"https://www.broadcast.events"},"favicon":"https://mintcdn.com/broadcast/bRIEjf9nG3M7KISx/backstage-favicon.ico?fit=max\u0026auto=format\u0026n=bRIEjf9nG3M7KISx\u0026q=85\u0026s=00b00d1baf10ac9891a04ab8893efc57","navbar":{"links":[{"href":"mailto:support@broadcast.events","label":"Support"}]},"seo":{"metatags":{"applicationName":"Broadcast Docs","apple-mobile-web-app-title":"Broadcast Docs","og:site_name":"Broadcast Docs","og:type":"website","twitter:card":"summary","theme-color":"#ff00ff","msapplication-TileColor":"#ff00ff"},"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"broadcast","hasAudioNarration":false,"actualSubdomain":"broadcast","customDomains":["docs.broadcast.events"],"gitSource":{"type":"github","owner":"broadcastas","repo":"broadcastevents","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad33674bd07bf0859f48717","collectionId":"3c121021-869e-478b-b095-ac7b74c09e10","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad33674bd07bf0859f48717"},"entitlements":{},"buildId":"6ad33674bd07bf0859f48717","clientVersion":"0.0.4005","searchFilterCounts":[{"language":"default","tag":"Venue","count":9},{"language":"default","tag":"Widgets","count":7},{"language":"default","tag":"Festival","count":5},{"language":"default","tag":"Overview","count":5},{"language":"default","tag":"API","count":4},{"language":"default","tag":"Event APIs","count":4},{"language":"default","tag":"Festival widget","count":3},{"language":"default","tag":"Pages","count":3},{"language":"default","tag":"Events","count":1},{"language":"default","tag":"Docs","count":1}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"widgets/wordpress","slug":"/widgets/wordpress","pageMetadata":{"title":"WordPress","description":"There are a number of different ways to add the widget to a WordPress website.","href":"/widgets/wordpress"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"There are a number of different ways to add the widget to a WordPress website.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`If you are a developer with access you can follow the instructions below, but instead manually make changes to the theme where approriate.`}),`\n`,_jsx(_components.p,{children:`The following example is designed for users with little to no experience with code, but a basic understanding of WordPress. If you are unsure about WordPress concepts such as plugins, please contact whomever developed your site and ask for advice.`}),`\n`,_jsx(Heading,{level:`2`,id:`1-configure-wordpress`,children:`1. Configure WordPress`}),`\n`,_jsx(_components.p,{children:`The first step we need to do is to add some custom scripts which will load all the code for the widget. In order to do this without making changes to the code or theme we will install a plugin to help us.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Before installing new plugins to your WordPress website it is recommended that you back up your site! Not sure how to do this? Please check with whomever is responsible for maintaing / hosting your site.`})}),`\n`,_jsx(_components.p,{children:`In the plugins section of WordPress search for ‘Simple Custom CSS and JS’. When you find it the details page should look like this:`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/installSimpleCSSPlugin-009f555a6ebbd279c3de974a3b4d884f.png?fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=1364e8fc06de8d850144eafed6555026`,alt:`Simple Custom CSS and JS`,\"data-og-width\":`1542`,width:`1542`,\"data-og-height\":`1362`,height:`1362`,\"data-path\":`images/widgets/assets/images/installSimpleCSSPlugin-009f555a6ebbd279c3de974a3b4d884f.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/installSimpleCSSPlugin-009f555a6ebbd279c3de974a3b4d884f.png?w=280\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=b2c67603e69f53ebe0570ae591d48618 280w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/installSimpleCSSPlugin-009f555a6ebbd279c3de974a3b4d884f.png?w=560\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=0608099f0570c5bad67e8fa7cda4832d 560w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/installSimpleCSSPlugin-009f555a6ebbd279c3de974a3b4d884f.png?w=840\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=ab8c0eb81050947d5900f9375f9471dd 840w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/installSimpleCSSPlugin-009f555a6ebbd279c3de974a3b4d884f.png?w=1100\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=8a94c80e3e8afdd483624925cdfe1357 1100w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/installSimpleCSSPlugin-009f555a6ebbd279c3de974a3b4d884f.png?w=1650\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=7bb75894925f7d468c5f6afaf8335e6d 1650w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/installSimpleCSSPlugin-009f555a6ebbd279c3de974a3b4d884f.png?w=2500\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=e90c4b84e77209369cc42eff0eca6280 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`activate-the-plugin`,children:`Activate the plugin`}),`\n`,_jsx(_components.p,{children:`Go ahead, install and activate this plugin. Once installed navigate to the settings page and here we are going to add our code.`}),`\n`,_jsx(_components.p,{children:`Select the button that says ‘Add Html Code’ to add a custom snippet of code:`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSAddHtml-d737aa6610bf8bc9f02004716b3afdd8.png?fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=22d4d45c37a5d815c69937eec71cfb7f`,alt:`Simple Custom CSS and JS`,\"data-og-width\":`1234`,width:`1234`,\"data-og-height\":`702`,height:`702`,\"data-path\":`images/widgets/assets/images/simpleCSSAddHtml-d737aa6610bf8bc9f02004716b3afdd8.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSAddHtml-d737aa6610bf8bc9f02004716b3afdd8.png?w=280\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=e6c07795bc9814b92f868ff5c21da01f 280w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSAddHtml-d737aa6610bf8bc9f02004716b3afdd8.png?w=560\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=546cbc6b6ddfc4d2a0b562346b6719b8 560w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSAddHtml-d737aa6610bf8bc9f02004716b3afdd8.png?w=840\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=353bbd879b17dc72cd7bac950f335779 840w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSAddHtml-d737aa6610bf8bc9f02004716b3afdd8.png?w=1100\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=a17623d0e5b62acb70cf5fa36039b300 1100w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSAddHtml-d737aa6610bf8bc9f02004716b3afdd8.png?w=1650\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=f086895c369f60f9fdee472aa3394f22 1650w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSAddHtml-d737aa6610bf8bc9f02004716b3afdd8.png?w=2500\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=fd6695ff9a621fc7242f5c14071a3871 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`add-the-broadcast-snippets`,children:`Add the broadcast snippets`}),`\n`,_jsx(_components.p,{children:`Now we are going to add the custom snippets we need to make the widget work with the following steps:`}),`\n`,_jsx(Heading,{level:`4`,id:`1-give-the-widget-a-name`,children:`1. Give the widget a name.`}),`\n`,_jsx(Heading,{level:`4`,id:`2-add-the-snippets`,children:`2. Add the snippets.`}),`\n`,_jsx(_components.p,{children:`Now we add the required CSS and Javascript files. Copy and paste the following code into the text area on the page:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\u003clink href=\"https://widgets.broadcast.events/v2/listings/widget.css\" rel=\"stylesheet\" />\u003cscript src=\"https://widgets.broadcast.events/v2/listings/widget.js\" type=\"module\">\u003c\\/script>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`4`,id:`3-set-the-postion-of-the-snippets`,children:`3. Set the postion of the snippets`}),`\n`,_jsx(_components.p,{children:`On the right hand side of the page is an options panel. Make sure that under “Where on page” the option for “Footer” is selected.`}),`\n`,_jsx(_components.p,{children:`When you are done the page should look something like this:`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSSettings-3441963099853922fc3da64978434af6.png?fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=9df077f944c17f0cc00371df647a6ab1`,alt:`Simple Custom CSS and JS`,\"data-og-width\":`2300`,width:`2300`,\"data-og-height\":`1570`,height:`1570`,\"data-path\":`images/widgets/assets/images/simpleCSSSettings-3441963099853922fc3da64978434af6.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSSettings-3441963099853922fc3da64978434af6.png?w=280\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=aaffcbc00af83e294a7f2d55f75d7454 280w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSSettings-3441963099853922fc3da64978434af6.png?w=560\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=0db495d9dc3c7d15382a8303c0e0b45c 560w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSSettings-3441963099853922fc3da64978434af6.png?w=840\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=3f4db4bf464820fb88010093f3d75910 840w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSSettings-3441963099853922fc3da64978434af6.png?w=1100\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=d98267383ba553b5b832ba2b8e4b53a2 1100w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSSettings-3441963099853922fc3da64978434af6.png?w=1650\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=39ae179e9c7cfee8e2d670993933e449 1650w, https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/images/widgets/assets/images/simpleCSSSettings-3441963099853922fc3da64978434af6.png?w=2500\u0026fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=f575f9f73cde4c0aa5077b1c2ec22523 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`2-add-the-widget-code`,children:`2. Add the widget code`}),`\n`,_jsx(_components.p,{children:`Now we want to add our widget code to the page where we want to show our widget.`}),`\n`,_jsx(_components.p,{children:`Wordpress has a number of different ways to do this, and it varies depending on the theme you are using.`}),`\n`,_jsx(_components.p,{children:`In most cases though there will be an option to “add code” or “add script” to your page. In this area you need to do the following:`}),`\n`,_jsx(Heading,{level:`2`,id:`add-the-widget-code`,children:`Add the widget code`}),`\n`,_jsx(_components.p,{children:`Copy and paste this code into the field that allows custom code.`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\u003cdiv id=\"bc-widget\" data-venue=\"YOUR-VENUE-ID\" data-hidevenue=\"true\" data-grid=\"true\" data-recommended=\"false\" data-key=\"\" data-accentcolor=\"#dc566f\">\u003c/div>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`add-your-unique-id`,children:`Add your unique Id`}),`\n`,_jsx(_components.p,{children:`In order for the widget code to work correctly, you must substitute the text YOUR-VENUE-ID with the unique code supplied by Broadcast.`}),`\n`,_jsx(Heading,{level:`3`,id:`previewing-the-widget`,children:`Previewing the widget.`}),`\n`,_jsx(_components.p,{children:`The widget will not show in the preview mode of WordPress.`}),`\n`,_jsx(_components.p,{children:`You will need to save your changes and hit the preview button in order to check out the working widget.`}),`\n`,_jsx(_components.p,{children:`If you see your events then - Yay, good job! You can now look into the options for customising the widget under the “Widget Options” section of these docs.`}),`\n`,_jsxs(_components.p,{children:[`Widget not showing, or having problems? Please `,_jsx(_components.a,{href:`https://www.broadcast.events/contact`,children:`contact us directly `}),`and we will do what we can to get you up and running asap!`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"WordPress","description":"There are a number of different ways to add the widget to a WordPress website.","href":"/widgets/wordpress"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1. Configure WordPress","slug":"1-configure-wordpress","depth":2,"children":[{"title":"Activate the plugin","slug":"activate-the-plugin","depth":3,"children":[]},{"title":"Add the broadcast snippets","slug":"add-the-broadcast-snippets","depth":3,"children":[]},{"title":"1. Give the widget a name.","slug":"1-give-the-widget-a-name","depth":4,"children":[]},{"title":"2. Add the snippets.","slug":"2-add-the-snippets","depth":4,"children":[]},{"title":"3. Set the postion of the snippets","slug":"3-set-the-postion-of-the-snippets","depth":4,"children":[]}]},{"title":"2. Add the widget code","slug":"2-add-the-widget-code","depth":2,"children":[]},{"title":"Add the widget code","slug":"add-the-widget-code","depth":2,"children":[{"title":"Add your unique Id","slug":"add-your-unique-id","depth":3,"children":[]},{"title":"Previewing the widget.","slug":"previewing-the-widget","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"broadcast","siteName":"Broadcast Docs","title":"WordPress - Broadcast Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-08T17:13:43.537Z","gitLastModified":"2026-03-08T16:40:20.000Z","originalFileLocation":"widgets/wordpress.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"There are a number of different ways to add the widget to a WordPress website.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Broadcast Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/broadcast/JCq23uWVHPASOa-o/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/broadcast/JCq23uWVHPASOa-o/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/broadcast/JCq23uWVHPASOa-o/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/broadcast/JCq23uWVHPASOa-o/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/broadcast/JCq23uWVHPASOa-o/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/broadcast/JCq23uWVHPASOa-o/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/broadcast/JCq23uWVHPASOa-o/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/broadcast/JCq23uWVHPASOa-o/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/broadcast/JCq23uWVHPASOa-o/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"WordPress - Broadcast Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"There are a number of different ways to add the widget to a WordPress website.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Broadcast Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.broadcast.events/widgets/wordpress\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://broadcast.mintlify.app/_mintlify/api/og/v2?division=Widgets\u0026amp;title=WordPress\u0026amp;description=There+are+a+number+of+different+ways+to+add+the+widget+to+a+WordPress+website.\u0026amp;theme=09055703aa626b460d53e10d\u0026amp;signature=cdd5af82af93c980a739484bc331dbcac3a1a6a5831e48858b11b59973b8d43f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"WordPress - Broadcast Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"There are a number of different ways to add the widget to a WordPress website.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://broadcast.mintlify.app/_mintlify/api/og/v2?division=Widgets\u0026amp;title=WordPress\u0026amp;description=There+are+a+number+of+different+ways+to+add+the+widget+to+a+WordPress+website.\u0026amp;theme=09055703aa626b460d53e10d\u0026amp;signature=cdd5af82af93c980a739484bc331dbcac3a1a6a5831e48858b11b59973b8d43f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/broadcast/JCq23uWVHPASOa-o/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Broadcast Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff00ff\">\u003cmeta data-mint-head name=\"applicationName\" content=\"Broadcast Docs\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#ff00ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.broadcast.events/widgets/wordpress\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/widgets/wordpress.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.broadcast.events/#organization\",\"name\":\"Broadcast Docs\",\"url\":\"https://docs.broadcast.events\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/broadcast/RChz1SVWgI1Ev6GU/logo/broadcast.svg?fit=max\u0026auto=format\u0026n=RChz1SVWgI1Ev6GU\u0026q=85\u0026s=afc66b2829005f1749ebc001c64bdbca\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.broadcast.events#website\",\"name\":\"Broadcast Docs\",\"url\":\"https://docs.broadcast.events\",\"publisher\":{\"@id\":\"https://docs.broadcast.events/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.broadcast.events/widgets/wordpress#webpage\",\"url\":\"https://docs.broadcast.events/widgets/wordpress\",\"name\":\"WordPress\",\"description\":\"There are a number of different ways to add the widget to a WordPress website.\",\"dateModified\":\"2026-03-08T16:40:20.000Z\",\"isPartOf\":{\"@id\":\"https://docs.broadcast.events#website\"},\"breadcrumb\":{\"@id\":\"https://docs.broadcast.events/widgets/wordpress#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.broadcast.events/widgets/wordpress#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Widgets\",\"item\":\"https://docs.broadcast.events/widgets/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress\",\"item\":\"https://docs.broadcast.events/widgets/wordpress\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.broadcast.events/widgets/wordpress#article\",\"headline\":\"WordPress\",\"name\":\"WordPress\",\"description\":\"There are a number of different ways to add the widget to a WordPress website.\",\"url\":\"https://docs.broadcast.events/widgets/wordpress\",\"mainEntityOfPage\":{\"@id\":\"https://docs.broadcast.events/widgets/wordpress#webpage\"},\"dateModified\":\"2026-03-08T16:40:20.000Z\",\"publisher\":{\"@id\":\"https://docs.broadcast.events/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.broadcast.events#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Broadcast Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Broadcast Docs","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"Venue","groups":[{"group":"Overview","pages":[{"title":"Venue docs","href":"/projects/venue"}]},{"group":"Events","pages":[{"title":"Schedule publishing","href":"/events/scheduled-publish"}]},{"group":"Widgets","pages":[{"title":"Event widgets overview","href":"/widgets/index"},{"title":"Standard HTML","href":"/widgets/standardHtml"},{"title":"Squarespace","description":"In order to succesfully add the widget to your Squarespace website you will need to have an account with support for Code Injection.","href":"/widgets/squarespace"},{"title":"WordPress","href":"/widgets/wordpress"},{"title":"Wix","description":"In order to succesfully add the widget to your Wix website you will need to have a premium account.","href":"/widgets/wix"},{"title":"Widget configuration","href":"/widgets/widget-options"},{"title":"Customize widget styles","href":"/widgets/custom_css"}]}]},{"tab":"Festival","pages":[{"title":"Festival","href":"/projects/festival"}]},{"tab":"Pages","pages":[{"title":"Pages","href":"/pages"}]},{"tab":"API","pages":[{"title":"API","href":"/public-events-api"}]}]},"title":"WordPress - Broadcast Docs","buildId":"dpl_48qhjNLiu9iJQQSZJz9Fa2ihBbPH","deploymentId":"dpl_48qhjNLiu9iJQQSZJz9Fa2ihBbPH","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-DoivK0O3.js","lightbox-handle-r17bVUz3.js"]}