Ad Inserter
94Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...
Edit the permalink of custom post type.
Custom Post Type Permalinks is a WordPress plugin that allows you to modify the permalink structure of custom post types. It enables you to set custom taxonomy archive permalinks and supports date archives for custom post types. This plugin is suitable for users who need specific permalink configurations for their custom content types.
Best for: This plugin is best for WordPress site owners who work with custom post types and need tailored permalink structures.
What it does well
Where it falls short
Custom Post Type Permalinks offers useful functionality for managing custom post type URLs. It is a practical choice for those looking to enhance their site's permalink structure.
Toro_Unit (Hiroshi Urabe)'s own description of Custom Post Type Permalinks, lightly tidied.
Custom Post Type Permalinks allow you edit the permalink structure of custom post type.
Change custom taxonomy archive’s permalink to “example.org/post_type/taxonomy_name/term_slug”. Can disable this fix.
And support wp_get_archives( 'post_type=foo' ) and post type date archive (ex. example.com/post_type_slug/date/2010/01/01 ).
This Plugin published on GitHub.
Donation: Please send My Wishlist or Paypal
Example:
register_post_type( 'foo',
array(
'public' => true,
'has_archive' => true,
'rewrite' => array(
"with_front" => true
),
'cptp_permalink_structure' => '%post_id%'
)
);
add_filter( 'cptp_is_rewrite_supported_by_foo', '__return_false' );
// or
add_filter( 'cptp_is_rewrite_supported', function ( $support , $post_type ) {
if ( 'foo' === $post_type ) {
return false;
}
return $support;
}, 10, 2);
Other plugins for custom content structures.
Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...
ACF helps customize WordPress with powerful, professional and intuitive fields. Proudly powering over 2 millio...
Checkout Field Editor (Checkout Manager) for WooCommerce – The best WooCommerce checkout manager plugin to man...
Easily reorder posts, pages, custom post types, and taxonomies with intuitive drag-and-drop sorting in the Wor...
The #1 user-rated activity log plugin for event logging, activity monitoring and change tracking.
Admin UI for creating custom content types like post types and taxonomies