
內容簡介
總結:Handy Archive Link 是一個簡單卻功能強大的 WordPress 外掛,可在管理畫面上新增「查看存檔」按鈕,讓您輕鬆預覽存檔頁面,而無需記住網址或離開工作流程。
問題與答案:
1. Handy Archive Link 是一個什麼樣的 WordPress 外掛?
- Handy Archive Link 是一個簡單卻功能強大的 WordPress 外掛,讓您在管理畫面上新增「查看存檔」按鈕,讓您輕鬆預覽存檔頁面。
2. 這個外掛的主要特點有哪些?
- 一鍵存檔存取:可以直接從文章類型列表畫面查看存檔頁面。
- 智能偵測:只有在存檔頁面存在時才會顯示按鈕。
- 可自訂設定:可選擇喜歡的圖示、圖示位置、打開行為以及禁用特定文章類型。
- 自動管理:根據閱讀設定智能處理預設的文章類型。
- 開發者友好:包含過濾器供進階自訂使用。
- 輕量級:沒有冗餘功能,僅包含必要的功能。
- 翻譯就緒:完全可翻譯。
3. Handy Archive Link 適合哪些人使用?
- 經常預覽存檔的內容經理人
- 建立自訂文章類型的開發人員
- 希望更快速的 WordPress 管理導航的任何人
- 具有多個自訂文章類型的網站。
透過這些問題與答案可以更清楚地了解 Handy Archive Link 外掛的功能和優勢。
外掛標籤
開發者團隊
原文外掛簡介
Handy Archive Link is a simple yet powerful WordPress plugin that adds a “View Archive” button to your admin screens, making it incredibly easy to preview archive pages without having to remember URLs or navigate away from your workflow.
Key Features
One-Click Archive Access – View archive pages directly from post type list screens
Smart Detection – Only shows the button when an archive page exists
Customizable Settings – Choose your preferred icon, icon position, open behavior, and disable for specific post types
Automatic Management – Intelligently handles the default Posts type based on your Reading settings
Developer-Friendly – Includes filters for advanced customization
Lightweight – No bloat, just the essentials
Translation Ready – Fully translatable
Perfect For
Content managers who frequently preview archives
Developers building custom post types
Anyone who wants faster WordPress admin navigation
Sites with multiple custom post types
How It Works
Once activated, Handy Archive Link automatically adds a “View Archive” button next to the “Add New” button on all public post types with archives enabled.
The plugin intelligently detects:
* Whether a post type has has_archive enabled
* If a “Posts page” is set in Settings > Reading (for default Posts)
* Automatically disables the button for Posts if no posts page is configured
No configuration needed – it just works! But if you want to customize, head to Settings > Handy Archive Link.
Customization Options
Open in New Tab
Choose whether archive links open in a new browser tab or the same window.
Button Icon
Select from 5 different icons:
* External Link (default)
* Eye
* Link
* Archive
* Portfolio
Icon Position
Choose whether the icon appears before or after the button text for a personalized look that matches your workflow.
Disabled Post Types
Choose which post types should NOT display the “View Archive” button. Note: The default “Posts” type is automatically disabled if no posts page is configured in Settings > Reading.
Developer Features
Handy Archive Link includes filters for developers who need advanced control:
Post Type Filters:
* handy_archive_link_show – Control button visibility per post type
* handy_archive_link_url – Modify archive URL per post type
Example usage:
// Hide button for specific post type
add_filter('handy_archive_link_show', function($show, $post_type) {
if ($post_type === 'my_cpt') {
return false;
}
return $show;
}, 10, 2);
// Custom archive URL
add_filter('handy_archive_link_url', function($url, $post_type) {
if ($post_type === 'product') {
return home_url('/shop/');
}
return $url;
}, 10, 2);
// Conditional logic based on user role
add_filter('handy_archive_link_show', function($show, $post_type) {
if ($post_type === 'product' && !current_user_can('manage_woocommerce')) {
return false;
}
return $show;
}, 10, 2);
Compatibility
Works seamlessly with:
* Custom post types created by any plugin (ACF, Metabox, Pods, Toolset, etc.)
* Any theme
* Multisite installations
* Page builders
Translations
Handy Archive Link is translation-ready and includes:
* English (en_US) – Default
* French (fr_FR) – Français
Support
For support, feature requests, or bug reports:
* Visit the support forum
* Open an issue on GitHub
