Title: Can&#8217;t hide sections?
Last modified: March 3, 2019

---

# Can’t hide sections?

 *  Resolved [Kettercat](https://wordpress.org/support/users/kettercat/)
 * (@kettercat)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cant-hide-sections/)
 * Hi again,
 * I’m trying to hide 2 specific sections – **.entry-footer** and **#comments**.
   
   I have set both under “Do Not Print Elements” in the settings page and to make
   sure added this short form to the page – `[print-me do_not_print=".entry-footer.
   post-footer" do_not_print="#comments" /]`
 * Even then, both sections still appear.
    What am I doing wrong?

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

 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cant-hide-sections/#post-11269792)
 * you can only use the do_not_print attribute once per shortcode. Try something
   like:
 *     ```
       [print-me do_not_print=".entry-footer, #comments" /]
       ```
   
 * can you dig it?
 *  Thread Starter [Kettercat](https://wordpress.org/support/users/kettercat/)
 * (@kettercat)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cant-hide-sections/#post-11273474)
 * Thanks! didn’t work though 🙁
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cant-hide-sections/#post-11273491)
 * Hmm… can you share a link?
    do you have a caching plugin installed?
 *  Thread Starter [Kettercat](https://wordpress.org/support/users/kettercat/)
 * (@kettercat)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cant-hide-sections/#post-11273503)
 * Sure 🙂
    [https://homeinstyle.co.il/plum-almonds-cake/](https://homeinstyle.co.il/plum-almonds-cake/)
 * I have a caching plugin installed, just turned it off just in case.
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cant-hide-sections/#post-11273548)
 * OK, it is working, it’s just that multiple articles are being printed.
    try using
   the target attribute to print only the current article:
 *     ```
       [print-me target=".post-%ID%" do_not_print=".entry-footer, #comments" /]
       ```
   
 * By the way, you can define both the do_not_print and target attributes globally
   in the plugin settings, so you do not have to include them on each shortcode.
 *  Thread Starter [Kettercat](https://wordpress.org/support/users/kettercat/)
 * (@kettercat)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cant-hide-sections/#post-11273611)
 * Yay!!! It works!
    Thanks a lot 😀
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cant-hide-sections/#post-11273616)
 * Huzzah! Glad it worked out.
    Issue marked as resolved… …but if you are happy (
   and you know it) consider [leaving a review](https://wordpress.org/support/plugin/print-o-matic/reviews/)!

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

The topic ‘Can’t hide sections?’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/cant-hide-sections/#post-11273616)
 * Status: resolved