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

Hydrogen Directory

外掛說明

Finally!

A ridiculously light, stupidly-simple plugin to manage and display a directory of anything: production cast, blog contributors, businesses, collectors items, church members, books, club officers, chickens in your flock, departmental employees, students, bowling league teams… you get the point.

Most “directory” plugins out there are way too complicated. One of the more popular ones weighs in at 30 MB! That’s almost as much code as WordPress Core. That’s uranium heavy. Be careful of meltdowns…

Enter Hydrogen Directory.

This plugin is light and simple, just like hydrogen. Weighing just 33kb zipped, it’s so tiny it might float away.

Whether you need to just list the 3 members on your team, are looking to showcase the 200 cars in your pinewood derby league, or need to import 10,000 employees, Hydrogen Directory manages it all with ease, speed, and predictable grace.

Highlights:

  1. Quickly add or updated listings in wordpress using familiar interface.
  2. Organize entries into buckets using taxonomies.
  3. Display your directories anywhere on your site using shortcodes.

That’s it! Get on to more important things in your life.

螢幕擷圖

  • Included “list” style.
  • Included “card” style.
  • Included “text” style.
  • Custom avatar style.
  • Settings page (There isn’t one. It’s that simple.)

安裝方式

  1. Upload the hydrogen-directory folder to the /wp-content/plugins/ directory.
  2. Activate Hydrogen Directory through the ‘Plugins’ menu in WordPress dashboard.
  3. Use the shortcode [hydrogen-directory] directly in your page or post content.

Shortcode Arguments:

tax: use to display entries from a single taxonomy
term: use to display entries from a single term in a taxonomy
style: display style (default “list”)
columns: number of columns to display (default 1)
header: whether to include tax / term headers in the output (default 1 = yes)

Example:
[hydrogen_directory tax=”role” term=”Alter Boy” style=”card” columns=3]

常見問題集

Can I import entries from a CSV?

Yes – you can import using standard CSV import pathways. Although WordPress does not offer CSV import function natively, there are a number of plugins that will add this feature. This plugin has been tested successfully with the “Really Simple CSV Importer” plugin. (Note, entries in the file must be comma separated.)

How do I theme the output?

You have several options:

  1. Add custom css to your theme to tweak the look.
  2. Override the default templates by copying any of the directory-list-entry-{type}.php files into your theme, and modifying it there.
  3. Use the plugin hooks (filters / actions) to customize specific parts.

Can this plugin do X,Y or Z?

Probably not. But it could!

Hydrogen Directory is purposefully simple and easy. But it can extended in powerful ways. Contact me for requests for additional functionality.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

將〈Hydrogen Directory〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.3

  • Bugfix: activation error (submenu permission)
  • Tested to WP 5.9.3

1.0.2

  • CSS Fix

1.0.1

  • Position Meta Box fix
  • Code cleanup

1.0.0

  • Initial Release