Tell us what you are trying to do? Create a simple sign / sign out app
Is there any documentation that you are following? Have been following previous support topics
Is there a similar example that we can see? hidden link
What is the link to your site? hidden link
I've created two post types, sign in and sign out.
I want to output the post creation times for these in Unix time, then try to subtract the time in from the time out to get the time difference, i.e in at 16:15 out at 16:30 duration 15 minutes.
recognising I need to get the two values into the one view I've tried two methods,
1) call the data from the correct posts using $id.
2) call the data using two views to call it and one to combine it.
The first methods looks great but it's not catching the right data (check in and out times are the same)
The second method looks likes it's not going to allow me to sequence the data for the calculation.
Question, Am I headed the right way, and which of the two methods should I use to get the data ready for the calculation ?
Also let me know if you want to log in, I'll build us a staging site to play with.
(but hopefully screenshots below will let you see what I'm trying)
Many thanks for your support, more than happy to share this module when it's built.
D