[WordPress] 外掛分享: Map Categories to Pages

首頁外掛目錄 › Map Categories to Pages
800+
安裝啟用
★★★★★
5/5 分(3 則評價)
5052 天前
最後更新
問題解決
WordPress 2.6+ v1.3.2 上架:2010-02-14

內容簡介

版本 1.3.2 的更新:
1. 自動插入中新增了分頁功能。每頁顯示文章數根據「閱讀設定」中的「網誌頁面每頁最多顯示篇數」調整。以下 CSS 類別可以用來更改風格:
.navigation
.alignleft
.alignright

版本 1.3.1 的更新:
1. 小工具中新增「排除分類 ID」選項。

版本 1.3 的更新:
1. 新增可顯示屬於頁面所在分類的頁面小工具。

版本 1.2.3 的更新:
1. 修正錯誤。
2. 在「編輯頁面」頁面上顯示分類。

版本 1.2.2 的更新:
1. 如果頁面未被映射到任何分類,則不自動插入文章。以前,如果頁面未被映射到任何分類,則會插入所有文章。

版本 1.2.1 的更新:
1. 提高 WordPress 3 中菜單的兼容性。感謝 Joe http://joesutthoff.com

版本 1.2 的更新:
1. 兼容 WordPress 3

版本 1.1 的更新:
1. 自動插入選項可用於分類頁面上的頁面
2. 自動插入選項可用於屬於同一分類的頁面上的文章。

將分類映射到頁面會在「編輯頁面」頁面上顯示分類框。預設情況下,WordPress 中的每個頁面都映射到預設分類,但這個外掛程式提供了選擇為頁面選擇分類的選項。

此外掛程式使用的分類框與 WP 核心中編輯文章頁面上顯示的分類框相同。

當您想要在頁面上顯示特定分類的文章時,此外掛程式就很有用。您需要編輯頁面模板來包含分類。可以參考標準 WordPress 文章分類雛型。請查看 https://codex.wordpress.org/Function_Reference/get_the_category 和 https://codex.wordpress.org/Template_Tags/the_category。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Updates in version 1.3.2:
1. Added pagination in auto-insertion. Number of posts per page are be displayed from “Blog pages show at most” settings from “Reading” option page. Use following CSS classes to change styles.
.navigation
.alignleft
.alignright
Updates in version 1.3.1:
1. Exclude Category IDs option on Widget.
Updates in version 1.3:
1. Widget to display pages from the Page’s category.
Updates in version 1.2.3:
1. Bug fixes.
2. Display categories on Edit Pages page.
Updates in version 1.2.2:
1. Do not auto-insert posts if the Page isn’t mapped to any Category. It used to insert all the posts if the Page isn’t mapped to any Category.
Updates in version 1.2.1:
1. Improved compatibility with Menus in WordPress 3. Thanks to Joe http://joesutthoff.com
Updates in version 1.2:
1. Compatible with WordPress 3
Updates in version 1.1:
1. Option for auto-insertion of the Pages on Category pages
2. Option for auto-insertion of Posts on the Pages which belong to the same category
Map Categories to Pages displays the category box on the “Edit Page” page. By default, Every page in wordpress is mapped to the default category but this plugin gives the option to select categories for a pages.
This plugin uses the same category box which displays on the edit post page from the core of WP.
It is useful when you want to display posts from certain categories on the pages. You will have to edit your page template to encorporate categories. Follow the standard wordpress categories syntex used for posts. Take a look at https://codex.wordpress.org/Function_Reference/get_the_category and https://codex.wordpress.org/Template_Tags/the_category.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon