How To Pass Current Post Type ID from Single Template To Custom Page Template

Having a Custoom Post Type called movies, I am able to get the current Post ID in my single-movies.php template. Now can you please let me know how I can pass this post ID from the single template to a custom page template like page-postDetail.php basically what I want to do is adding some more details to the post in the custom page (Like having multi single template foe one custom post type)

Read more here:: How To Pass Current Post Type ID from Single Template To Custom Page Template

Leave a Reply

Your email address will not be published. Required fields are marked *