Hello @mmcglynn
You’ll also need to provide an ID or some filter query so the shortcode knows which pod(s) to query for.
Cheers, Jory
Isn’t the name of the pod sufficient? I don’t want one item (thus no ID) nor do I want to filter. I want all of the items in the pod. How do I display this using a shortcode?
Here’s a shortcode with the ID of a specific Pod item ID. It still shows “Pod not found”.
[pods name="MYPODNAME" id="1739"]{@post_title} is great![/pods]
-
This reply was modified 5 years, 6 months ago by
mmcglynn.
Also, is there no way to debug this? There is nothing in the error log.
I have now tried many pod shortcode examples, clearing the transient cache each time, and only ever see “Pod not found”.
I have tried the slug name of the pod and the display name as well.
For example, here is a very simple pod which should work based on the examples and documentation.
[pods name="MYPODNAME" limit="3" orderby=”post_date DESC”]{@id} is great![/pods]
Note that I am running a local, up to date WP version with only 4 active plugins including Pods.
I’m really trying here to make this work, so any help appreciated.
-
This reply was modified 5 years, 6 months ago by
mmcglynn.
-
This reply was modified 5 years, 6 months ago by
mmcglynn.
-
This reply was modified 5 years, 6 months ago by
mmcglynn.
Hi @mmcglynn
Well that is weird behavior, also something I cannot reproduce locally.
I assume you already checked for conflicts with other plugins?
Actually, even now while testing locally with just the name parameter works fine as well.
Is there anything else you can tell me about your setup?
Also, where and how are you using the shortcode exactly? In a paragraph content block?
Cheers, Jory
The issue has been resolved. It was my confusion about pulling the template name, which uses the “friendly” name with spaces and capitalization.