Get the post ID of custom post type in the Post Carousel
-
Hello, I’ve seen similar issues on the thread, but I it seems no one has got this one
Is there a way to access the current post ID on the loop? If I do get_the_ID() or global $post I get the current page ID
I’m trying to display some custom HTML based on the current post so I would need to have access to the post ID and not the page
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.