Support » Plugin: Pods - Custom Content Types and Fields » Field Name Showing in Template

  • Resolved ljrain

    (@ljrain)


    I am a newbie to PODS, but it looks amazing.

    I created a simple POD with one field called pod_name. I then created two templates one to show a list and one to show a single item.

    When I view the page I see the pod field name instead of value.

    Below is the template I am using. Everything works except for the pod_name.

    pod name: {@pod_name}</br>
    post title: {@post_title}</br>
    post thumbnail:{@post_thumbnail}</br>
    post image url : </br>

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jim True

    (@jimtrue)

    I’ve don’t see that we use or populate a variable magic tag called pod_name. Where did you get that one from? Here’s our Using Magic Tags Documentation.

    You can use {@post_type} and get back the post_type which I think is your intent.

    Thread Starter ljrain

    (@ljrain)

    Sorry, that is my custom field name. I have it working on others. So, I am not sure what I did on this test. But you can please disregard.

    Love PODS!!!

    Plugin Author Jim True

    (@jimtrue)

    Glad to hear it, we love Pods, too 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Field Name Showing in Template’ is closed to new replies.