I am trying to get a custom field value from all posts listed on current blog paginated page. Not sure if it's clear, let me explain it more.
On blog index page (or on second page of pagination) I have 10 posts. And each post have a value for custom field my-field. So I want to list posts as it is but outside the post list (lets say in footer.php) I want to also list all the values of custom field my-field belonging to current posts.
Not sure exactly how it can be done.
EDIT
To simplify (for understanding), I want to echo posts IDs of all listed posts in footer.php.
global
variable, load all the custom values there, you could use an array. Then just call that var in the footer and do what you have to do