# Taxonomy Custom Field Not Displaying

**URL:** <https://community.wpbeaverbuilder.com/t/taxonomy-custom-field-not-displaying/18265>\
**Category:** Beaver Themer\
**Created:** [February 12, 2024, 7:46am UTC](https://community.wpbeaverbuilder.com/t/taxonomy-custom-field-not-displaying/18265 "2024-02-12T07:46:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Holocene](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/holocene/32/4347_2.png) [@Holocene](https://community.wpbeaverbuilder.com/u/Holocene)\
**Post date:** [February 12, 2024, 7:46am UTC](https://community.wpbeaverbuilder.com/t/taxonomy-custom-field-not-displaying/18265/1 "2024-02-12T07:46:25Z")

</div>

Hi all, I was hoping for some help on an issue I have. I have an ACF custom taxonomy ‘brands’. Inside each brand taxonomy are some custom fields. One of these is a multiselect box which filters from all the other brands. The idea is that, if a brand has changed names or is known by another name I can select another brand name and have this display on the archive page of the discontinued brand. Like “This brand is now known as [replacement\_brand\_name]”

However beaver themer just wont show anything. I have tried every combo I can think of. I built a collum to display this notice and even have conditional logic that only shows the column IF there is a replacement brand selected, and this works. But the link and text of the replacement just wont show up. Here are some screenshots of what I have.

 ![Untitled-1](https://community.wpbeaverbuilder.com/uploads/default/original/2X/0/00a81f5e456fb591e6f9efcc1e0051c4d2f6e471.jpeg)

---

<div class="post-metadata">

**Author:** ![granatdesign](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/granatdesign/32/263_2.png) [@granatdesign](https://community.wpbeaverbuilder.com/u/granatdesign)\
**Post date:** [March 7, 2024, 8:59pm UTC](https://community.wpbeaverbuilder.com/t/taxonomy-custom-field-not-displaying/18265/2 "2024-03-07T20:59:26Z")

</div>

Any luck with this?

I’m trying to do something somewhat similar…  
I have a ACF taxonomy ‘organization’ that has fields in it like ‘team\_logo’  
I have cpt called ‘players’ that I can easily show post ACF fields in pp content grid or standard bb post module. But I am unable to get the taxonomy field ‘team\_logo’ to show up EXECPT when I’m in a taxonomy archive. I want to be able to show this field when I’m in a single post, or a custom query of ‘players’

---

<div class="post-metadata">

**Author:** ![Holocene](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/holocene/32/4347_2.png) [@Holocene](https://community.wpbeaverbuilder.com/u/Holocene)\
**Post date:** [March 14, 2024, 12:51am UTC](https://community.wpbeaverbuilder.com/t/taxonomy-custom-field-not-displaying/18265/3 "2024-03-14T00:51:07Z")

</div>

No response and no solution found unfortunatley.

---

<div class="post-metadata">

**Author:** ![granatdesign](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/granatdesign/32/263_2.png) [@granatdesign](https://community.wpbeaverbuilder.com/u/granatdesign)\
**Post date:** [March 19, 2024, 9:39pm UTC](https://community.wpbeaverbuilder.com/t/taxonomy-custom-field-not-displaying/18265/4 "2024-03-19T21:39:28Z")

</div>

I contacted powerpack for help with content grid (a second time) and this time I hit gold…

They created a shortcode that I could use to pull the terms

```auto
add_shortcode( 'acf_term_field', function( $atts = array() ) {
	if ( ! isset( $atts['name'] ) ) {
		return;
	}
	if ( ! isset( $atts['taxonomy'] ) ) {
		return;
	}
	$post_id = get_the_ID();
	$terms = wp_get_post_terms( $post_id, $atts['taxonomy'] );
	if ( is_wp_error( $terms ) || empty( $terms ) ) {
		return;
	}
	$output = '';
	foreach ( $terms as $term ) {
		$output .= get_field( $atts['name'], $term );
	}
	return $output;
} );

```

I used this shortcode and it works 🙂

[acf\_term\_field name=‘YOURFIELDNAME’ taxonomy=‘YOURTAXONOMY’]

You can adjust it by modifying some CSS code as per your requirements.

You can also use this shortcode to retrieve any other field from the taxonomy. Just provide the field name and taxonomy name.

---

<div class="post-metadata">

**Author:** ![Holocene](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/holocene/32/4347_2.png) [@Holocene](https://community.wpbeaverbuilder.com/u/Holocene)\
**Post date:** [July 13, 2024, 5:02am UTC](https://community.wpbeaverbuilder.com/t/taxonomy-custom-field-not-displaying/18265/5 "2024-07-13T05:02:58Z")

</div>

Thank you for your response. Can you please advise what I need to do with this code? I copy and paste it somewhere I assume but where?

---

<div class="post-metadata">

**Author:** ![granatdesign](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/granatdesign/32/263_2.png) [@granatdesign](https://community.wpbeaverbuilder.com/u/granatdesign)\
**Post date:** [July 13, 2024, 1:45pm UTC](https://community.wpbeaverbuilder.com/t/taxonomy-custom-field-not-displaying/18265/6 "2024-07-13T13:45:24Z")

</div>

What you do is download free code snippets plugin

> **[Code Snippets](https://wordpress.org/plugins/code-snippets/)**
>
> An easy, clean and simple way to enhance your site with code snippets.

Then use the shortcode inside where you want the data

---

<div class="post-metadata">

**Author:** ![Holocene](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/holocene/32/4347_2.png) [@Holocene](https://community.wpbeaverbuilder.com/u/Holocene)\
**Post date:** [July 13, 2024, 11:26pm UTC](https://community.wpbeaverbuilder.com/t/taxonomy-custom-field-not-displaying/18265/7 "2024-07-13T23:26:41Z")

</div>

Many thanks. I got it working now. I hadn’t activated the code snippet, silly me. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://community.wpbeaverbuilder.com/uploads/default/original/2X/9/9db1b183a7ea1efa26199a2a2b3511d742473dae.png) [@system](https://community.wpbeaverbuilder.com/u/system)\
**Post date:** [July 15, 2024, 11:27am UTC](https://community.wpbeaverbuilder.com/t/taxonomy-custom-field-not-displaying/18265/8 "2024-07-15T11:27:25Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
