[WordPress] 外掛分享: Custom Post Type Multiroutes

WordPress 外掛 Custom Post Type Multiroutes 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Custom Post Type Multiroutes」是 2020-01-05 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2020-01-07,距離現在已有 1947 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.9 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

arg82 |

外掛標籤

routes | multiroutes | multilingual | translate slugs | custom post types |

內容簡介

自訂文章類型多路由外掛可讓您管理、新增、編輯和更新自訂文章類型的多條路由。
最少的設定需求。安裝它,為您的文章輸入路由,然後更新永久連結。

使用情境

假設您有一個名為「畫廊」的自訂文章類型,您想要它顯示在兩個專屬頁面上:

/news/gallery/
/media/album/

而單個頁面的網址將是:/news/gallery/ 及 /media/album/

您只需要:

轉到「設定」 >「自訂文章類型多路由」(您會看到自訂文章類型的列表)
點選您的「畫廊」文章右側的「新增路由」
輸入這條新路由,例如此案例中的「news/gallery」
針對您要新增的每條路由,重複步驟2和3
如果您想要該路由作為自訂文章類型的專屬頁面,請勾選「重新協商此文章類型的專屬頁面至這些路由」的選框
按下「儲存路由」

此外,各自訂文章類型的 WP 管理後台編輯頁面上也會顯示自訂金鑰盤,您可以從那裡選擇專屬路由。預設會顯示在所有定義的路由上。

如果您使用 WPML 進行多語言管理,在新增路由時,每個活動語言都會產生一個輸入框,因此您可以翻譯這些新的路由。

原文外掛簡介

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/ and /media/album/
All you have to do is:

Go to Settings > CPT Multiroutes (you will se a list of your custom post types)
Click on “Add Route” for your ‘Galleries’ post.
Fill the new imput for that new route, in this case ‘news/gallery’
Repeat 2&3 per route you want to add.
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.
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.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Custom Post Type Multiroutes」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Custom Post Type UI 》Custom Post Type UI 提供了易於使用的界面,以便為您的網站註冊和管理自定義文章類型和分類法。, Custom Post Type UI Extended, CPTUI 協助建立自定義內容...。
  • Meta Box 》Meta Box 是一個強大、專業又輕量級的工具組,供開發者在 WordPress 中為任何自訂文章型別建立自訂的 Meta Box 與自訂欄位。, 透過 Meta Box,您可以使用超過...。
  • Pods – Custom Content Types and Fields 》使用「Pods Framework」在一個地方管理你所有自訂內容需求。, , , 建立內容類型,包括自訂文章類型、自訂分類、以及我們專屬的「進階內容類型」(ACT),...。
  • Sydney Toolbox 》Sydney Toolbox 外掛只適用於 Sydney WordPress 主題。, 此外掛註冊了在 Sydney 主題 中所需的自定義文章類型和自定義欄位。。
  • Essential Content Types 》Essential Content Types 是一個 WordPress 外掛程式,讓您可以在您的網站上以不同的內容/文章類型展示出優秀的內容。這些內容/文章類型可能會被 WordPress ...。
  • Apollo13 Framework Extensions 》Apollo13 Framework Extensions 為建立在 Apollo13 Framework 上的主題增加了一些功能。這些功能包括:, , 設計匯入器, 基於 Apollo13 Framework 功能的短代...。
  • Custom Post Types and Custom Fields creator – WCK 》WordPress Creation Kit 是由三個工具組成,可幫助您建立和維護自訂文章類型、自訂分類和最重要的是文章、頁面或自訂文章類型的自訂欄位和元框。, WCK Custom...。
  • MAS Static Content 》MAS Static Content 是一款免費的 WordPress 外掛,可讓你建立自訂文章型態的靜態內容,並使用 shortcode 嵌入網頁。, 使用 [mas_static_content] shortcode ...。
  • Ultimate Posts Widget 》在您的免費虛擬網站上試用:點擊此處 => https://tastewp.com/plugins/ultimate-posts-widget., (此技巧適用於 WP 市集中的所有外掛 – 只需將 URL 中的“w...。
  • Posts 2 Posts 》此外掛允許您在任何類型的文章、頁面或自訂文章之間建立多對多的關係。以下是一些使用範例:, , 手動編輯有關聯的文章清單, 文章系列, 產品與零售商之間的關...。
  • Posts in Page 》使用簡單的簡碼 (shortcodes),輕鬆地將一個或多個文章添加到任何頁面。, 支援類別 (categories)、標籤 (tags)、自訂文章類型 (custom post types)、自訂稅項...。
  • Post Types Unlimited 》Post Types Unlimited 是一個輕鬆的方式,可以以正確的方式向你的 WordPress 網站添加自訂文章類型和自訂分類法 (taxonomy)。此外,這個外掛與任何佈景主題都...。
  • Meteor Slides 》Meteor Slides 讓您輕鬆製作幻燈片並使用 shortcode、小工具或模板標籤發佈它們。 幻燈片支援響應式和流體佈景主題,可適應任何設備並支援觸控。 使用超過20...。
  • MB Custom Post Types & Custom Taxonomies 》MB Custom Post Types & Custom Taxonomies 可以在 WordPress 中提供簡單易用的 UI 來輕鬆註冊和編輯自定義文章類型和分類法,並且可以處理所有文章類型...。
  • Custom Post Type Maker 》Custom Post Type Maker 是一款完美的外掛,以用戶友好的方式創建自定義文章類型和自定義分類法,就像管理常規文章和頁面一樣。, 原始作者為 Bakhuys。, 功能...。

文章
Filter
Apply Filters
Mastodon