內容簡介
這個簡單的外掛是一個小部件,它使用 JavaScripts 在你的小工具區域中顯示一個可摺疊的存檔列表。在 2.0.0 版本中,已添加了 script.aculo.us 效果選項,並利用 WordPress 提供的 script.aculo.us 檔案。
配置
小部件標題:為小部件設置的標題
顯示每年的文章數量:是否顯示每年文章的數量
顯示每月的文章數量:是否顯示每月文章的數量
縮寫月份名稱:勾選此框可以顯示月份名稱的縮寫
隱藏月份名稱中的年份:不要在月份名稱後顯示年份
使用 script.aculo.us 效果:是否顯示效果
展開效果:展開列表時使用的效果
折疊效果:折疊列表時使用的效果
預設展開列表:勾選此框可在加載時展開列表
預設展開當前年份:勾選此框可在加載時展開當前年份
預設展開當前月份:勾選此框可在加載時展開當前月份
顯示個別文章:在列表中顯示文章。這應該要謹慎使用;如果你有很多文章,請考慮禁用此功能,因為這需要時間來加載
使用 HTML 箭頭而非影像 (► ▼)
粗體顯示當前月份:以粗體字顯示當前月份
顯示外掛頁面連結。感謝您的支持!:顯示外掛頁面的連結作為支持方式
待辦事項
添加多個實例的功能
作為非小部件工作的功能
包括/排除分類的功能
展開之前的月份而不是當前日期的月份
研究使用 CSS / 允許 CSS 選項的實用性
列出沒有年份和月份標題的文章(對於帖子很少的博客)
不要列出在主頁面上已列出的文章
外掛標籤
開發者團隊
原文外掛簡介
This simple plugin is a widget that displays a collapsible archives list in your widgetized sidebar by using JavaScripts. In version 2.0.0 script.aculo.us effects has been added as an option, utilizing the script.aculo.us files supplied with WordPress.
Configuration
Widget title: the title of the widget
Show post counts for year: Whether or not to show the post number for each year
Show post counts for month: Whether or not to show the post number for each month
Abbreviate month names: Check this box to show abbreviation of month names
Hide year from month names: Do not print year after month names
Use script.aculo.us effects: Whether or not to show effects
Expand effect: Effect to use when expanding the list
Collapse effect: Effect to use when collapsing the list
Expand the list by default: Check this box to have the list expanded when loaded
Expand current year by default: Check this box to have the current year expanded when loaded
Expand current month by default: Check this box to have the current month expanded when loaded
Show individual posts: Show posts in the list. This should be used in extra caution; if you have a lot of posts consider disabling it as this will take time to load
Use HTML arrows instead of images (► ▼)
Show current month in bold: show current month in bold
Show a link to plugin page. Thank you for your support! : Display a link to plugin page as a support method
TODO
Add ability for multiple instances
Add ability to work as non-widget
Add ability to include / exclude categories
Expand previous month rather the current
Research the practicality to use CSS / allow CSS options
List posts without year and month headers (for blogs with few posts)
Do not list the posts that are listed on the main page
