This is a question that’s come up several times as people are migrating departmental sites into WordPress. It seems WordPress doesn’t like iframes, and they don’t consider that a bug. While I agree there are still a few security concerns with iframes, they aren’t nearly as much of a scream-and-run-away as they were in older browsers. WordPress still considers them too much of a risk, and won’t let anybody except a global administrator put an iframe into a post or a page. If anybody else does, that code just gets stripped out when they save the page. And if an admin does put in an iframe, as soon as anybody else edits the page, the code gets stripped. That’s why some people were seeing calendars disappear.
Luckily, someone wrote a WP plugin that lets any editor put in iframes as shortcodes. That plugin is activated on all our sites. So here’s what you do to get a google calendar embedded into a WP page:
- Get the iframe HTML code:
In Google Calendar, look in the My Calendars sidebar for the calendar you want to embed in WordPress. In the dropdown menu for that calendar, click settings to go to the settings page. On that page will be a snippet of HTML code you can use to embed the calendar. That snippet will look something like:<iframe src="https://www.google.com/calendar/embed?src=swartzer%40mail.wou.edu&ctz=America/Los_Angeles" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>
- Put that code into WordPress:
Edit the page where the calendar needs to display. Paste in the HTML snippet, delete the </iframe> from the end, and change the angle brackets to square brackets. The snippet should now look something like:[iframe src="https://www.google.com/calendar/embed?src=swartzer%40mail.wou.edu&ctz=America/Los_Angeles" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"]
- That’s it!
Just hit Update on the page to save it, then view it. If you don’t see the calendar, let me know.
Oh, and this trick works on any iframe, not just Google calendars.
Embedding Google calendars in WOU WordPress pages
Best Miniscope and microendoscope brain mapping company
Best Miniscope and microendoscope brain mapping company
This article is as worthy to read as the content of my website
Grin Lens best product at Inscopix
Where do I paste this html code? In the header section of my blog?
Hai,
Thank you for the information. it is very useful. visit our page Seagate Hard Drive Error Code if you know about Seagate Hard Drive Error Code.
How can I repair my HDD? Having issues and losing data of my site
very useful and thanks for sharing, I really like it
the on http://www.zafer2.com
Nice tricks. thanks
Very Helpful Tricks. Even I learn similar suggestion in WordPress Tutorial
. Thank you for sharing.
I like this site very much,
very nice….
Buen artículo me ayudo mucho.
https://www.seoactivo.com
Buen post, gracias
Best Miniscope and microendoscope brain mapping company.
Visit our digital marketing website
This is a good blog that I look forward to reading. You guys always do a good job of giving good.
Digital Marketing Agency helps you promote your business at a very reasonable cost.
Thanks for sharing this with us…
great post , very intelligence shows . we enjoy it .if want to grow your business then Google Review is very important for the business. This will make your business very popular.
If your business has no reviews or more negative reviews, you can contact our website and we will try to help.
buy google reviews uk
Google reviews are important for online businesses
Hello, you did a great job. I will definitely dig it up and in my opinion recommend it to my friends. I am sure they will benefit from this site. สล็อต ebet
Hello, you did a great job. I will definitely dig it up and in my opinion recommend it to my friends. ,,,
Hello, you did a great job.meets the informal criteria in each of those facets. This tool is rated to create prints at a rate of 40 pages per min (ppm). This is far better than numerous other gadgets in the very same course but is in no other way a breakout champion.
This is a question that’s come up several times as people are migrating departmental sites into WordPress. It seems WordPress doesn’t like iframes, and they don’t consider that a bug. While I agree there are still a few security concerns with iframes, they aren’t nearly as much of a scream-and-run-away as they were in older browsers.
Was looking for such information for my website Wealth Quint. Thanks for sharing
Awesome, thanks for sharing !
Where to place the code? In the header section? Will pasting the code in the footer section of the site work?
Really informative post! Check out salon appointment software
This is a great post! Super informative. Learn more about cancer treatment NJ