Title: Target specific custom post types
Last modified: January 20, 2025

---

# Target specific custom post types

 *  Resolved [lauren1234567](https://wordpress.org/support/users/lauren1234567/)
 * (@lauren1234567)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/target-specific-custom-post-types/)
 * Hi,
 * I was wondering if you could tell me how I can target all sub pages under a specific
   page? I have a custom post type called products which uses wp core categories
   as a taxonomy to organise the products. I want to show a loading page on the 
   category pages. The url structure of the categories are like below;
   domain/category/
   cameras/
 * /category/cameras/format
 * /category/zoom-lenses/
 * /category/zoom-lenses/format-zoom-lenses/
 * Am I able to target all sub pages of /category/

Viewing 1 replies (of 1 total)

 *  Plugin Author [CodePeople2](https://wordpress.org/support/users/codepeople2/)
 * (@codepeople2)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/target-specific-custom-post-types/#post-18253948)
 * Hello [@lauren1234567](https://wordpress.org/support/users/lauren1234567/)
 * Thank you so much for using our plugin. If your website domain is for example`
   https://www.yourwebsite.com` you should enter the URL with wildcards through 
   the “Display the loading screen only on pages with the URLs (If this field is
   left empty, the loading screen will be displayed on all pages.)” attribute in
   the plugin settings page.
 * E.g.
 *     ```wp-block-code
       https://www.yourwebsite.com/category/*
       ```
   
 * Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Target specific custom post types’ is closed to new replies.

 * ![](https://ps.w.org/loading-page/assets/icon-256x256.gif?rev=2316939)
 * [Loading Page with Loading Screen](https://wordpress.org/plugins/loading-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/loading-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/loading-page/)
 * [Active Topics](https://wordpress.org/support/plugin/loading-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/loading-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/loading-page/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [CodePeople2](https://wordpress.org/support/users/codepeople2/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/target-specific-custom-post-types/#post-18253948)
 * Status: resolved