View Larger Image How to get page ID in WordPress ?To get the page ID in wordpress you need to add following code to proper template php file :Copy to Clipboard $ID = $wp_query->post->ID; echo $ID ?>By Mir Saeid|2020-12-10T12:27:31-05:00December 4th, 2019|Blog|0 CommentsShare This Story, Choose Your Platform!Facebook About the Author: Mir Saeid Experienced computer engineer with post graduate diploma in e-Business, Web Developer and Programmer Related Posts ajax-loader.gif problem Gallery ajax-loader.gif problem How to capture client’s IP in PHP Gallery How to capture client’s IP in PHP How to Configure SMTP for office 365 in Easy WP SMTP Plugin – WordPress Gallery How to Configure SMTP for office 365 in Easy WP SMTP Plugin – WordPress How to Check Disk Space Usage on Google Cloud Gallery How to Check Disk Space Usage on Google Cloud Honeypot Implementation in Form Gallery Honeypot Implementation in Form