Support

Account

Home Forums General Issues Want Page ID in post_id Field Reply To: Want Page ID in post_id Field

  • No worries dude, glad to help.

    Well i suppose this method is quite alright if you use a specific page template for those pages to make sure the query is not run on uhnecessery pages..

    One thing which would make it easier for you would be if you could have a select on the products which is automatically filled with the pages from that specific page template. This does not exist in ACF atm from what I know..

    IF you’re by any chance using ACF v3 I have created such a field which you can find here:
    https://github.com/jonathan-dejong/ACF-Pages-by-Template

    Unfortunately it doesnt work on v4 but you’re free to fork it and convert it to v4 if you like ๐Ÿ™‚ Atleast you’ll have a lot of work done.