How to get post id


I want to get the post id in single directory list page(it will show individual directory details). Am customized it so giving you the screenshot. incase the link i provided may be not work later. I tried to get post id with global $post method but its not working and i checked hooks atbdp_after_single_listing which is not event triggering. Kindly help to resolve this issue by getting post id in single directory view

The page I need help with: [log in to see the link]


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer