Title: Exclude pages/posts
Last modified: December 12, 2024

---

# Exclude pages/posts

 *  Resolved [pilot52](https://wordpress.org/support/users/pilot52/)
 * (@pilot52)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/exclude-pages-posts/)
 * Hi, how do I exclude pages like cart and checkout from showing print pdf?
 * I am using woocommerce.

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

 *  Plugin Author [Print & PDF by PrintFriendly](https://wordpress.org/support/users/printfriendly/)
 * (@printfriendly)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/exclude-pages-posts/#post-18199734)
 * Thanks for reaching out.
 * On the main configuration page, please scroll down to Button Display. There, 
   you can check which pages you’d like our plugin to be displayed on. You can use
   the “Restrict to specific categories” feature to further limit what pages it 
   can be displayed on. In this instance, you’d just want to make sure that your
   cart and checkout pages are not in one of the specific categories.
 *  Thread Starter [pilot52](https://wordpress.org/support/users/pilot52/)
 * (@pilot52)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/exclude-pages-posts/#post-18202504)
 * My cart and checkout are both on WordPress pages, so disabling Print Friendly&
   PDF on all pages also disables the buttons for most of my site. However, I solved
   the issue by adding the following CSS to my theme:
 * `        /*  disable Print Friendly & PDF on specific WordPress pages */ .page-
   id-9 .pf-button-img, .page-id-10 .pf-button-img {display: none;} `
 * -Note to other users with similar issue: Simply lookup corresponding IDs for 
   your Woocommerce cart and checkout pages, then replace the ‘9’ and ‘10’ with 
   your page IDs
 * [@printfriendly](https://wordpress.org/support/users/printfriendly/) : Can I 
   suggest a feature to add a section in settings where I can list specific page/
   post IDs to exclude the plugin from displaying buttons?
 *  Plugin Author [Print & PDF by PrintFriendly](https://wordpress.org/support/users/printfriendly/)
 * (@printfriendly)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/exclude-pages-posts/#post-18205155)
 * I’m glad you got it working and thanks so much for sharing your solution.
 * Your suggestion about the setting has been noted and I’ll share it with our team.
   Thank you again.

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

The topic ‘Exclude pages/posts’ is closed to new replies.

 * ![](https://ps.w.org/printfriendly/assets/icon-256x256.png?rev=2951152)
 * [Print, PDF, Email by PrintFriendly](https://wordpress.org/plugins/printfriendly/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/printfriendly/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/printfriendly/)
 * [Active Topics](https://wordpress.org/support/plugin/printfriendly/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/printfriendly/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/printfriendly/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Print & PDF by PrintFriendly](https://wordpress.org/support/users/printfriendly/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/exclude-pages-posts/#post-18205155)
 * Status: resolved