Title: Print shortcode error
Last modified: January 10, 2023

---

# Print shortcode error

 *  Resolved [Storm](https://wordpress.org/support/users/stormybabes/)
 * (@stormybabes)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/print-shortcode-error/)
 * I’m trying to use the shortcode to print a section on a custom post type, but
   whenever I use “[print-me]” (with or without a target) – Eg: “[print-me target
   =”#recipe”/]”, it gives me the following error when clicked:
 * “Check if there is a typo in div%20class%3D%27printomatic%20pom-default%20%27%
   20id%3D%27id3891%27%20data-print_target%3D%27.”

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/print-shortcode-error/#post-16358147)
 * The plugin was just updated, please verify the version and that the shortcode
   is formated with correct quotes like so:
 *     ```wp-block-code
       [print-me target="#recipe"/]
       ```
   
 * And not using the stylized quotes shown in your thread post.
   Also, it would be
   helpful to know if you are using a wordpress block, if so, which one, or a page
   builder, if so which one.
 *  Thread Starter [Storm](https://wordpress.org/support/users/stormybabes/)
 * (@stormybabes)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/print-shortcode-error/#post-16358181)
 * Yes, indeed – the quotes were to quote what I had inserted.
   The shortcode seems
   to work when I use the builder widget (Elementor), but not when I add it to custom
   page styling. I’ve put it in the “F-it” bucket and will just use the builder 
   to make my life easier. Thanks for the speedy reply 🙂
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/print-shortcode-error/#post-16358286)
 * This is not quite clear:
 * > but not when I add it to custom page styling.
 * Regardless, you found a work-around! thank you for marking the issues as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Print shortcode error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/print-o-matic_b2b2b2.svg)
 * [Print-O-Matic](https://wordpress.org/plugins/print-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/print-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/print-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/print-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/print-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/print-o-matic/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/print-shortcode-error/#post-16358286)
 * Status: resolved