I need to clarify – the posts aren’t a collection of the code from those files, but the resultant pages that load on my site are.
After a little more investigation, I’ve understand that the_id doesn’t function outside the post loop. I’ve seen suggestions as to how to make the $post value global, but I’ve not been able to recreate this. It seems like it may be an old technique.
Does anyone know how to achieve this effect, or something similar?
esmi, I don’t think you’ve understood my question.