How to add Custom fields only to certain categories?

Support General How to add Custom fields only to certain categories?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #44368
    JBPHJBPH
    Participant

    I have 25 categories for my posts. I want to add custom fields to only 5 of them. The other 20 do not need them. How can I achieve this?? I'm using Metabox AIO and can add the custom fields via settings - taxonomy - category but don't see how to select specific categories.

    #44372
    PeterPeter
    Moderator

    Hello,

    You can use the Advanced Location Rules (MB Include Exclude), however it supports loading a field group for a specific post based on the condition as in the documentation https://docs.metabox.io/extensions/meta-box-include-exclude/
    not for a specific term as you mention. I will inform the development team to consider supporting this feature in future updates.

    Thanks.

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