# Exercise 6.5: Make a list of States/Territories block

In this exercise we’ll add a list of the **States and Territories** in the sidebar, so the page looks like the screenshot below.<br>

<figure><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2FyZOhZBDZoRtp4iqkAmBk%2Fimage.png?alt=media&#x26;token=272d5203-fea5-4c25-ad7a-a19ad340404f" alt=""><figcaption><p>States Block in sidebar</p></figcaption></figure>

1. Go to **Structure** → **Views**. Click **+ Add new View**. Add in these settings:

   * **View name:** States/Territories.
   * Select to enable **Description**: A list of State and Territory terms.
   * Show *Taxonomy* terms of type *State/Territory* sorted by *Unsorted*.
   * Select **Create a block**.
   * **Block title**: States/Territories.
   * **Display format**: *HTML list* of *Fields*.
   * **Items per block**: 0.
   * **Use a pager**: Leave unselected.
   * Click **Save and edit**.

   <figure><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-f810b157fd829db5ed3ce5ede09a53133e50ccf2%2FEx-6-5-States-View-1.png?alt=media" alt=""><figcaption></figcaption></figure>
2. Go to Structure → Block Layout.
3. In the *Sidebar* area click the **Place block** button.

   <figure><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-4fd1379a46826fcc4c012f79d1b9b78a76b9bec9%2FEx-6-5-Block-Layout-1.png?alt=media" alt=""><figcaption></figcaption></figure>
4. Find **States/Territories** block in **Lists (Views)** category and click the **Place block** button.

   <figure><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-429f7ab5c11585ce7ff2479a8b0e669dbcc214c0%2FEx-6-5-States-Block-1.png?alt=media" alt=""><figcaption></figcaption></figure>
5. Configure block visibility settings to only display it on the **Job Posting** *content type*.

   <figure><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-30e44bb7ea45f72ca53fdb7d93e9100dcfff5983%2FEx-6-5-States-Block-2.png?alt=media" alt=""><figcaption></figcaption></figure>
6. Click **Save block**.
7. Scroll down and click **Save Blocks** to complete.
8. Navigate to a *Job posting* content page and locate your block.
