Skip to main content
added 174 characters in body
Source Link
scribu
  • 13.2k
  • 38
  • 49

Lists of items are already implemented in WP core. They're called custom menus.

  They are stored as a custom post type + taxonomy.

As suchUPDATE:

I had assumed that your list items would be other posts, there's really no point in reinventingbut I'm getting the wheel in a pluginimpression that you just need them to be strings. In this case, menus would be overkill and you should store the list items as individual custom fields.

Lists of items are already implemented in WP core. They're called custom menus.

  They are stored as a custom post type + taxonomy.

As such, there's really no point in reinventing the wheel in a plugin.

Lists of items are already implemented in WP core. They're called custom menus. They are stored as a custom post type + taxonomy.

UPDATE:

I had assumed that your list items would be other posts, but I'm getting the impression that you just need them to be strings. In this case, menus would be overkill and you should store the list items as individual custom fields.

Source Link
scribu
  • 13.2k
  • 38
  • 49

Lists of items are already implemented in WP core. They're called custom menus.

They are stored as a custom post type + taxonomy.

As such, there's really no point in reinventing the wheel in a plugin.