The Pages WidgetWidget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. displays your site’s pages in your sidebarSidebar A sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme.. This can make it easier for your readers to navigate around your site.

Here’s an example of what it looks like:

Settings

Once you add the widget to your sidebar from Appearance -> Widgets, you’ll see that the widget settings look like this:

  • Title: Set the title to be displayed above the list of pages.
  • Sort by: When displaying the list of pages you can sort by Page title, Page order, or Page ID. Selecting Page title will display your pages alphabetically. With Page order, you take control over the ordering. You will need to set the page order option for each page. Sorting by Page IDs will display your pages in the order they were first created.
  • Exclude: If you would like to exclude any pages from being displayed, you can enter the Page IDs (separated by commas). To find the Page ID, go to Pages -> All Pages and click the title of the page. The address bar of your browser will display a URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org with a numeric ID at the end. This is the page ID.

#pages