Home PDF with Google Docs and Shortcode

    PDF with Google Docs and Shortcode


    The following shortcode will send the current page (or any other defined page) to Google Docs for printing as a PDF document. This post is a little outdated and shouldn’t be relied upon as giving a correct response. We’ll get to it soon.

    Copy and paste the WordPress function into your theme's functions.php file or, if you sensibly have one installed, your custom functions plugin.


    The shortcode will render a link that should be clicked. The shortcode to be used is as follows: [googlepdf]Link text in here[/googlepdf]. If you choose to print another page, use [googlepdf url=”http://www.beliefmedia.com/”]Link text in here[/googlepdf]. You can change the link title with the attribute of title in your shortcode.

    Shortt URL for this post: http://shor.tt/2nIE