You can add “Google Drive’ functionality to WordPress website allowing users to save any file in their respective Google Drive account. For starters, Google Drive provide free storage for files and documents (linked and accessed via Gmail or Google account). “Save to Drive” button can be added anywhere within post content allowing automatic download and saving of specific file directly to user’s Google Drive account.

Use “Save to Drive” plugin on WordPress website

1. To get started, download and install Save to Drive plugin on your WordPress website. After install, activate this plugin – there is no setting or option to configure.

save to google drive button wordpress plugin

2. There are two ways to add ‘Save to Drive’ button in post content. Open existing post or create new post in Edit mode.

Add ‘Save to Drive’ button using shortcode method. For example: check below:


[savetodrive url='http://downloads.wordpress.org/plugin/save-to-drive.1.0.zip' filename='save-to-drive-latest.zip' ]

Add ‘Save to Drive’ button using PHP function call. For example: check below:


When users click ‘Save to Drive’ button, there will be prompt to login into Google Drive account. After successful login, user will see confirmation access screen to finally save specific file in Google Drive account.

Video: Using ‘Save to Drive’ WordPress plugin

Add ‘Save to Drive’ button manually to website

Google Developer blog has revealed quick and easy way to integrate ‘Save to Drive’ button on any website irrespective of platform. Just add following script and HTML tag.



“Save to Drive” is handy addition for websites offering downloads in the form of small files, code, documents and even media files.

Leave a Comment