Title: Feature request: post types
Last modified: September 30, 2016

---

# Feature request: post types

 *  Resolved [Blamedutchie](https://wordpress.org/support/users/blamedutchie/)
 * (@blamedutchie)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/feature-request-post-types-2/)
 * Hi Gabe,
 * First of all, fantastic plugin so far.
    Even if only to figure out which assets
   are actually being used.
 * The global unload is cool, but in terms of usability it still requires a lot 
   of clicking and browsing. What if there was a page where one could target the
   post types? This would be a great winner for a lot of Lightbox plugins, because
   many of them load their assets on every single page/post while not all posts 
   contain linked pictures or galleries.
 * Currently, the unload everywhere has its pitfalls; what will it do for assets
   on wp-login, like reCaptcha?
 * Maybe an option to add a URL based field?
    -  This topic was modified 9 years, 7 months ago by [Blamedutchie](https://wordpress.org/support/users/blamedutchie/).

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

 *  [Carlton](https://wordpress.org/support/users/corupt/)
 * (@corupt)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/feature-request-post-types-2/#post-8266654)
 * I have a similar request that I’m going to tag onto to yours.
 * Global Unload with post type exceptions.
 * For example: If Global Unload is selected then an additional option would be 
   added that you could check to say Add Exception for this post type.
 * Then another plugin could be used to create custom post types for whatever the
   page or post that is using those assets and boom good to go. This would atleast
   work for me.
 * Reasoning?
    I create posts that use a table plugin for product comparisons. It
   loads 5 scripts for that one plugin. I only need those scripts for those post
   types not any of my regular blog posts that do not contain those comparison tables.
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/feature-request-post-types-2/#post-8266730)
 * [@blamedutchie](https://wordpress.org/support/users/blamedutchie/) – I agree 
   the UI is not the best and I’m open to any suggestions. You’re not using it often
   though 🙂 – Yes, disabling reCAPTCHA too on login page is not ideal so I will
   find a solution for this.
 * [@corupt](https://wordpress.org/support/users/corupt/) – due to high demand, 
   I will implement this feature. I will think of an effective way to implement 
   both unload by post type or unload everywhere except on specific post types.
 *  [Carlton](https://wordpress.org/support/users/corupt/)
 * (@corupt)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/feature-request-post-types-2/#post-8266765)
 * [@gabelivan](https://wordpress.org/support/users/gabelivan/) Very awesome to 
   hear Gabe! You are an awesome WP developer!
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/feature-request-post-types-2/#post-8454776)
 * [@corupt](https://wordpress.org/support/users/corupt/), now you can unload assets
   for specific post types. For instance, if you need to remove a specific CSS file
   only on pages, blog posts or a custom post type, you can do that.
 *  [Carlton](https://wordpress.org/support/users/corupt/)
 * (@corupt)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/feature-request-post-types-2/#post-8455435)
 * my excitement: [https://memegenerator.net/instance/29446561](https://memegenerator.net/instance/29446561)
 * Will respond back when I’ve setup the custom post types and everything is running
   boss mode.
 * BTW Congrats on 1000+ installs!
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/feature-request-post-types-2/#post-8506264)
 * [@corupt](https://wordpress.org/support/users/corupt/), how it’s going? Have 
   you had time to test it? I’ve just released an update fixing a bug. Latest version
   is now 1.2.4.1.
 *  [Carlton](https://wordpress.org/support/users/corupt/)
 * (@corupt)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/feature-request-post-types-2/#post-8506905)
 * Hi [@gabelivan](https://wordpress.org/support/users/gabelivan/)
 * Yes it worked beautifully on one site!
 * The other really didn’t work only because I wasn’t able to setup the custom post
   types like I thought I could.
 * So now I wish there were some other way to help this plugin differentiate between
   certain posts in the regular Posts post type. Only way I can think of is with
   tagging or post format.
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/feature-request-post-types-2/#post-8507096)
 * Hi Carlton [@corupt](https://wordpress.org/support/users/corupt/),
 * Can you be more specific about this one:
    _>>> The other really didn’t work only
   because I wasn’t able to setup the custom post types like I thought I could._
 * Haven’t you registered the custom post type through WordPress the way it should
   be with register_post_type? Note that obviously only the “public” post types (
   viewed in the front-end) will be relevant.
 * Regards,
    Gabriel
 *  [Carlton](https://wordpress.org/support/users/corupt/)
 * (@corupt)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/feature-request-post-types-2/#post-8507159)
 * Hi [@gabelivan](https://wordpress.org/support/users/gabelivan/)
 * Do not worry there is absolutely nothing wrong with your plugin.
    I just thought
   I could setup a custom post type for another site but it didn’t allow me to have
   all the options I needed.
 * So basically I’m not able to use your plugin to clear out those assets because
   the custom post types don’t come with all the options that I need to build those
   types of posts.
 * So the only other way I would be able to clear assets out of these types of posts
   would be if WP asset cleanup had a new option to filter out assets by post format
   type (sticky, video, quote etc) or by tags.
 * Then I could go to each individual post and change it’s format to a certain type
   or tag it with a certain tag and then select the option in WP asset cleanup to
   clear out those certain scripts & css. Exactly like what it does now with the
   custom post types.
 * This would be cool but I didn’t even bother to ask because you just updated the
   entire plugin to include custom post types (which works awesomely!).

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

The topic ‘Feature request: post types’ 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/)

## Tags

 * [feature_request](https://wordpress.org/support/topic-tag/feature_request/)
 * [Post Types](https://wordpress.org/support/topic-tag/post-types/)

 * 9 replies
 * 3 participants
 * Last reply from: [Carlton](https://wordpress.org/support/users/corupt/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/feature-request-post-types-2/#post-8507159)
 * Status: resolved