Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLuke Lee
7,577 PointsAdvanced Custom Field select display result twice?
I am using Advanced Custom Field in Wordpress. I followed the tutorial, use the_field('brand') to display the value of custom field. However, when I choose select field type, the result displayed twice. Like: RED:RED
I assume one is label, one is value? how can I only show the value in frontend?
2 Answers
Anthony Moore
2,282 PointsCan you share the code you are using?
Luke Lee
7,577 PointsNever mind I fixed it.
Luke Lee
7,577 PointsLuke Lee
7,577 PointsMy code is:
Sorry, the markdown cheatsheet is really stupid. I could never get it display properly.