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

首頁外掛目錄 › Custom Post Type Lockdown WordPress
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
★★★★★
5/5 分(2 則評價)
4444 天前
最後更新
問題解決
WordPress 3.1+ v1.11 上架:2012-12-04

內容簡介

很多時候你會使用自定的文章類型當作內容片段,但不希望使用者單獨檢視它們,或在搜尋中找到它們。這個 WordPress 外掛可以幫助你達成這點,讓你可以在每一個文章中,以精細且個別化的方式,選擇要將使用者重新導向到不同的頁面,甚至取代搜尋結果。

例如,如果你的自定文章類型是「員工」,但不希望任何人單獨檢視該員工的個人檔案,而是希望將他們導向員工總覽頁面,那這個外掛就非常有用。

這個外掛提供三種選項:
1. 在自定文章類型旁打勾「Prevent」,將不允許任何該類型的單一檢視,並將使用者重新導向到網站上的另一個頁面。
2. 選擇要重新導向的頁面,將使用者從單一檢視頁面重新導向到這個頁面。預設情況下,他們會重新導向回首頁。
3. 選擇要取代自定文章類型在搜尋結果中顯示的頁面,將會用你設定的頁面取代它在搜尋結果中的連結和摘要。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.11) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Custom Post Type Lockdown WordPress」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Often times you use custom post types as bits of content but don’t want people to view them individually, outside their context, or search for them. This plugin does just that, allowing you to choose to redirect people to a different page, and even overwrite search results, on a granular, per-post basis.
This is useful, for example, if you have Staff as your custom post type, for example, but don’t want anyone visiting the single of that staff and instead want them going to a staff overview page.
Three options:
1. Checking “Prevent” next to a custom post type will not allow any single views of that type, and will redirect viewers to another page of your site.
2. Selecting the redirect page will redirect viewers of that single to this page – by default they will be redirected home.
3. Selecting a search overwrite page will replace that custom post type’s results on the search page with your desired page; it will overwrite the permalink and the excerpt.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon