Using Custom Fields in a Taxonomy in Beaver Themer

Support MB Beaver Builder Integration Using Custom Fields in a Taxonomy in Beaver ThemerResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27761
    chris@m11design.com[email protected]
    Participant

    This is not a bug or error. I'm just trying to figure out how to do something.

    I have a CPT "Conference Audio". I have a MB Taxonomy "Conference Year" that is connected to the CPT. In the Taxonomy, I have added Custom Field "Conference Background Image" - it is a File Input field.

    I am wanting to use that Image as the background on a module on the Conference Audio SINGLE page. If I am on the Conference Audio ARCHIVE page, I can get the image URL with no problem because it's an Archive Custom Field.

    However, on the SINGLE page, I cannot seem to get the image URL. Does anyone know how to do this? I did try making a MB View for the field displayed with a shortcode. But that didn't work, either. Thanks in advance!

    #27782
    Long NguyenLong Nguyen
    Moderator

    Hi Chris,

    This can be done via PHP code. Here are some guides for you
    - Get post terms by using the function wp_get_post_terms()
    - Get term meta base on the term ID returned https://docs.metabox.io/extensions/mb-term-meta/

    #27809
    chris@m11design.com[email protected]
    Participant

    Thanks very much. I will give it a try! I really appreciate the way you answer questions on the Support Forum. I've read lots of your answers here and they are always very kind and very helpful!

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