[WordPress] 外掛分享: SF Pages For Custom Posts

首頁外掛目錄 › SF Pages For Custom Posts
10+
安裝啟用
尚無評分
4553 天前
最後更新
問題解決
WordPress 3.0+ v0.5 上架:2011-09-13

內容簡介

此外掛已不再進行維護!

請參閱我的另一個外掛程式 SF Archiver,該程式可以實現相同的功能。

描述

已經厭倦為你的自定義文章類型創建特定循環的自定義頁面模板了嗎?
此外掛程式讓你可以輕鬆地使用設置面板為自定義文章類型分配頁面,就像為普通文章一樣。

前往「設置」>「自訂文章頁面」,所有公開的自定義文章類型將被列出。
你可以選擇他們將要顯示的頁面(當然),每頁文章數量,還可以選擇是否需要使用模板(例如頁面、存檔、首頁等等)。在大多數情況下,你不需要指定模板,只需讓它保持原狀即可(但這在某些主題中可能有用)。
你也可以選擇在首頁上顯示自定義文章類型:只需指定與「設置」>「閱讀」中選擇的相同頁面,並可選擇指定「首頁」模板。

請注意,此外掛程式不是為了在你的頁面中創建第二個循環,而是替換原始循環。

此外掛程式仍處於測試版階段,因此可能無法對所有人生效。到目前為止,它在我使用的 WP 3.2.1 和 TwentyEleven 主題中運作良好。

翻譯

英文
法文

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SF Pages For Custom Posts」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin is not maintained anymore!
Please see my other plugin SF Archiver which does quite the same thing.
Description
Sick of creating custom page templates with a specific loop for your custom post types?
This plugin allows you to easily assign to a page your custom post types with a settings panel, like you can do with normal posts.
Go to Settings > Pages for C. Posts, all your public custom post types will be listed.
You can choose the page where they will be displayed (of course), the number of posts per page, and also the template to use if needed (e.g. Page, Archive, Home page…). In most cases you don’t have to specify a template, just let it as it is (but this can be useful with some themes).
You can also choose to display a custom post type on your home page: just specify the same page as you have chosen in Settings > Reading, and optionally, specify the “Home page” template.
Note that this plugin is not for creating a secondary loop in your page, it will replace the original loop.
This plugin is still in beta-test, so it may not work for everybody. So far, it works fine with WP 3.2.1 and TwentyEleven for me.
Translations

English
French

延伸相關外掛

文章
Filter
Mastodon