Skip to main content


WordPress – Include Custom Category in url of Custom Post Type

Submitted by admin on Thu, 12/16/2021 - 14:09

In this WordPress tutorial we will learn how to include custom category or taxonomy term in url of custom post type.

Let's say we have a custom post type course. And we also have a custom taxonomy subject for this post type.

Step 1: Create A Custom Content Type

Let's create a custom content type course. Add below codes in functions.php file of your theme.

Subscribe to WordPress