UCDavisLibrary / ucdlib-theme-wp

Wordpress theme port of the UC Davis SiteFarm One Theme
2 stars 0 forks source link

Hooks for multiple authors on base post class #238

Closed spelkey-ucd closed 1 year ago

spelkey-ucd commented 1 year ago

Need way of supporting multiple authors using the existing directory "people" post type: https://github.com/UCDavisLibrary/ucdlib-wp-plugins/issues/151

Implementing this feature entirely from the plugin will get messy because of:

  1. a potentially convoluted chain of class inheritance
  2. have to rewrite theme twig files that display authorship

It will be simpler to build in the ability to override authorship in the theme, and then the directory plugin can hook into these actions/filters.

spelkey-ucd commented 1 year ago

Deployed in main-wp-website v3.4.0