MB Views doesn't show Taxonomy Term meta

Support MB Views MB Views doesn't show Taxonomy Term metaResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27152
    ahmedahmed
    Participant

    Hi
    I purchased Metabox today. So I am completely a noob.
    I have a CPT as 'Question' with its custom field as 'Answer' and created a taxonomy called 'Scholar'. The Scholar taxonomy has its custom field 'image'.
    While trying to output the same in the singular template in MB Views, I can't see the code insert fields section. I am able to show the scholar name via 'Post term list' but the image fields are missing.
    Please help.

    #27164
    Long NguyenLong Nguyen
    Moderator

    Hi Ahmed,

    Thank you for reaching out.

    To use the MB Views to show the term meta from the single post template, you need to have a basic knowledge about WordPress, PHP and Twig code.

    To get the term meta, please follow this documentation https://docs.metabox.io/extensions/mb-term-meta/.

    #27178
    ahmedahmed
    Participant

    Thank you for your reply.
    I already saw that documentation page, but couldn't figure out how to go about it.
    Is there a video or example code explaining the output of term meta?

    #27193
    Long NguyenLong Nguyen
    Moderator

    Hi,

    On the documentation, we also give the sample code to output the term meta https://docs.metabox.io/extensions/mb-term-meta/#getting-field-value. It does the same like the WordPress function get_term_meta().

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