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

---

Cerca extensions

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

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Custom Post Type Multiroutes

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

[Baixa](https://downloads.wordpress.org/plugin/custom-post-type-multiroutes.zip)

 * [Detalls](https://ca.wordpress.org/plugins/custom-post-type-multiroutes/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/custom-post-type-multiroutes/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/custom-post-type-multiroutes/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/custom-post-type-multiroutes/#developers)

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

## Descripció

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

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

## Instal·lació

 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.

## PMF

  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.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Custom Post Type Multiroutes» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

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

“Custom Post Type Multiroutes” s’ha traduït a 2 configuracions regionals. Gràcies
als [traductors](https://translate.wordpress.org/projects/wp-plugins/custom-post-type-multiroutes/contributors)
per les seves aportacions.

[Traduïu «Custom Post Type Multiroutes» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/custom-post-type-multiroutes)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/custom-post-type-multiroutes/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/custom-post-type-multiroutes/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/custom-post-type-multiroutes/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/custom-post-type-multiroutes/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 0.1.1

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

#### 0.1.0

 * Initial release.

## Meta

 *  Versió **0.1.2**
 *  Darrera actualització **fa 6 anys**
 *  Instal·lacions actives **Menys de 10**
 *  Versió del WordPress ** 4.9 o posterior **
 *  Provada fins a **5.3.21**
 *  Versió del PHP ** 5.6 o posterior **
 *  Idiomes
 * [English (US)](https://wordpress.org/plugins/custom-post-type-multiroutes/), 
   [Spanish (Chile)](https://cl.wordpress.org/plugins/custom-post-type-multiroutes/),
   i [Spanish (Spain)](https://es.wordpress.org/plugins/custom-post-type-multiroutes/).
 *  [Traduïu a la vostra llengua](https://translate.wordpress.org/projects/wp-plugins/custom-post-type-multiroutes)
 * Etiquetes
 * [custom post types](https://ca.wordpress.org/plugins/tags/custom-post-types/)
   [multilingual](https://ca.wordpress.org/plugins/tags/multilingual/)[routes](https://ca.wordpress.org/plugins/tags/routes/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/custom-post-type-multiroutes/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/custom-post-type-multiroutes/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/custom-post-type-multiroutes/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](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)