• Resolved lauren1234567

    (@lauren1234567)


    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

    (@codepeople2)

    Hello @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.

    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.