Title: Using do not print attribute
Last modified: January 26, 2021

---

# Using do not print attribute

 *  [mediaamerica](https://wordpress.org/support/users/mediaamerica/)
 * (@mediaamerica)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-do-not-print-attribute/)
 * Hi!
 * I feel insane. I’ve tried using the do not print attribute shortcode many times
   and I’m obviously doing something wrong.
 * I need to exclude my footer and the top menu from printing because as you can
   see it’s including a whole lot of junk.
 * Thanks!

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

 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-do-not-print-attribute/#post-13961437)
 * you _feel_ insane? let’s fix that!
    first of all, what does your shortcode look
   like? second of all, can you share a link? and finally, you are probably not 
   insane, so don’t worry too much… we’ll help you get this resolved.
 *  Thread Starter [mediaamerica](https://wordpress.org/support/users/mediaamerica/)
 * (@mediaamerica)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-do-not-print-attribute/#post-13961459)
 * Awesome, thanks!
 * it’s for the whole website, ncsd.org. Sorry I thought I included a link.
 * [print-me do_not_print=”.footer”] is what I was using for the footer specifically.
   When that wasn’t working, I didn’t try it for the menu bar yet.
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-do-not-print-attribute/#post-13961470)
 * Where is the print trigger?
    The print-icon in the left sidebar is not from this
   plugin… … where is the print-me shortcode placed?
 *  Thread Starter [mediaamerica](https://wordpress.org/support/users/mediaamerica/)
 * (@mediaamerica)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-do-not-print-attribute/#post-13961481)
 * I guess I didn’t realize I needed to do that — I’m so sorry! In the settings,
   what and where would I place that — I have ‘yes’ marked on the use print icon
   section
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-do-not-print-attribute/#post-13961490)
 * ah, ok… so the theme, or some other plugin (dpsp) is creating the left side panel
   with its own print icon. there might be a way to filter the default print function
   but that would be beyond this community support.
 * Are you able to add custom items to this side-tab?
 *  Thread Starter [mediaamerica](https://wordpress.org/support/users/mediaamerica/)
 * (@mediaamerica)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-do-not-print-attribute/#post-13961497)
 * I can’t but I can disable the print part of the plugin (it’s the Grow by Mediavine
   plugin) or I can do away with it all together as the printing is more important
   than that sidebar.
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-do-not-print-attribute/#post-13961561)
 * Regardless, you will need to place the [print-me] shortcode someplace on the 
   page to test that it does what you need it to. Try placing it on a post or page
   and go from there.
 *  Thread Starter [mediaamerica](https://wordpress.org/support/users/mediaamerica/)
 * (@mediaamerica)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-do-not-print-attribute/#post-14003871)
 * I’m back! Okay, so I did kind of figure it out…
 * I’ve implemented on this page and it works: [https://ncsd.org/a-message-from-the-national-cancer-institute-2020](https://ncsd.org/a-message-from-the-national-cancer-institute-2020)
 * However, I think where I was getting confused is adjusting the settings where
   I don’t have to put in the shortcode for every single page/post…that’s where 
   I seem to be not putting in the correct thing?
 * Any insight?
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-do-not-print-attribute/#post-14003979)
 * step by step!
 * > adjusting the settings where I don’t have to put in the shortcode for every
   > single page/post
 * There is not a setting to automatically include the print icon after every post
   or page. However, the shortcode can be easily included in this way using one 
   of the following methods:
 * 1. modify the child-theme single.php to include the shortcode using WordPress’
   built in do_shortcode() function.
    2. add a filter to the child-theme function.
   php to automatically append the print-me shortcode after each post or page.
 * If either of these solutions are a bit beyond your comfort zone, and you do not
   have a developer to assist you, then consider [going pro](https://plugins.twinpictures.de/premium-plugins/print-pro-matic/)
   as it comes with a [very high level of personal support](https://plugins.twinpictures.de/testimonial/print-pro-matic-testimonias/)
   that is alone worth the upgrade, even getting the above setup on your site.

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

The topic ‘Using do not print attribute’ 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/)

 * 9 replies
 * 2 participants
 * Last reply from: [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/using-do-not-print-attribute/#post-14003979)
 * Status: not resolved