How to get the Current Page ID in wordpress


Get the current page Id

<?php $pid = $post->ID;?>
<?php echo $pid ?>
Advertisements

12 thoughts on “How to get the Current Page ID in wordpress

  1. I really loved reading your blog. It was very well written and simple to undertand. Unlike additional blogs I have read. I also found it very interesting. In fact after reading, I had to go show the spouse and she ejoyed it as well!

  2. Somebody necessarily help to make seriously articles I might state. That is the first time I frequented your web page and to this point? I surprised with the research you made to create this actual put up amazing. Magnificent task!

  3. Wow, fantastic blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is great, let alone the content!. Thanks For Your article about How to get the Current Page ID in wordpress | Venugopal .

  4. I am genuinely delighted to read this website posts which carries lots of useful information, thanks for providing such data.

  5. I blog often and I seriously appreciate your content.
    The article has truly peaked my interest. I’m going to book mark your blog and keep checking for new details about once per week. I subscribed to your RSS feed too.

Comments are closed.