Loop custom field with list of related post ids
-
I have custom field
relatedPosts
with a list of comma-separated numerical values of post ids (example:417, 1047, 1243
). I would like to somehow run a loop that will pull the title and permalink for each of these post ids to display as a list in my post template (single.php). Ideally, these posts would be ordered descending based on the date modified, but that’s less important.I’m not fooling myself into thinking this is possible, am I?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Loop custom field with list of related post ids’ is closed to new replies.