Associative array triggered from Custom Taxonomy (WordPress PODS)
I have national flag icons that I (manually add) on some posts when that nation is referenced.
Here is the code for that:
<span class="flag-icon flag-icon-us"></span>
All nice and simple. As you can see from the code, the bit flag-icon-us will pull the US Flag which is actually an SVG image file.
My question is – is there any way you can think of so that when I select the Custom (Pods) Taxonomy of “United States” that someone adds that line of code?
Perhaps some sort of associative array or other?