這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Smart Archives Reloaded

外掛說明

Smart Archives Reloaded allows you to display a list of posts grouped by year and month. It also provides several interesting navigation elements.

Format list:

  • list = a list of posts grouped by month
  • block = a compact block of links to year and date archive pages
  • menu = a two-level menu with links to year and date archive pages
  • both = block + list (example)
  • fancy = menu + list + JavaScript (example)

No support

I do not offer support for this plugin, either free or paid.

Credits:

Links: Plugin News | Author’s Site

螢幕擷圖

  • A fancy archive
  • The Settings Page

安裝方式

See Installing Plugins.

After activating it, create a new page or post and add [smart_archives] to the content.

Alternatively, you can add <?php smart_archives(); ?> anywhere in your theme, where you want the archives displayed.

See http://scribu.net/wordpress/smart-archives-reloaded for more usage examples.

常見問題集

Installation Instructions

See Installing Plugins.

After activating it, create a new page or post and add [smart_archives] to the content.

Alternatively, you can add <?php smart_archives(); ?> anywhere in your theme, where you want the archives displayed.

See http://scribu.net/wordpress/smart-archives-reloaded for more usage examples.

Error on activation: “Parse error: syntax error, unexpected…”

Make sure your host is running PHP 5. The only foolproof way to do this is to add this line to wp-config.php (after the opening <?php tag):

var_dump(PHP_VERSION);

Fancy archive not working

In footer.php in your theme directory, make sure you have this code somewhere:

<?php wp_footer(); ?>.
How can I change the CSS or HTML?

Read this: Advanced Tweaking

使用者評論

2017 年 5 月 10 日
While this plugin is old and unsupported, it still works well. One of the only plugins I've found that will layout a decade of posts in a user friendly manner. Thank you for your hard work on this plugin. I really like the fancy setting, lays it out by year then month.
2017 年 2 月 7 日
[ Moderator note: image link removed. You can post that on your own site if you like but please do not post emails here on these forums. ] Scribu is without a doubt, the [ expletive deleted ] I have ever come in contact with in my entire life. Not only does he refuse to check and answer anyone that has created a topic in the support forum for this Plugin, he thinks he is not obligated to help those that ask for his help on HIS PLUGIN. There aren't enough options within the settings once you download the Plugin, and to be honest, I had to do quite a bit of CSS tweeking and some PHP changes to get it to what I wanted it to look like. The moment I sent him a personal email to ask if he would be kind enough to take a look at the support forum, ^ ^ ^ That happened. DO NOT USE THIS PLUGIN.
閱讀全部 15 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Smart Archives Reloaded〉的開發相關工作。

參與者

〈Smart Archives Reloaded〉外掛目前已有 7 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Smart Archives Reloaded〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.0.5

  • prevent useless SQL queries
  • use latest scbFramework

2.0.4

  • fixed menu when on date archives
  • WP 3.1 compatibility

2.0.3

  • fixed year order in menu & fancy modes
  • improved memory usage

2.0.2

  • fixed year order in block
  • highlighted current month in block
  • updated scbFramework

2.0.1

  • fixed category exclusion

2.0

  • added %excerpt% tag
  • fewer queries
  • advanced post selection
  • removed caching engine
  • more info

1.9.2

  • re-enabled cache

1.9.1

  • updated .pot file
  • made generator class non-static

1.9

  • added ‘menu’ format
  • added new arguments: ‘month_format’, ‘posts_per_month’, ‘generator’
  • added ‘smart_archives_css’ filter
  • more info

1.8.3

  • fancy archive fix for IE
  • optimized CSS loading
  • update French translation

1.8.2

  • fix broken update

1.8.1

  • added Clear cache button
  • load js only when needed
  • compatibility with the MailPress plugin

1.8

  • override arguments with smart_archives() or [smart_archives]
  • added include_cat arg
  • added Chinese l10n
  • more info

1.7.1

  • fancy archive improvements

1.7

  • added “fancy” option
  • added %category_link%, %category% and %date%
  • added Uzbek translation
  • more info

1.6.2

  • added %comment_count% tag
  • added Belarusian translation
  • dropped support for WordPress older than 2.8

1.6.1

  • bugfix

1.6

  • added list format option with these tags:
  • %post_link%
  • %author_link%
  • %author%

1.5.2

  • added two filters: smart_archives_title, smart_archives_exclude_categories

1.5.1

  • fixed “Save Changes” button
  • l10n: danish, italian, russian

1.5

1.4

1.3

1.2

1.1

  • uses wp-cron

1.0

  • initial release