Display Field from Taxonomy in CPT-Template

Support General Display Field from Taxonomy in CPT-TemplateResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41526
    SilasSilas
    Participant

    I have the Custom Post Type 'Coffee'. With the help of the Oxygen Builder, I build the template for the Post Type. I have created the taxonomy 'Coffee-Manufacturer' for the CPT. Within this taxonomy there is the custom field 'Coffee-Manufacturer-Website'.

    Now I want to display the content of the field 'Coffee-Manufacturer-Website' according to the 'Coffee-Manufacturer' on the 'Coffee'-Template. Sorry for the somewhat clumsy wording.

    This code only works for me on the 'Coffee-Manufacturer' Archive Template. Unfortunately not on the 'Coffee' template.

    <?php $term = rwmb_meta( 'Coffee-Manufacturer-Website' ); ?>

    Can anyone help me? Thanks in advance!

    #41530
    PeterPeter
    Moderator

    Hello,

    In case of using Oxygen Builder, please reach out to them if you have any issues with installation, configuration, compatibility, or usage.
    Refer to our support policy https://metabox.io/support/topic/support-policy/

    I also recommend following the documentation to output the term meta value https://docs.metabox.io/extensions/mb-term-meta/#getting-field-value

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