Thanks for the kind words, they’re greatly appreciated.
There’s is now a commercial PlugIn that does exactly that;
https://www.cardemons.com/shop/car-demon-not-cars-for-sale/
For those of you who are interested in the mechanics, the Not Cars PlugIn works by adding an action to init and re-registering the cars_for_sale post type with new labels.
register_post_type( 'cars_for_sale',
array(
'labels' => array(
'name' => $cd_for_sale_plural_u. __( ' For Sale', 'car-demon-not-cars' ),
'singular_name' => __( 'New ','car-demon' ) . $cd_for_sale_plural,
),
'public' => true,
'rewrite' => array('slug' => $cd_for_sale_plural.'-for-sale'),
'has_archive' => true,
'supports' => array('title','editor','thumbnail')
)
);
Then we grab global $wp_post_types; and update the labels and the url rewrite. We then go in and resave our permalinks and Car Demon should now give you urls like;
https://yoursite.com/boats-for-sale or whatever you opt to switch it to.
We also have an admin area that say ‘Boats for sale’ instead of ‘Cars for sale’ making it more logical to manage.
Make sure you’re running the latest development version. It’s available on the developer’s tab.
Hope this helps.
-j