Page IDs come up when you set up plugins, shortcodes or custom code that only applies to certain pages. For example, you might need an ID to hide a pop-up on one page, exclude a page from search results, or show a widget on a single post.