このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Collapsed Archives

説明

This plugin adds a widget to display archive links using purely CSS-based collapsing; no JavaScript is used.

設定

  • Post counts can optionally be displayed next to the archive links
  • Choice of either +/- or arrows to indicate expansion
  • Option to never automatically expand list for current post / year
  • Choice between displaying archive links in reverse chronological order or chronological order
  • Decades can be collapsed

1.6 (2021-04-03)

  • Added support for collapsing decades (thanks to @PHil-PlainTech)

1.5 (2019-05-05)

  • Fix for warning message in logs

1.4 (2019-04-12)

  • Fixed bug for sites without posts

1.3 (2019-01-16)

  • Fixed deprecation warning in PHP 7.2

1.2 (2018-07-09)

  • Added option for never automatically expanding list for current post / year
  • Fixed issue with wrong year being expanded

1.1 (2015-02-09)

  • Improved theme support

1.0 (2014-12-30)

  • プラグインをリリース

Plugin website

スクリーンショット

  • Example archives list

インストール

For a new installation of the plugin:

  1. Download the zipped plugin file to your local machine
  2. Unzip the file
  3. Upload the “collapsed-archives” folder to your “/wp-content/plugins/” directory
  4. Activate the plugin through the “Plugins” menu in WordPress
  5. Add and configure the widget

If you have already installed this plugin:

  1. プラグインを無効化します
  2. Download the latest files
  3. Follow the new installation steps

評価

2020年12月30日
Has all the options I needed to achieve a Blogger-style treeview archive. I'm sure with some CSS I'll be able to style it however I want in the future. Great work!
2018年8月2日
Works great, thanks a lot. One thing though, somehow within my theme the alignment to the left didn't work out. margin-left: 0 !important; wasn't enough, it seems. I fixed it by adding padding-left: 0! important; to .collapsed-archives > ul { } Also made a modification to add a fade/transition effect to the dropdown. For those interested it's just some addition the last few lines of code: /* Toggled content */ .collapsed-archives input ~ ul { display: inline-block; opacity: 0; transition: opacity 0s linear 0s; -webkit-transition: opacity 0s linear 0s; } .collapsed-archives input:checked ~ ul { opacity: 1; display: block; transition: opacity 0.5s linear 0s; -webkit-transition: opacity 0.5s linear 0s; }
2016年9月3日
Perfect, thank you for this wonderful plugin. Works a charm and looks the neatest!
7件のレビューをすべて表示

貢献者と開発者

Collapsed Archives はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Collapsed Archives” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.6 (2021-04-03)

  • Added support for collapsing decades (thanks to @PHil-PlainTech)

1.5 (2019-05-05)

  • Fix for warning message in logs

1.4 (2019-04-12)

  • Fixed bug for sites without posts

1.3 (2019-01-16)

  • Fixed deprecation warning in PHP 7.2

1.2 (2018-07-09)

  • Added option for never automatically expanding list for current post / year
  • Fixed issue with wrong year being expanded

1.1 (2015-02-09)

  • Improved theme support

1.0 (2014-12-30)

  • プラグインをリリース