{"id":314015,"date":"2026-06-08T15:52:53","date_gmt":"2026-06-08T15:52:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ninja-drive\/"},"modified":"2026-06-08T15:52:23","modified_gmt":"2026-06-08T15:52:23","slug":"ninja-drive","status":"publish","type":"plugin","link":"https:\/\/bn-in.wordpress.org\/plugins\/ninja-drive\/","author":23491670,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"Ninja Drive","header_author":"Plugininja","header_description":"Seamlessly integrate Google Drive with WordPress to embed, share, play, and download documents and media files directly from Google Drive.","assets_banners_color":"d7d8d8","last_updated":"2026-06-08 15:52:23","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/plugininja.com\/ninja-drive\/","header_author_uri":"https:\/\/plugininja.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":29,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"plugininja","date":"2026-06-08 15:52:23"}},"upgrade_notice":{"1.0.0":"<p>Initial release of Ninja Drive<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.gif":{"filename":"icon-128x128.gif","revision":3564935,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.gif":{"filename":"icon-256x256.gif","revision":3564935,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3564935,"resolution":"1544x500","location":"assets","locale":"","width":3108,"height":1000},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3564935,"resolution":"772x250","location":"assets","locale":"","width":1544,"height":500}},"assets_blueprints":{},"all_blocks":{"ninja-drive\/embed-documents":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"ninja-drive\/embed-documents","version":"1.0.0","title":"Embed Documents","category":"ninja-drive","icon":"format-gallery","description":"Display files from Google Drive as embedded documents","keywords":["embed documents","google drive","files"],"textdomain":"ninja-drive","supports":{"html":false,"align":["wide","full"],"spacing":{"margin":true,"padding":true}},"attributes":{"id":{"type":"number"},"type":{"type":"string","default":"embed-documents"}},"editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":["file:..\/..\/..\/..\/assets\/css\/admin.css","file:..\/..\/..\/..\/assets\/css\/common.css"]},"ninja-drive\/file-browser":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"ninja-drive\/file-browser","version":"1.0.0","title":"File Browser","category":"ninja-drive","icon":"format-gallery","description":"Display files from Google Drive as a file browser","keywords":["file browser","google drive","files"],"textdomain":"ninja-drive","supports":{"html":false,"align":["wide","full"],"spacing":{"margin":true,"padding":true}},"attributes":{"id":{"type":"number"},"type":{"type":"string","default":"file-browser"}},"editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":["file:..\/..\/..\/..\/assets\/css\/admin.css","file:..\/..\/..\/..\/assets\/css\/common.css"]},"ninja-drive\/gallery":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"ninja-drive\/gallery","version":"1.0.0","title":"Gallery","category":"ninja-drive","icon":"format-gallery","description":"Display files from Google Drive as a gallery","keywords":["gallery","google drive","files"],"textdomain":"ninja-drive","supports":{"html":false,"align":["wide","full"],"spacing":{"margin":true,"padding":true}},"attributes":{"id":{"type":"number"},"type":{"type":"string","default":"gallery"}},"editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":["file:..\/..\/..\/..\/assets\/css\/admin.css","file:..\/..\/..\/..\/assets\/css\/common.css"]},"ninja-drive\/shortcode":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"ninja-drive\/shortcode","version":"1.0.0","title":"Shortcode","category":"ninja-drive","icon":"format-gallery","description":"Display files from Google Drive as a shortcode","keywords":["shortcode","google drive","files"],"textdomain":"ninja-drive","supports":{"html":false,"align":["wide","full"],"spacing":{"margin":true,"padding":true}},"attributes":{"id":{"type":"number"},"type":{"type":"string","default":"shortcode"}},"editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":["file:..\/..\/..\/..\/assets\/css\/admin.css","file:..\/..\/..\/..\/assets\/css\/common.css"]}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[186182,8848,210,17785,233],"plugin_category":[50],"plugin_contributors":[262414,262413],"plugin_business_model":[],"class_list":["post-314015","plugin","type-plugin","status-publish","hentry","plugin_tags-cloud-integration","plugin_tags-file-manager","plugin_tags-gallery","plugin_tags-google-drive","plugin_tags-media-library","plugin_category-media","plugin_contributors-abdullaharham","plugin_contributors-plugininja","plugin_committers-plugininja"],"banners":{"banner":"https:\/\/ps.w.org\/ninja-drive\/assets\/banner-772x250.png?rev=3564935","banner_2x":"https:\/\/ps.w.org\/ninja-drive\/assets\/banner-1544x500.png?rev=3564935","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/ninja-drive\/assets\/icon-128x128.gif?rev=3564935","icon_2x":"https:\/\/ps.w.org\/ninja-drive\/assets\/icon-256x256.gif?rev=3564935","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Ninja Drive is a Google Drive integration for WordPress. With Ninja Drive, you can have a file browser, a gallery, an embedded document, and more, all in one plugin.<\/p>\n\n<p>It's a feature-complete, self-hosted Google Drive experience built entirely inside your WordPress dashboard. Connect your Drive account, manage files, embed content, and let visitors upload \u2014 no third-party portals, no switching tabs, no complicated setups.<\/p>\n\n<p>Whether you're a freelancer sharing client deliverables, an agency managing media assets, an educator distributing course files, or a developer building a custom file-sharing workflow, Ninja Drive gives you the entire Google Drive ecosystem, right inside WordPress. No SaaS lock-in. No upload limits tied to a subscription tier. Just your files, fully under your control.<\/p>\n\n<p>This isn't a simple embed tool. It's a full file management and content delivery platform powered by Google Drive, built from the ground up to feel like a native part of your WordPress site.<\/p>\n\n<h4>Ninja Drive is for you if you want to:<\/h4>\n\n<ul>\n<li>Manage Google Drive files without ever leaving WordPress<\/li>\n<li>Let visitors or clients upload files directly to your Drive<\/li>\n<li>Embed documents, videos, audio, galleries, and sliders on any page<\/li>\n<li>Serve downloadable products securely from Google Drive<\/li>\n<li>Improve your WordPress media library with Google Drive storage<\/li>\n<li>Restrict file and folder access by user role, password, or login status<\/li>\n<\/ul>\n\n<h3>Features by Category<\/h3>\n\n<h4>\ud83d\uddc2\ufe0f File Management<\/h4>\n\n<ul>\n<li><strong>Full File Operations<\/strong> \u2013 Upload, download, rename, move, copy, delete, share, and create folders directly from your WordPress admin<\/li>\n<li><strong>Advanced Search<\/strong> \u2013 Locate any file or folder instantly using powerful real-time search filters<\/li>\n<li><strong>Caching &amp; Pagination<\/strong> \u2013 Optimized browsing experience for large folders with hundreds of files.<\/li>\n<\/ul>\n\n<h4>\ud83e\udde9 Widget Builder<\/h4>\n\n<p>Build custom display modules and place them anywhere on your site using blocks, Elementor widgets, or shortcodes.<\/p>\n\n<ul>\n<li><strong>File Browser Widget<\/strong> \u2013 A fully customizable file browser for any folder, displayed beautifully on the frontend<\/li>\n<li><strong>Gallery Widget<\/strong> \u2013 Let clients preview, select, and download approved images or send selections directly to you<\/li>\n<li><strong>Embed Widget<\/strong> \u2013 Embed documents, PDFs, images, audio, and video anywhere using blocks, widgets, or shortcodes<\/li>\n<\/ul>\n\n<h4>\ud83c\udfa8 Appearance &amp; Customization<\/h4>\n\n<ul>\n<li><strong>Appearance Options<\/strong> \u2013 Customize colors, layouts, card styles, borders, and backgrounds to match your brand<\/li>\n<li><strong>Fully Responsive<\/strong> \u2013 Every module, gallery, and embed adapts perfectly to any device<\/li>\n<\/ul>\n\n<h4>\u26a1 Performance<\/h4>\n\n<ul>\n<li>Files are streamed directly from Google Drive \u2014 nothing is stored on your server<\/li>\n<li>Caching layer for fast browsing even in large folders<\/li>\n<li>Pagination for smooth navigation through thousands of files<\/li>\n<li>Separate plugin logic doesn't interfere with your WordPress page speed<\/li>\n<li>Auto Save \u2013 Settings are saved automatically, so no changes are ever lost<\/li>\n<\/ul>\n\n<h3>Integrations<\/h3>\n\n<h4>\ud83e\uddf1 Page Builders &amp; Editors<\/h4>\n\n<ul>\n<li><strong>Gutenberg Blocks<\/strong> \u2013 Blocks for file browsers, galleries, media players, upload forms, and more<\/li>\n<li><strong>Elementor Widgets<\/strong> \u2013 Widgets to add Google Drive content to any Elementor layout<\/li>\n<\/ul>\n\n<h4>\ud83d\udee0\ufe0f Developer Tools<\/h4>\n\n<ul>\n<li><strong>REST API<\/strong> \u2013 All plugin endpoints run on REST API for better performance and security<\/li>\n<\/ul>\n\n<h3>Third Party \/ External Services<\/h3>\n\n<p>This plugin connects to the <strong>Google Drive API<\/strong> to enable full integration with your Google Drive account.\nIt uses the following Google OAuth scope:\n- https:\/\/www.googleapis.com\/auth\/drive<\/p>\n\n<p><strong>What data is sent and when<\/strong><\/p>\n\n<ul>\n<li>When you authorize the plugin, it requests OAuth 2.0 permission to access your Google Drive<\/li>\n<li>The plugin sends authentication tokens and API requests to Google Drive API endpoints when you perform file actions<\/li>\n<li>No data is shared with any third party other than Google<\/li>\n<li>The plugin does not store or transmit sensitive user data beyond what is required for Drive access<\/li>\n<\/ul>\n\n<p><strong>Why this data is sent<\/strong><\/p>\n\n<ul>\n<li>To retrieve and display your Google Drive file lists<\/li>\n<li>To upload and manage files within Google Drive<\/li>\n<li>To display embedded documents such as Google Sheets, Docs, or Slides on your site<\/li>\n<\/ul>\n\n<p><strong>Service Provider Information<\/strong><\/p>\n\n<p><strong>Service Provider:<\/strong> Google LLC\n<strong>Service Used:<\/strong> Google Drive API\n<strong>Terms of Service:<\/strong> https:\/\/policies.google.com\/terms\n<strong>Privacy Policy:<\/strong> https:\/\/policies.google.com\/privacy\n<strong>Google Drive API Terms:<\/strong> https:\/\/developers.google.com\/workspace\/drive\/api\/terms\n<strong>Google API Services User Data Policy:<\/strong> https:\/\/developers.google.com\/terms\/api-services-user-data-policy\n<strong>Service Provider:<\/strong> Microsoft Corporation\n<strong>Service Used:<\/strong> Office Online Viewer\n<strong>Terms of Service:<\/strong> https:\/\/www.microsoft.com\/en-us\/legal\/terms-of-use\n<strong>Privacy Policy:<\/strong> https:\/\/www.microsoft.com\/en-us\/privacy\/privacystatement<\/p>\n\n<p><strong>External Domains Used<\/strong><\/p>\n\n<ul>\n<li><code>https:\/\/www.googleapis.com\/drive\/v3\/files\/<\/code> \u2013 Google Drive file operations<\/li>\n<li><code>https:\/\/www.googleapis.com\/auth\/drive<\/code> \u2013 OAuth scope for Drive access<\/li>\n<li><code>https:\/\/accounts.google.com<\/code> \u2013 Google OAuth authorization<\/li>\n<li><code>https:\/\/apps.googleusercontent.com<\/code> \u2013 OAuth client ID processing<\/li>\n<li><code>https:\/\/drive.google.com<\/code> \u2013 Google Drive file management and browsing<\/li>\n<li><code>https:\/\/docs.google.com<\/code> \u2013 Embedded Google Docs, Sheets, Slides, and PDF popup preview<\/li>\n<li><code>https:\/\/docs.google.com\/spreadsheets\/<\/code> \u2013 Embedded Google Sheets display<\/li>\n<li><code>https:\/\/docs.google.com\/viewerng\/viewer?embedded=true&amp;url=<\/code> \u2013 PDF popup preview<\/li>\n<li><code>https:\/\/sites.google.com<\/code> \u2013 Google Sites content display in popup preview<\/li>\n<li><code>https:\/\/script.google.com<\/code> \u2013 Google Apps Script integration<\/li>\n<li><code>https:\/\/lh3.googleusercontent.com<\/code> \u2013 User file and folder thumbnails<\/li>\n<li><code>https:\/\/drive-thirdparty.googleusercontent.com<\/code> \u2013 Third-party Google Drive content rendering<\/li>\n<li><code>https:\/\/view.officeapps.live.com\/op\/view.aspx?src=<\/code> \u2013 Office file popup preview<\/li>\n<\/ul>\n\n<h3>Additional Notes<\/h3>\n\n<p>This plugin bundles a modified version of the Google API Client library, which is licensed under the Apache License, Version 2.0. The Apache 2.0 license is compatible with GPLv3, and as this plugin is licensed \"GPL-2.0-or-later\", the combined work is compatible with and may be used under GPLv3 terms, though this plugin itself remains licensed under GPL-2.0-or-later.<\/p>\n\n<p>File type thumbnail icons are loaded from Google's CDN (drive-thirdparty.googleusercontent.com) as a fallback when no local thumbnail is available. This is an image resource only \u2014 no executable code. Thumbnail requests may also proxy content through Google's servers (googleapis.com, lh3.googleusercontent.com) when displaying file previews in the WordPress admin or frontend.<\/p>\n\n<h3>Shortcodes<\/h3>\n\n<p>Use the built-in Shortcode Builder to generate all parameters visually. Example: <code>[ninja-drive id=\"1\"]<\/code><\/p>\n\n<h3>Contribute<\/h3>\n\n<p>Ninja Drive is an open-source project. You can view the full unminified source and contribute on GitHub:\nhttps:\/\/github.com\/plugininja\/ninja-drive<\/p>\n\n<!--section=installation-->\n<h4>Install from WordPress Admin (Recommended)<\/h4>\n\n<ol>\n<li>Go to <strong>Plugins \u2192 Add New<\/strong> in your WordPress dashboard<\/li>\n<li>Search for <strong>\"Ninja Drive\"<\/strong><\/li>\n<li>Click <strong>Install Now<\/strong>, then <strong>Activate<\/strong><\/li>\n<\/ol>\n\n<h4>Connecting Your Google Drive<\/h4>\n\n<p><strong>Own App Setup (Recommended for Multiple Sites or Branding)<\/strong><\/p>\n\n<p><strong>Step 1:<\/strong> Go to <a href=\"https:\/\/console.cloud.google.com\/\">Google Cloud Console<\/a> and create a new project<\/p>\n\n<p><strong>Step 2:<\/strong> Enable <strong>Google Drive API<\/strong> via APIs &amp; Services \u2192 Library<\/p>\n\n<p><strong>Step 3:<\/strong> Go to <strong>APIs &amp; Services \u2192 OAuth Consent Screen<\/strong> and configure your app name and contact details<\/p>\n\n<p><strong>Step 4:<\/strong> Go to <strong>APIs &amp; Services \u2192 Credentials \u2192 Create Credentials \u2192 OAuth Client ID<\/strong><\/p>\n\n<p><strong>Step 5:<\/strong> Choose <strong>Web Application<\/strong>, then copy the <strong>Redirect URI<\/strong> from your plugin settings (Ninja Drive \u2192 Settings \u2192 Own App) and paste it into <strong>Authorized Redirect URIs<\/strong><\/p>\n\n<p><strong>Step 6:<\/strong> Copy your <strong>Client ID<\/strong> and <strong>Client Secret<\/strong>, then paste them into the plugin settings and click <strong>Authorize<\/strong><\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20files%20get%20copied%20to%20my%20server%3F\"><h3>Do files get copied to my server?<\/h3><\/dt>\n<dd><p>No. All files remain in Google Drive. Ninja Drive streams or embeds them directly from Google's infrastructure.<\/p><\/dd>\n<dt id=\"how%20secure%20is%20the%20connection%3F\"><h3>How secure is the connection?<\/h3><\/dt>\n<dd><p>Very secure. Ninja Drive uses OAuth 2.0 for authentication and encrypted channels for all data transfer. No Google account credentials, file IDs, or sensitive data are exposed on the frontend.<\/p><\/dd>\n<dt id=\"can%20i%20use%20my%20own%20google%20cloud%20credentials%3F\"><h3>Can I use my own Google Cloud credentials?<\/h3><\/dt>\n<dd><p>Yes. Go to <strong>Ninja Drive \u2192 Settings \u2192 Own App<\/strong> and enter your Client ID and Client Secret to use your own Google Cloud application.<\/p><\/dd>\n<dt id=\"which%20file%20types%20can%20i%20embed%3F\"><h3>Which file types can I embed?<\/h3><\/dt>\n<dd><p>Most common formats are supported, including images (JPG, PNG, GIF, WebP), audio (MP3, WAV), video (MP4, MOV), documents (PDF, DOCX, XLSX, PPTX), and all native Google formats (Docs, Sheets, Slides, Forms).<\/p><\/dd>\n<dt id=\"can%20i%20restrict%20who%20sees%20certain%20files%20or%20folders%3F\"><h3>Can I restrict who sees certain files or folders?<\/h3><\/dt>\n<dd><p>Yes. You can restrict access by user role, login status, or password. Private folder support for individual users is also available.<\/p><\/dd>\n<dt id=\"can%20visitors%20upload%20files%20to%20my%20google%20drive%3F\"><h3>Can visitors upload files to my Google Drive?<\/h3><\/dt>\n<dd><p>Yes. The File Uploader Module allows visitors, clients, or customers to upload files directly to your connected Drive account from any page on your site.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release of Ninja Drive<\/li>\n<\/ul>","raw_excerpt":"Complete Google Drive plugin for WordPress. Browse, manage, embed, and serve Google Drive files \u2014 all without leaving your dashboard.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/314015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=314015"}],"author":[{"embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/plugininja"}],"wp:attachment":[{"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=314015"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=314015"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=314015"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=314015"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=314015"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=314015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}