Filter for CustomModel

Support MB Custom Table Filter for CustomModel

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #48175
    GVGV
    Participant

    Hello,

    If I have:
    a) Custom data at DB CustomTable.
    b) New WP MB CustomModel for that CustomTable.
    c) Add MB CustomFields to that CustomModel, some of them acts like Taxonomies (via standard WP Taxonomies&Terms or also as another CustomModel).

    Then which plugin at frontend can filter that CustomData with support of TaxonomiesTerms (or another CustomModel data records) choosing at filter?

    #48177
    PeterPeter
    Moderator

    Hello,

    Thanks for reaching out.

    Please notice that, all fields registered with custom models are saved to the custom table as custom fields and they don't work like Taxonomy of WordPress.
    If you want to output the custom model data in the frontend and use the filter, you need to create some custom code to do so. Please refer to the documentation https://docs.metabox.io/extensions/mb-custom-table/#getting-field-values-for-models

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.