Title: Cannot import snippet
Last modified: June 4, 2026

---

# Cannot import snippet

 *  [nick98](https://wordpress.org/support/users/nick98/)
 * (@nick98)
 * [2 days, 18 hours ago](https://wordpress.org/support/topic/cannot-import-snippet/)
 * I’m trying to import the PDF Viewer snippet from [this page](https://learn.websquadron.co.uk/codes/#PDFView)(
   v2.1, to be precise), but although it is recognized as a PHP snippet by the plugin,
   it doesn’t show up after importing. Indeed, the “Import successful” message says
   that 0 snippets have been imported.

Viewing 1 replies (of 1 total)

 *  [Kevin Danielsen](https://wordpress.org/support/users/kajinkd/)
 * (@kajinkd)
 * [2 days, 18 hours ago](https://wordpress.org/support/topic/cannot-import-snippet/#post-18928420)
 * Hi [@nick98](https://wordpress.org/support/users/nick98/)!
 * I looked into it and tested importing the script on code snippets 3.9.6. I downloaded
   the script, opened the zip file and uploaded the .json file. From there it read
   and could import the .php script.
 * Maybe you could have a look into which plugin version you are using and maybe
   update?
 * If you are using the latest plugin, try to disable other plugins and try again,
   as this might be a plugin compatibility issue.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-import-snippet%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kevin Danielsen](https://wordpress.org/support/users/kajinkd/)
 * Last activity: [2 days, 18 hours ago](https://wordpress.org/support/topic/cannot-import-snippet/#post-18928420)
 * Status: not resolved