Title: Specific pages, post types
Last modified: September 11, 2020

---

# Specific pages, post types

 *  Resolved [qwik3r](https://wordpress.org/support/users/qwik3r/)
 * (@qwik3r)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/specific-pages-post-types/)
 * Is there anyway to just load a specific css snippet on certain post types? For
   example I don’t need custom php scripts or css loading on my front sales page
   that pertain to learn dash.
 * Not sure if there is a way to differentiate somehow and even use another plugin
   like plugin organizer or asset cleanup to selectively load/unload one of the 
   snippets on a post type entirely.
 * Thanks.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/specific-pages-post-types/#post-13727208)
 * You can use the [`get_post_type()`](https://developer.wordpress.org/reference/functions/get_post_type/)
   function to achieve this.
 * Let me know if you’d like an example!

Viewing 1 replies (of 1 total)

The topic ‘Specific pages, post types’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/specific-pages-post-types/#post-13727208)
 * Status: resolved