• Home
  • Cloud
    • General
    • SaaS
    • BPaaS
    • PaaS
    • IaaS
    • Other Internet Hosted Applications
      • WordPress
        • WooThemes Canvas
          • WooThemes Canvas CSS
  • About me
  • Why Badly Wired?
  • Contact

Badly Wired

Alan's technical notebook - WordPress and other stuff

You are here: Home / Uncategorised / How can I Embed a Google Doc in a WordPress Post or WordPress Page without a plugin?

How can I Embed a Google Doc in a WordPress Post or WordPress Page without a plugin?

15th December 2019 by Alan 1 Comment

Fully Managed UK Hosting - Only £1+VAT till 1st Jan 2021 on Shared, Reseller and Dedicated Hosting! .... read more ....

To have a dynamic section from Google Docs as below simply create ( and share to editors as required) your Google Doc and go to File>Publish to Web in the Doc – select embed –

Create your post of page and where you want the Google Doc add an html block and put the generated code into the html block.

The generated code from the Google Doc looks like, it is just an iframe of the public link.

<iframe 
src="https://docs.google.com/document/d/e/2PACX-1vRRXHGZ3wLQtPWc8cF8iX64CZI_enYXmlsAphoQQd-ufEYWLWNkjEa2kh1NtVi1Yc45DgNEqudTM69K/pub?embedded=true">
</iframe>

but the style may look it a little letterbox, so you can add width & height to the iframe e.g.

Fully Managed UK Hosting - Only £1+VAT till 1st Jan 2021 on Shared, Reseller and Dedicated Hosting! .... read more ....
<iframe 
width="100%" 
height="500px" 
src="https://docs.google.com/document/d/e/2PACX-1vRRXHGZ3wLQtPWc8cF8iX64CZI_enYXmlsAphoQQd-ufEYWLWNkjEa2kh1NtVi1Yc45DgNEqudTM69K/pub?embedded=true">
</iframe>

is what I’m using below

[Next] Find out where to host WordPress [Read the full article…]

Filed Under: Uncategorised  

Comments

  1. Chris Moore says

    16th December 2019 at 8:10 am

    This looks a very useful technique. Thank you

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Applications
  • Cloud
    • General
    • Google Cloud
    • IaaS
    • Other Internet Hosted Applications
      • Wordpress
        • WooThemes Canvas
        • WooThemes Canvas CSS
    • SaaS
  • Code snippets
  • Discounts
  • Genesis
  • Google Apps for Works
  • Linux
  • News
  • SEO
  • Server setup
  • Services
  • Tech Tips
  • Uncategorised
  • Useful Images
  • Useful Stuff
  • WordPress Hosting
  • WordPress Plugins

Tags

background jobs beadcrumbs bind brandings Cache canvas Centos chrome css fail2ban Find firefox Flash fraud genesis gocardless godaddy Google google maps hackers internet explorer javascript KashFlow Linus linux Magento mapquest maps microsoft mysql news nohup php plugin plugins queens diamond jubilee replace SED SEO skype Varnish Virtualmin Webmin woothemes Wordpress

 

Affiliate and Privacy Notices

This site is free to use, but hopes to cover some costs through affiliate income, some products and links are affiliates and may earn the site advertising income.

Some affiliates use Cookies to track if you purchase from them, this allows them to apportion revenue to us you will need to refer to their specific privacy notices as to how you are tracked.

This site is a participant in the Amazon EU Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.co.uk.

  • Privacy Policy

Copyright © 2021 · Badly Wired