I'm looking to get my permalink to become something similar to this:


Automatically it's searching such as this:


I attempted setting the "slug" to "projects/%publish_id%" however it appeared as if this:


It is possible to method to set the slug to my custom slug "/" the id for that publish? Any assistance is appreciated.

A present from me for you: Just replace "property" using the title of the custom publish type. Gets into your theme's functions.php

add_filter('post_type_link', 'property_post_type_link', 1, 3);

function property_post_type_link( $link, $post = 0 ){
    if ( $post->post_type == 'property' ){
        return home_url( 'property/' . $post->ID );
    } else {
        return $link;

add_action( 'init', 'property_rewrites_init' );

function property_rewrites_init(){
        'top' );

Is 'projects' a category or tag etc?

Something similar to the below should work if projects is really a category or tag.