• Resolved tiffweb

    (@tiffweb)


    Hi, I need just a little guidance with my Pods!
    I’m trying to display PDF files associated with a CPT.
    I have my CPT Pod setup like this….
    https://www.screencast.com/t/oVFsZPF3p

    And the Additional Field Option like this:
    https://www.screencast.com/t/bMuQ11rbTZXS

    Then I went to add my first PDF file to my “Historical Documents” CPT:
    https://www.screencast.com/t/wBbMD71c

    (I also added a small PDF icon to be the Featured Image for the post).
    Now when I go to view my entry, the PDF file I added is nowhere to be found.
    https://www.screencast.com/t/Pt0bbti68

    I don’t see any of the fields, the PDF file, file size, file date, or description???
    I only see the Title and my Featured image (which is huge right now, but I’ll fix that later).
    Can anyone please direct me on what I’m doing wrong? I hope it’s a simple solution!
    I have searched for help in the FAQ but didn’t see a solution.
    Thank you very much!
    Tiffany

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hello @tiffweb,

    Could you share how you’ve added that field in your content?

    Thanks, Jory

    Thread Starter tiffweb

    (@tiffweb)

    Thanks! But I’m not sure what you are asking! Tiff

    Thread Starter tiffweb

    (@tiffweb)

    I’m thinking it sounds like perhaps I’ve missed a step somewhere?
    Tiff

    Thread Starter tiffweb

    (@tiffweb)

    Maybe you are referring to the Template for my CPT ‘Historical Documents’?
    This is what I have there:
    https://www.screencast.com/t/UrxTyN4Al

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hello @tiffweb,

    Check, that is what I meant!
    Please use {@file._src.medium} (change medium to the size you want) to get the PDF link.
    The date can be found with {@file.post_date}.
    I don’t think file metadata can be fetched with magic tags.

    Cheers, Jory

    Plugin Author Jory Hogeveen

    (@keraweb)

    Also see: https://docs.pods.io/displaying-pods/magic-tags/

    • This reply was modified 5 years, 7 months ago by Jory Hogeveen.
    Thread Starter tiffweb

    (@tiffweb)

    Thank you! I tried the tags you suggested!
    2019-08-23_0953

    But it doesn’t seem to change my page at all.
    2019-08-23_0955

    I was looking for help on your site for templates and all the different tags.
    https://docs.pods.io/displaying-pods/pods-templates/pods-template-editor/
    but the page is empty. Do you have another link where I can read about this?

    Thank you for your help! Tiff

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @tiffweb,

    Have you checked out the “Grow Beyond Posts & Pages” Introduction to the Pods Framework video? We highly recommend it to give you a better understanding of how Pods Works, How Custom Posts Types & Fields work in WordPress and the easiest way to display your content.https://youtu.be/Df9uvxp0160

    Regards, Jory

    Plugin Contributor Jim True

    (@jimtrue)

    In addition, the primary pages you’re looking for are on Template Tags and Magic Tags which are linked under that section on ‘Displaying Pods”:
    https://docs.pods.io/displaying-pods/

    The Template Editor and Pods Templates are honestly just chunks of html code that include merge tags. That’s explained in the video. We’re working to make the docs better but being a free plugin with free support, resources are obviously tight.

    Plugin Contributor Jim True

    (@jimtrue)

    Also, how are you calling that ‘template’? Are you using Auto Templates?

    If you’re not using Auto Templates and some other approach, Context matters. Nothing will display in that particular template unless you’re calling the Pods Template directly from the post in question or from a loop that is looping through those posts.

    Thread Starter tiffweb

    (@tiffweb)

    Thanks guys for your replys. I’m gonna watch that video! Maybe that will help me understand your last comment about how I’m “calling my template”. Cause right now, I don’t know what your talking about!! LOL Thanks for giving your time so freely!

    Plugin Contributor Jim True

    (@jimtrue)

    Yeah if you just jumped in without having any idea how the stuff works, you need to watch the video. It explains all of this.

    • This reply was modified 5 years, 7 months ago by Jim True.
    Plugin Contributor Jim True

    (@jimtrue)

    Marking this resolved as we’ve not heard anything further in 2 weeks.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘CPT fields are not displaying’ is closed to new replies.