- CPT is Plant
- The plant has a taxonomy of Family
- The value of the Family item is “Caprifoliaceae” which is item 147
Here is the HTML
- Family Taxonomy ID: {{dc:post:meta key=“hps_family_tax”}}
- Term value hard coded 147: {{dc:term:name term=“147”}}
- Term value with DC: {{dc:term:name term="{{dc:post:meta key=& quot ; hps_family_tax & quot ; }}"}}
I’ve put spaces into & quote ; to show what I mean, otherwise it substitutes a double quote
Here is the output:
- Family Taxonomy ID: 147
- Term value hard coded 147: Caprifoliaceae
- Term value with DC: "}}
My query:
- Output 1 is ok and is correct
- Output 2 is ok and is correct
- Item 3 is broken, but despite fiddling with single and double quotes I can’t make it work
Help! Bill.
