Add post id to url instead of WordPress default -2 suffix
First, go to wherever you defined the custom post type. For instance, if I were writing a function to define a custom post type “books”, I would use register_post_type( ‘books’, $args ) where $args is an array used to configure the post type properties. By default, custom post types use the post type key as … Read more