前言介紹
- 這款 WordPress 外掛「Archive Control」是 2016-09-22 上架。
- 目前有 2000 個安裝啟用數。
- 上一次更新是 2023-11-30,距離現在已有 523 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.1 以上版本才可以安裝。
- 有 11 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
archive | post type | archive page | archive template | custom post type |
內容簡介
這是一個簡單快速的方式來自定義檔案庫頁面(或像定制文章類型,分類,標籤或自訂稅項名稱這樣列出文章的頁面)。您可以在列表之前或之後添加可編輯的內容,也可以添加特色圖像。它還允許您單獨設置這些頁面的順序和分頁,而不影響您網站的其餘部分。分類可以在所有項目之間共享設置,或者在每個項目上具有特定的設置。管理員可以更改設置,網站編輯者可以輕鬆地更改內容。
檔案庫標題:如果您的主題正在使用the_archive_title()函數,那麼您可以修改您的檔案庫標題。
刪除標籤(檔案庫,類別,標籤等)-有時您只想摆脱煩人的默认字词。
自定義覆蓋-允許編輯器為檔案庫主標題寫入自訂內容。
特色圖像:您可以允許添加適用於檔案庫頁面的自定義特色圖像,並自動將其添加到列表之上,或使用主題函數自行添加。
列表之前的內容:讓網站編輯人員直接編輯列表前的內容。您可以自動添加它,或使用主題函數控制其放置位置(參見“其他注意事項”選項卡)。
列表之後的內容:讓網站編輯人員直接編輯列表之後的內容。您可以自動添加它,或使用主題函數控制其放置位置(參見“其他注意事項”選項卡)。
檔案庫排序:現在可以在幾個點擊中更改檔案庫頁面的排序方式,而不使用代碼。
發佈日期
標題
修改日期
菜單訂單
隨機的
ID
作者
文章縮略名
文章類型
評論數
長輩
元值
元值(數字)
沒有順序
檔案庫排序:除了排序設置之外,您還需要更改排序方向。
升序
降序
檔案庫分頁:分頁設置易於更改,而無需更改代碼。
顯示所有
自訂每頁文章數
項目編輯選項:對於類別、標籤和自定義稅項,您可以選擇幾個其他選項。
每個項目的順序和分頁-按項目自定義排序和分頁。
隱藏描述字段-您可以選擇隱藏WordPress後端的描述字段。
隱藏父節點字段-在分層稅項上,您可以選擇隱藏WordPress後端的父節點字段。
插件不會將CSS或javascript添加到前端,檔案庫頁面的樣式完全由您自己控制。這個插件對普通用户和開發人员都非常友好。您可以完全在不更改主題代碼的情況下使用它,或者您可以使用提供的功能更加精確地控制它們的位置和功能。參見“其他注意事項”選項卡。
有想要添加的想法?在SwitchWP中告訴我。
插件提供的功能
the_archive_top_content(boolean $ html=true)
在檔案庫頁面上顯示頂部檔案庫內容。其他HTML標記
原文外掛簡介
A quick easy way to customize archive pages (or pages with lists of posts like custom post types, categories, tags, or custom taxonomy terms). You can add editable content before or after the list, you can add a featured image. It also allows you to set up the order and pagination on these pages separately from the rest of your site. Taxonomies can share settings across all terms, or have specific settings per term. Administrators can change the settings, site editors can easily change the content.
Archive Titles: If your theme is using the_archive_title() function, then you can modify the your archive titles.
Remove Labels (Archive, Category, Tag, etc.) – Sometimes you just want to get rid of the annoying default words.
Custom Override – Allow an editor to write something custom for an archive headline.
Featured Image: You can allow for a custom featured image that applies to an archive page and have it added above the list automatically, or add it yourself via a theme function.
Content Before List: Give your site editors the ability to edit content directly before the archive list. You can have it automatically added, or use a theme function to give you more control over their placement (see the “Other Notes” tab).
Content After List: Give your site editors the ability to edit content directly after the archive list. You can have it automatically added, or use a theme function to give you more control over their placement (see the “Other Notes” tab).
Archive Order By: Instead of messing with code to change the order of an archive page, now you can do it in a few clicks.
Date Published
Title
Date Modified
Menu Order
Random
ID
Author
Post Slug
Post Type
Comment Count
Parent
Meta Value
Meta Value (Numeric)
No Order
Archive Order: In addition to the order by setting, you’ll also want to change the sort order direction.
Ascending
Descending
Archive Pagination: The pagination settings are easy to change without changing code.
Show Everything
Custom Posts Per Page
Term Edit Options: For categories, tags, and custom taxonomies, you can choose a few additional things.
Per Term Order & Pagination – Customize the order, and pagination on a per term basis.
Hide Description Field – You can choose to hide the term description field within the WordPress backend.
Hide Parent Field – On hierarchal taxonomies, you can choose to hide the parent field within the WordPress backend.
The plugin doesn’t add any CSS or javascript to the front end. The styling of the archive page is left completely up to you. This plugin should be friendly for power users and developers alike. You can use it entirely without changing theme code, or you can control the placement and functionality more exactly using the provided functions. See the “Other Notes” tab.
Have an idea that should be added? Let me know at SwitchWP.
Functions Provided by the Plugin
the_archive_top_content( boolean $html = true )
Displays the top archive content on an archive page. Additional html markup can be removed by setting false.
archive_top_content( boolean $html = true, string $post_type_slug = null, string $term_id = null )
Displays the top archive content for any post type anywhere on the site. Additional html markup can be removed by setting false. Post type is automatic if on an archive page.
get_archive_top_content( string $post_type_slug = null, string $term_id = null )
Returns the top archive content for any post type anywhere on the site. Post type or term id is automatic if on an archive page.
the_archive_bottom_content( boolean $html = true )
Displays the bottom archive content on an archive page. Additional html markup can be removed by setting false.
archive_bottom_content( boolean $html = true, string $post_type_slug = null, string $term_id = null )
Displays the bottom archive content for any post type anywhere on the site. Additional html markup can be removed by setting false. Post type is automatic if on an archive page.
get_archive_bottom_content( string $post_type_slug = null, string $term_id = null )
Returns the top archive content for any post type anywhere on the site. Post type or term id is automatic if on an archive page.
the_archive_thumbnail( string $size = ‘large’, string $post_type_slug = null, string $term_id = null )
Display the archive thumbnail. Default size is large but first parameter can set any valid image size, or an array of width and height values in pixels (in that order). Post type is automatic if on an archive page.
get_archive_thumbnail_src( string $size = ‘large’, string $post_type_slug = null, string $term_id = null )
Returns the archive image url source. Default size is large but first parameter can set any valid image size, or an array of width and height values in pixels (in that order). Post type is automatic if on an archive page.
get_archive_thumbnail_id( string $post_type_slug = null, string $term_id = null )
Returns the archive thumbnail id. if you want to use other common WordPress attachment functions to retrieve data about the image. Post type or term id is automatic if on an archive page.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Archive Control」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.1.0 | 1.1.1 | 1.2.0 | 1.2.1 | 1.3.0 | 1.3.1 | 1.3.2 | 1.3.3 |
延伸相關外掛(你可能也想知道)
Smart Archive Page Remove 》Smart Archive Page Remove 外掛允許您自動刪除 WordPress 生成的儲存庫頁面。, 使用方式, WordPress 會自動為您的文章生成基於作者、類別、標籤和日期(每日...。
Archive Page 》存檔頁面, 輕鬆創建存檔頁面,並且提供完整的自定義功能,支援全世界所有語言。, 功能特色, , 僅需要 8 種短碼,即可在數分鐘內建立存檔頁面。, 提供完整自定...。
Categories Recent Posts Widget 》這是一個易於使用的最新文章外掛。此外掛將允許您僅在類別頁面上顯示最近的文章。, 新增功能, , 指定側邊欄中要顯示的文章數量, 顯示/隱藏文章摘要, 指定要在...。
Recent Archive More Widget 》「最近存檔更多小工具」可以在分類存檔頁面的小工具區域中顯示那些未列在頁面內容區域中的文章。如果一篇文章(在當前分類存檔頁面內)已經在頁面內容區域中...。