• Does anyone know if there’s some functions.php code, or a WP default URL, that will allow me to restrict the listings being shown to a specific Category & Custom Post Type.

    By Category, I do mean the default Categories taxonomy built into WP, which I’ve assigned to my custom post type Videos (cpt_videos is it’s name).

    If I don’t use Pretty Permalinks (ie, leave them set to the default), I can get these pages via URLs such as mywebsite.com/?post_type=cpt_videos&cat=9

    However that stops working once you turn permalinks on. Any idea as to how to accomplish this with pretty permalinks?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘URL for a posts that are both in a specific Category & Custom Post Type’ is closed to new replies.