Hi everyone,
I’m trying to get my head around this.
I’ve set up a custom post type, then set up a bunch of custom fields with ACF for that custom post type. So far so good – ACF works great!
Now I need to display that data. I copied and renamed my theme’s single.php file as single-mypostype.php. I’ve added just one field so far to display using :<?php the_field(‘the_bottom_line’); ?> – this works!
But, once I finish my template to display all my custom field data, what if I need to display yesterday’s data?? Archives?? Is it possible to pass along an ID or date to the custom post template to query and display that data?? Do I need to create a new template for archives?
Thanks for any info/direction you may have.
I think I may have found a “built in” solution. My custom post type as an archives page already. http://www.myurladdress.com/mycustomposttype/