bobbingwide / oik-fields

Field formatting for custom post type (CPT) meta data, plus [bw_field], [bw_fields], [bw_new] and [bw_related] shortcodes
https://www.oik-plugins.com/oik-plugins/oik-fields-custom-post-type-field-apis/
1 stars 0 forks source link

Enable bw_form_field_category for other hierarchical taxonomies #39

Closed bobbingwide closed 4 months ago

bobbingwide commented 4 months ago

When creating "Stupidly Brilliant" bigrams on seriouslybonkers.com I currently need to create the bigram then edit it to assign the taxonomy term for "supplied-by" and "synthesised-by". It should be possible to provide a drop down list of for each of these taxonomies, making creation of new bigrams a bit easier.

There's still the matter of editing the content to convert it into blocks but that's a separate requirement.

Requirement

Proposed solution

bobbingwide commented 4 months ago

Enable bw_formfield prefixed functions for fields which contain hyphens ( - ) rather than underscores ( _ ) eg Allow use of the bw_form_field_supplied_by function to implement the supplied-by field.

This requires a (corequisite) change in oik's function bw_form_function() in includes\bw_metadata.php

bobbingwide commented 4 months ago

Delivered in oik-fields v1.54.3