• Resolved Rauno

    (@rauno)


    One pod with multiple URLs and templates? Is that possible or does it even make sense?

    I have a pod for free ebooks. It contains ebook name, thumbnail, and download URL. I have an auto template that displays the pod data as a download-ebook page on ../download-ebook/ebook-name/ URL.

    Another page I need is a request-ebook landing page for each ebook. Data fields needed for this page are the same as for the above download-ebook page, plus one text field. I would like to show these pages on ../request-ebook/ebook-name/ URL.

    So, I was thinking that it would be handy to have only one pod which contains all fields (as 3 fields out of 4 are shared) and display the pod data on two different URLs (which use different templates).

    So, for example:
    pod:ebook1 would have ../download-ebook/ebook1/ and ../request-ebook/ebook1/ pages
    pod:ebook2 would have ../download-ebook/ebook2/ and ../request-ebook/ebook2/ pages
    pod:ebook3 would have ../download-ebook/ebook3/ and ../request-ebook/ebook3/ pages

    There are over 100 ebooks so I’m looking for a way to use Pods to create the required pages instead of creating them manually.

    Thanks!
    -Rauno.

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

    (@keraweb)

    Hi @rauno

    Sorry for my late reply.
    This isn’t a feature of Pods and thus is in fact our of scope for support.
    I’m also not really sure how I would implement such a feature in WordPress. I think the best location for you to start looking is custom permalink structures.
    Alternatively you could use GET parameters to load different parts of a template.

    Cheers, Jory

Viewing 1 replies (of 1 total)
  • The topic ‘One pod with multiple URLs and templates?’ is closed to new replies.