Title: Custom Post Type Multiroutes
Author: arg82
Published: <strong>6 janvier 2020</strong>
Last modified: 7 janvier 2020

---

Recherche d’extensions

![](https://ps.w.org/custom-post-type-multiroutes/assets/banner-772x250.jpg?rev=
2223038)

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://ps.w.org/custom-post-type-multiroutes/assets/icon-256x256.jpg?rev=2223038)

# Custom Post Type Multiroutes

 Par [arg82](https://profiles.wordpress.org/arg82/)

[Télécharger](https://downloads.wordpress.org/plugin/custom-post-type-multiroutes.zip)

 * [Détails](https://fr.wordpress.org/plugins/custom-post-type-multiroutes/#description)
 * [Avis](https://fr.wordpress.org/plugins/custom-post-type-multiroutes/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/custom-post-type-multiroutes/#installation)
 * [Développement](https://fr.wordpress.org/plugins/custom-post-type-multiroutes/#developers)

 [Support](https://wordpress.org/support/plugin/custom-post-type-multiroutes/)

## Description

Custom Post Type Multiroutes allows you to manage, add, edit and update multiple
routes for your Custom Post Types.
 Minimum configuration needed. Install it, type
your routes for your posts and refresh permalinks.

### Use case

Say you have a custom post type called ‘Galleries’ and you want it to appear on 
two archive pages:

    ```
    /news/gallery/
    /media/album/
    ```

And its single pages to be: `/news/gallery/<gallery-name>` and `/media/album/<gallery-
name>`

All you have to do is:

 1. Go to Settings > CPT Multiroutes (you will se a list of your custom post types)
 2. Click on « Add Route » for your ‘Galleries’ post.
 3. Fill the new imput for that new route, in this case ‘news/gallery’
 4. Repeat 2&3 per route you want to add.
 5. Select the checkbox ‘Rewrite this post type archive to these routes’ if you want
    that route to be your archive page for the custom post type.
 6. Click Save Routes.

Additionally a custom Metabox will appear on each of those custom post types on 
its admin edit page, there you will be able to choose individually on which route
you wish the post to be visible. By default it will be visible on all defined routes.

If you are using WPML for multilanguage, when you add a route, an input for each
acive language will appear so you can translate those new routes.

## Captures d’écrans

 * [[
 * Settings.
 * [[
 * Admin custom post edit list.
 * [[
 * Metabox on admin edit post page.

## Installation

 1. Upload the entire `Custom-Post-Type-Multiroutes` folder to the `/wp-content/plugins/`
    directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## FAQ

  Can i use this plugin for existing custom post types?

Yes. It will work with all CPT with these properties: ‘show_ui’ => true, ‘show_in_menu’
=> true.

  Can i translate the routes?

Yes. But currently it’s only compatible with WPML.

  Is there a route limit?

No, you can add as much routes as you need.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« Custom Post Type Multiroutes » est un logiciel libre. Les personnes suivantes 
ont contribué à cette extension.

Contributeurs

 *   [ arg82 ](https://profiles.wordpress.org/arg82/)

“Custom Post Type Multiroutes” a été traduit dans 2 locales. Remerciez [l’équipe de traduction](https://translate.wordpress.org/projects/wp-plugins/custom-post-type-multiroutes/contributors)
pour ses contributions.

[Traduisez « Custom Post Type Multiroutes » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/custom-post-type-multiroutes)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/custom-post-type-multiroutes/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/custom-post-type-multiroutes/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/custom-post-type-multiroutes/)
par [RSS](https://plugins.trac.wordpress.org/log/custom-post-type-multiroutes/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 0.1.1

 * Added admin edit post list column and filter by post cptmr_route postmeta.
 * Bugfix.

#### 0.1.0

 * Initial release.

## Méta

 *  Version **0.1.2**
 *  Dernière mise à jour **il y a 6 ans**
 *  Installations actives **Moins de 10**
 *  Version de WordPress ** 4.9 ou plus **
 *  Testé jusqu’à **5.3.21**
 *  Version de PHP ** 5.6 ou plus **
 *  Langues
 * [English (US)](https://wordpress.org/plugins/custom-post-type-multiroutes/), 
   [Spanish (Chile)](https://cl.wordpress.org/plugins/custom-post-type-multiroutes/),
   et [Spanish (Spain)](https://es.wordpress.org/plugins/custom-post-type-multiroutes/).
 *  [Traduisez la dans votre langue](https://translate.wordpress.org/projects/wp-plugins/custom-post-type-multiroutes)
 * Étiquettes
 * [custom post types](https://fr.wordpress.org/plugins/tags/custom-post-types/)
   [multilingual](https://fr.wordpress.org/plugins/tags/multilingual/)[routes](https://fr.wordpress.org/plugins/tags/routes/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/custom-post-type-multiroutes/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

[Your review](https://wordpress.org/support/plugin/custom-post-type-multiroutes/reviews/#new-post)

[Voir tous les avis](https://wordpress.org/support/plugin/custom-post-type-multiroutes/reviews/)

## Contributeurs

 *   [ arg82 ](https://profiles.wordpress.org/arg82/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/custom-post-type-multiroutes/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=UMNUKQHKN8AQC&item_name=Help+me+continue+developing+CPTMultiroutes+plugin%21&currency_code=EUR&source=url)