All Pods shortcodes require that you specify the name of the Pod with the argument “name” shortcode. So the shortcode [pods field="brand"]
will not work because Pods has no idea what Pod, the field brand is is in.
Also check out these two documentation pages:
http://pods.io/docs/learn/shortcodes/pods/
http://pods.io/docs/build/using-magic-tags/
Not sure what argument means but in short
[pods]{@my_custom_field}[/pods]
Thank you much.
*http://pods.io/docs/build/using-magic-tags/
The shortcode [pods]{@my_custom_field}[/pods]
will not work as you have no specified the pod that my_custom_field is in using the name argument. If my_custom_field was a field in the pod called “dogs” you would use the shortcode [pods name="dogs"]{@my_custom_field}[/pods]
.
What I had done was [pods]{@testpod}[/pods] which worked.
[pods name=”testpod”]{@testpod}[/pods] or [pods name=”testpod”]{@my_custom_field}[/pods] ( doubt that’s what you meant) doesn’t work.
But by the way , none of these work on a woocommerce page even though the custom field input shows as a module.
Any way to get a woocommerce attribute term to show as a value in your field?
I thought everything in wp has a meta key but I’ve been looking for how to just show a value for any key via shortcode or template tag.
What is the name of your pod is testpod and your custom field is called my_custom_field then [pods name="testpod"]{@my_custom_field}[/pods]
is exactly what I mean.
I unfortunately do not know anything about Woo Commerce, as I have never used it. Is a woocommerce attribute term a taxonomy term or a custom field?