Title: Print
Last modified: July 4, 2017

---

# Print

 *  Resolved [pedrokas28](https://wordpress.org/support/users/pedrokas28/)
 * (@pedrokas28)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/print-10/)
 * Hello
 * I need to print a div with the class name Woocommerce, can you help me how to
   do this task with the shortcode [print-me]?

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

 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/print-10/#post-9288419)
 * If “Woocommerce” is _exactly_ the class of the element:
    `[print-me target=".
   Woocommerce"/]` as explained in the [documentation on the target attribute](https://plugins.twinpictures.de/plugins/print-o-matic/documentation/#target).
 *  Thread Starter [pedrokas28](https://wordpress.org/support/users/pedrokas28/)
 * (@pedrokas28)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/print-10/#post-9289905)
 * Hello
 * It worked, but it printed 2 times the contents of Woocommerce and I just want
   it to print once
 * You can see in the link below
 * ![Print img](https://i0.wp.com/abcescolar.pt/wp-content/uploads/2017/07/Sem-T%
   C3%ADtulo.png?ssl=1)
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/print-10/#post-9289919)
 * Without being able to inspect your page we can only assume you have multiple 
   elements with the exact same class. If you need further assistance, please include
   a link to the page that exhibits this behaviour.
 *  Thread Starter [pedrokas28](https://wordpress.org/support/users/pedrokas28/)
 * (@pedrokas28)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/print-10/#post-9289927)
 * Can you give me your email so that I can give you the credencials and the link
   of the page?
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/print-10/#post-9289958)
 * You seem to be using chrome.
    check your page using the web inspector: [https://developers.google.com/web/tools/chrome-devtools/](https://developers.google.com/web/tools/chrome-devtools/)
 * You can even hit Cmd-F to bring up a ‘Find’ box and search for all instances 
   of your class. You will probably find multiple instances of your class in the
   source.
 * If you only want to print a single element, look for the ID, as there should 
   be a unique ID for the same wrapping element as your target class. Target an 
   ID like so:
 *     ```
       [print-me target="#some_unique_id"/]
       ```
   
 * We would like to assist you further, but this is the limitation of free support
   offered here on the WordPress forums. If you require personalized support, you
   might look into upgrading to [Print-Pro-Matic](https://plugins.twinpictures.de/premium-plugins/print-pro-matic/),
   as it comes with a [high level of personal support](https://plugins.twinpictures.de/testimonial/print-pro-matic-testimonias/).
 * All the best!
 *  Thread Starter [pedrokas28](https://wordpress.org/support/users/pedrokas28/)
 * (@pedrokas28)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/print-10/#post-9289982)
 * And if I want to print more than one class our ID how do I do?
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/print-10/#post-9290497)
 * [http://spacedonkey.de/2619/print-o-matic-multiple-target-test/](http://spacedonkey.de/2619/print-o-matic-multiple-target-test/)
 *  Thread Starter [pedrokas28](https://wordpress.org/support/users/pedrokas28/)
 * (@pedrokas28)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/print-10/#post-9290552)
 * Hello
 * It worked with more than one class, but why does the print only display the values
   when I press the button to print the second time?
 * In the images below an example
 * First time I press the button:
 * ![first time](https://i0.wp.com/abcescolar.pt/wp-content/uploads/2017/07/Sem-
   T%C3%ADtulo.jpg?ssl=1)
 * The second time I press the button:
 * ![second time](https://i0.wp.com/abcescolar.pt/wp-content/uploads/2017/07/Sem-
   T%C3%ADtulo2.jpg?ssl=1)
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/print-10/#post-9290597)
 * Are there any errors in your JS console?
    Without a link to your site, we can
   not help further.
 *  Thread Starter [pedrokas28](https://wordpress.org/support/users/pedrokas28/)
 * (@pedrokas28)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/print-10/#post-9294844)
 * Hello
 * This are the errors of my console
 * JQMIGRATE: Migrate is installed, version 1.4.1
    util.js:221 Google Maps API warning:
   NoApiKeys [https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys](https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys)
   BB.j
 * Google Maps API error: MissingKeyMapError [https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error](https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error)

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

The topic ‘Print’ 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/)

## Tags

 * [class](https://wordpress.org/support/topic-tag/class/)
 * [target attribute](https://wordpress.org/support/topic-tag/target-attribute/)

 * 10 replies
 * 2 participants
 * Last reply from: [pedrokas28](https://wordpress.org/support/users/pedrokas28/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/print-10/#post-9294844)
 * Status: resolved