Custom Fields
Support Meta Box - Beaver Themer Integrator Using Custom Fields in a Taxonomy in Beaver Themer

  • Creator
  • #27761

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #27782
    Long Nguyen

    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


    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 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.