How to Embed Google Calendar in Wordpress
Here's how to do it:
- Go to Google Calendar and sign in with your Google account.
- On the left side, find the calendar you want to embed under My calendars.
- Hover over the calendar name, click the three vertical dots (options), and select Settings and sharing.
- In the Settings for my calendars page, scroll down and click the Integrate calendar section.
- Copy the iframe code provided in the Embed code section. You can customize the Embed code by clicking Customize.
- Go to Posts or Pages in your WordPress dashboard and open the page or post where you want to embed the calendar.
- Click the + button to add a new block.
- Search for Custom HTML and select it.
- Paste the iframe code you copied from Google Calendar into the Custom HTML block.
- Click Preview to see how it looks, then click Save to save your changes.