Title: Exclude Posts
Last modified: February 5, 2021

---

# Exclude Posts

 *  [admin8411](https://wordpress.org/support/users/admin8411/)
 * (@admin8411)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/exclude-posts-10/)
 * Hi there,
 * I have added one link above to one of our posts however all our blog post pages
   have the same problem. The header is pulled up into the menu section.
 * How can I exclude all our posts from the plugin?
 * Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexclude-posts-10%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/exclude-posts-10/#post-14007810)
 * [@admin8411](https://wordpress.org/support/users/admin8411/) I checked your website
   and I understand you do not want Asset CleanUp to be triggered if the visitor
   accessed a blog post. Based on the blog post format that you currently have, 
   the RegEx you could use there is: `/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*?)/` –
   it first matches the date (year, month, day), and then any string between the
   forward slashes. So, anything like the example you provided **/2020/12/18/design-
   of-an-inviting-lanai/** will be matched the plugin will not trigger.
 * Can you try it out and let me know how it goes?
 *  Thread Starter [admin8411](https://wordpress.org/support/users/admin8411/)
 * (@admin8411)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/exclude-posts-10/#post-14008085)
 * Hi there,
 * Thank you for the reply. I have tried it, however, it did not work.
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/exclude-posts-10/#post-14008367)
 * [@admin8411](https://wordpress.org/support/users/admin8411/) I just made a test
   on a dev site and it worked fine. Now, are you sure you added this rule to “Settings”-
   > “Plugin Usage Preferences” -> “Do not load the plugin on certain pages”? See
   the following print screen I made: [https://i.ibb.co/9YJYCmF/Screenshot-2021-02-05-at-16-41-39.jpg](https://i.ibb.co/9YJYCmF/Screenshot-2021-02-05-at-16-41-39.jpg)
 * If you did that and still doesn’t work (Asset CleanUp not loading at all on the
   post pages), then it’s likely an isolated case and it needs further debugging.
   Now, it’s easy to know if the plugin didn’t trigger on a post page. The top admin
   bar menu will not show up at all. It would show up on other pages (that are not
   posts), where the RegEx rule doesn’t match the URI.
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/exclude-posts-10/#post-14048857)
 * [@admin8411](https://wordpress.org/support/users/admin8411/) hello! This is just
   a reminder of checking out what I told you about. I’m keen to have it solved.
   Perhaps it’s an isolated issue or indeed a bug (which is not likely as it’s been
   tested extensively and so far there weren’t issues like this one).

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

The topic ‘Exclude Posts’ is closed to new replies.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/exclude-posts-10/#post-14048857)
 * Status: not resolved