外掛說明
A lightweight PDF embed plugin by Clicksmith. No upsells. Includes:
– Shortcode: [pdf_viewer id="123" width="100%" height="800px"]
– Or by URL: [pdf_viewer url="https://example.com/file.pdf" height="700px"]
– Admin page to generate shortcodes and copy to clipboard
– Media Library integration for quick selection
Plugin help & documentation:
Visit Clicksmith – PDF Viewer Docs for setup instructions and support.
About Clicksmith:
We build custom WordPress plugins and automations. Learn more at Clicksmith.net.
適用於區塊編輯器
這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。
- Clicksmith PDF
安裝方式
- Upload the
clicksmith-pdf-viewerfolder to/wp-content/plugins/or install via Plugins Add New. - Activate the plugin.
- Go to PDF Embeds Add New to upload a PDF, set dimensions, and copy the shortcode.
- Paste the shortcode into any post, page, or widget.
常見問題集
-
Can I hide the download link?
-
Yes. Use
download="false"in the shortcode. -
Can I start on a specific page?
-
Yes. Add
page="3"to the shortcode. -
Does it work with any PDF URL?
-
Yes, but for best results use PDFs hosted in your Media Library.
-
Where can I get help or report issues?
-
See the docs and contact form at
https://clicksmith.net/wordpress-plugins/clicksmith-pdf-viewer/
使用者評論
參與者及開發者
變更記錄
1.1.16
- Switch to Dashicons (
dashicons-media-document) for the admin menu icon to eliminate path/caching issues with custom images. - Readme updates. No front-end functional changes.
1.1.12 – 1.1.15
- Admin menu icon reliability improvements and cross-browser sizing fixes.
- Updated fallback message copy and documentation links.
1.1.9
- Updated fallback message text to “If your browser can’t display this PDF” for clarity.
1.1.8
- Removed credit sentence from readme (“Powered by Clicksmith”). No code changes.
1.1.7
- Added links to official documentation and support page on Clicksmith.net.