Custom Post Type Permalinks
·
Edit the permalink of custom post type.
Valoraciones
Versión
3.5.3
Instalaciones activas
200K
Última actualización
Oct 10, 2024
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 ).
Este plugin está publicado en GitHub.
Donation: Please send My Wishlist or Paypal
Traductores
- Japanese(ja) – Toro_Unit
- Francés(fr_FR) – Geoffrey Crofte
- Ruso(ru_RU) – Olart, Natali_Z
Also checkout
Setting on Code
Ejemplo:
register_post_type( 'foo', array( 'public' => true, 'has_archive' => true, 'rewrite' => array( "with_front" => true ), 'cptp_permalink_structure' => '%post_id%' ) );