=== Clicksmith - PDF Viewer === Contributors: clicksmith.net Tags: pdf, embed, viewer, shortcode, clicksmith, wordpress plugins Requires at least: 5.2 Tested up to: 6.8 Requires PHP: 7.4 Stable tag: 1.1.7 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Embed PDFs with a simple shortcode and generate them from the admin. 100% free. Links back to Clicksmith. == Description == A lightweight PDF embed plugin by Clicksmith. No upsells. Includes: - Gutenberg block to configure and insert the shortcode (no build step). - Shortcode: `[clicksmith_pdf src="URL" width="100%" height="700" toolbar="true" download="true" title="Optional"]` - Admin page to generate shortcodes, copy to clipboard, and list your embeds. - Media Library integration to pick PDFs quickly. **Credit:** We include a small “Powered by Clicksmith” link in the frontend embed and a credit link in the admin. **Plugin help & documentation:** Visit [Clicksmith – PDF Viewer Docs](https://clicksmith.net/wordpress-plugins/clicksmith-pdf-viewer/?utm_source=wporg&utm_medium=readme&utm_campaign=plugin_docs) for full setup instructions, shortcode options, and support. **About Clicksmith:** Clicksmith is a digital marketing and web development agency based in San Antonio, Texas. We build custom plugins, websites, and automation solutions for WordPress businesses. Learn more at [Clicksmith.net](https://clicksmith.net/?utm_source=wporg&utm_medium=readme&utm_campaign=plugin_about). == Installation == 1. Upload the `clicksmith-pdf-viewer` folder to `/wp-content/plugins/`. 2. Activate the plugin in Plugins. 3. Go to **Clicksmith PDF** in the admin menu to generate your first shortcode. == Frequently Asked Questions == = Can I hide the toolbar or download button? = Use `toolbar="false"` and/or `download="false"` in the shortcode. Behavior may vary by browser. = 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? = Visit the [official documentation](https://clicksmith.net/wordpress-plugins/clicksmith-pdf-viewer/?utm_source=wporg&utm_medium=faq&utm_campaign=plugin_docs) or contact us directly via [Clicksmith Digital Marketing](https://clicksmith.net/contact/?utm_source=wporg&utm_medium=faq&utm_campaign=plugin_support). == Screenshots == 1. Admin generator and shortcode list 2. Frontend PDF embed == Changelog == = 1.1.7 = * Added links to official documentation and support page on Clicksmith.net. * Updated readme and metadata for clarity and consistency. * No functional changes to plugin code. = 1.1.6 = * Default `toolbar` set to false (hides browser filename/title bar). * Removed optional title above iframe on frontend output. = 1.1.5 = * Show credit only in admin; removed credit from frontend embeds. * Restored admin-page footer credit. = 1.1.4 = * Removed 'Powered by Clicksmith' from all admin/dashboard views. = 1.1.3 = * Resolved PHPCS warnings: sanitized POST (toolbar/download) with explicit variables and inline ignores for presence checks. = 1.1.2 = * Hardened sanitization for toolbar/download POST values. * Documented safe GET usage with PHPCS ignore for nonce warning. = 1.1.1 = * Marked as tested up to WP 6.8. * Added /languages/ placeholder to satisfy Domain Path check. = 1.1.0 = * Added Gutenberg block UI for inserting shortcodes. * Custom 20x20 admin menu icon. * Fixed Plugin URI vs Author URI compliance. = 1.0.0 = * Initial release: free-only, Clicksmith-branded PDF viewer with shortcode generator. == Upgrade Notice == = 1.1.7 = Adds official documentation and support links for Clicksmith – PDF Viewer.