Showing custom field group only on parent taxonomy terms

Support MB Include Exclude Showing custom field group only on parent taxonomy terms

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30591
    matijamatija
    Participant

    Hello,

    how can I set to show a field group only on parent terms of taxonomy? I tried adding get_term_parents_list to Advanced location rules PHP return function, but I get a critical error.

    Is there any documentation on writing or using PHP return values, since documentation is falling short on that.

    Thank you!

    #30596
    Long NguyenLong Nguyen
    Moderator

    Hi Matija,

    You can create a condition before registering the meta box to check the parent term as well. Please refer to this topic https://support.metabox.io/topic/taxonomy-taxonomy-term-only-metabox/

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