Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Hydrogen Directory

Beskrivning

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.

Skärmdumpar

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

Installation

  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]

Vanliga frågor

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.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Hydrogen Directory” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Hydrogen Directory” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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