Viewing 2 replies - 1 through 2 (of 2 total)
  • All at once? Easiest way is to get access to the MySQL database using PHPMyAdmin or a similar application.

    In WordPress, you can see IDs by looking in your address bar when you have a post/page open in the editor.

    Hi,

    You can try to use this code/function to retrieve the page/post ID:

    function function_name()
    {
    global $post;
    $thePostID = $post->ID;
    }

    Change the post variable to page in the function.

    Thanks,

    Shane G.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Finding page IDs’ is closed to new replies.