• Resolved Sergey

    (@goorman)


    Hi, hope someone can help me here with my question.

    The client has a website with two post types which as “cinema” and a “film“. The “Film” post type works just like a single page which can be visited on the front-end while the “cinema” post type is a list of all cinemas.

    On the single film page, user should be able to choose one of the cinemas from the list. Those cinemas are set in page settings under pods block. The pods block on a back-end end has two fields: “cinema” and “permalink“. The first one field is a related type to the post type called “cinema“. Thus, while on the film edit page, you can just choose one of the cinemas from drop-down menu. The permalink field is just an input with the custom value.

    All the functionality is written in functions.php file via args_array and the WP_Query loop post then. The thing is – it doesn’t work. I have 4 fields on the back-end side and none of them are shown in the front-end, sadly.

    I’ve read that maybe I need to use pods loop to retrieve custom fields on the front-end end, but I’m not sure about that.

    I’d be glad for any help!

    Cheers,

    Sergey

    • This topic was modified 1 year, 5 months ago by Marius L. J..
    • This topic was modified 1 year, 5 months ago by Sergey.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Showing pods values on post page using functions.php’ is closed to new replies.