You can register a custom post type with a custom slug permalink structure.
$args = array(
'rewrite' => array( 'slug' => 'our-work/book' ),
);
register_post_type( 'projects', $args );
Related Posts:
- Display most recent post in category instead of archive?
- Single.php Active Category Class
- get_post_type_archive_link(‘post’) returns current category archive
- Category List (Archive) Page Template By Category
- singular posts using archive styling
- How to view all posts (on site, not admin) that are uncategorized?
- Highlighting Current Category in the Archive and Feeds page
- Remove subcategory slug from url
- Posts are not displaying on their category and tag page
- How to add a ‘News’ section to specific posts in WordPress
- show image gallery in archives or category page
- Prevent Archive URLs
- Get posts from category from custom query
- How to organise post by category and date
- How to set a link to custom archieve page
- How to get pagination working with “Pending” Posts
- Show all posts in category
- how to show all post with its contents
- Difference between an archive and a page listing posts
- MySQL Query to Retrieve Category from wp_posts
- Clear cache when a post is submitted [closed]
- Category checkbox list tree changes when editing a post
- How to sort posts by last name (2nd word) on ONE category only?
- widget should display post archive by year and on click also by month
- Regex problem in an add_rewrite_rule
- At my posts archive page, outside the loop, get_the_id() returns the top most post’s ID
- Most efficient way to list all categories and display a post for each of them?
- prevent showing posts of an specific category in admin posts section
- Link for the page archive for posts, like using custom post types with get_post_type_archive_link
- Auto set Post to Specific Categories
- How to Add ‘Post Categories’ to the Dashboard Sidebar
- New blog template to display only one category
- WordPress menu that shows all posts in a certain category like w3schools
- How can I list random authors from current post category?
- How do I render all posts of the same category in same layout?
- How to limit displayed posts on wordpress
- WordPress list posts from sub categories
- Select a random post from a specific category?
- Dynamically generate child-URLs for posts or custom posts
- How to filter posts that belong to a specific category only if that is the only category
- List posts in a given category
- Child_of not displaying all children posts.. via get_posts
- post categories
- How can i limit the number of posts created per category?
- Get Posts Under Custom Taxonomy
- Prevent additional top level categories but allow more children
- If in_category not working for multiple single.php pages
- How can I hide tags on a child-category page, if that tag has not been used?
- How do I stop the loop from repeating in my category template?
- Is it possible to add/tick a category to a post when it is created?
- Hide posts belongs to few categories in homepage
- post category in wp_insert_post
- store posts_id of category into a varable?
- Display posts of specific category term
- Widget that shows categories with posts numbers
- Latest posts by category — how to exclude current post?
- Relative number of post in category
- How to get post with associated categories and tags names instead of ids with rest api?
- Display a mixed list of posts and media
- Programmatically add posts from specific category to menu
- How to get posts ordered by using their categories?
- Get post category as a separate string and url
- How to show category based post in home page?
- add_rewrite_rule and template redirect not working
- adding my posts (author posts) in menu
- How to create a list of links to post with specific category
- Display all Categories except ones with a specific parent
- Post meta not working
- ACF date picker to trigger category change
- get category in list of posts // shortcode for custom related posts
- Featured Story Shortcode not outputting content
- Get Category in save_post Hook
- Add a url parameter to the current post and read it in a shortcode
- How to show category image if no featured image is set?
- How to add category base prefix to wordpress permalink
- How to show posts ordered by random [duplicate]
- How to run select query of post with category and tags?
- Query posts from newest category
- Page 2 has no posts?
- Point users to a specific url directory for some posts
- Static text above category page
- Ajax – Post Categories and Load More
- Show only top 3 posts from 3 categories in order on home page
- Hide categories from showing above a Post
- Show post if in category
- How to display custom content in post with category XXX
- Order posts by separate menu order for different sub-categories
- Rewrite a specific Post Format to URL slug
- Delete old post with new post
- I need to create a page or post hierarchy
- Separate categories parents, childs and grandchilds in dropdowns
- Display ONLY Latest Post From Several Categories
- Exclude sub sub categories from displaying in the archive page
- Taxonomy Category category.php not working
- Change from all posts to specific categories post on main page?
- How to sort the post to a specific category
- wordpress category Description not allowed tag
- Blog posts are not appearing as subs of Blog Page
- Site ‘Categories’: save an admin global setting with post metadata [closed]
- Post pages are redirecting to the 404 page in wordpress