• Resolved mmcglynn

    (@mmcglynn)


    I have added a simple pods shortcode to a content block, but get the error “Pod not found”

    [pods name=”MYPODNAME”]{@post_title} is great![/pods]

    I know that the pod is working because I am displaying it in a widget.

    I have cleared the transients cache in the pods settings.

    Any help appreciated.

    • This topic was modified 4 years, 1 month ago by mmcglynn.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    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

    Thread Starter mmcglynn

    (@mmcglynn)

    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 4 years, 1 month ago by mmcglynn.
    Thread Starter mmcglynn

    (@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 4 years, 1 month ago by mmcglynn.
    • This reply was modified 4 years, 1 month ago by mmcglynn.
    • This reply was modified 4 years, 1 month ago by mmcglynn.
    Plugin Author Jory Hogeveen

    (@keraweb)

    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

    Thread Starter mmcglynn

    (@mmcglynn)

    The issue has been resolved. It was my confusion about pulling the template name, which uses the “friendly” name with spaces and capitalization.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pod not found error’ is closed to new replies.