• Resolved vi54

    (@vi54)


    Hi again, I am fairly new to the pods game but loving it so far.
    I would love to show a grid / list of my custom posts in a section on a dedicated page.

    I have created a new template.
    This looks something like this:

    <ul>
        [each our_result]
        <li><a href="{@permalink}">{@post_title} — </a></li>
        [/each]
    </ul>

    Next I have tried to add the the following shortcode to an HTML module in Salient.

    [pods name=”our_result” template=”our-results-list” limit=”5″]

    I base the name on my slug I see
    The entry is called OUR RESULTS — LIST
    and in the WordPress slug field I see: our-results-list

    I am positive the pod name is correct as I can see individual items in details for which I created a template.

    Long story short: I do not see any of my entries listed.
    It states: Pod embed error: pod not found

    (Archive pages are unchecked as I do not need these, all I am looking for is a shortcode to display my entries where I want)

    Thank you for your expertise.

    • This topic was modified 1 year ago by vi54.
Viewing 1 replies (of 1 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @vi54

    The “name” attribute refers to the Pod name, not the field name.

    You can omit the name and use the field name instead if this is a field from the current queried object:

    [pods field=”our_result” template=”our-results-list” limit=”5″]

    Alternatively, if you need to include this elsewhere you need to provide the Pod information:

    [pods name="PODNAME" id="OBJECT_ID" field=”our_result” template=”our-results-list” limit=”5″]

    Cheers, Jory

Viewing 1 replies (of 1 total)
  • The topic ‘Display a list inside an existing page’ is closed to new replies.