# Exercise 6.1: Build the employment news view

In this exercise we’ll build an Employment news page/listing by creating a new view. This view page will list all job posts.

## Create the view using the wizard

1. Go to **Structure** → **Views** to see the *Views* admin page - /admin/structure/views.<br>

   <figure><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2F2lHy6r84Ws0b662Xrpm4%2Fimage.png?alt=media&#x26;token=1e7ff094-b633-4cad-8422-b735e1e8a191" alt=""><figcaption><p>Add view</p></figcaption></figure>
2. Click the **Add view** button at the top of the page to access the view creation wizard. To create the Employment news view, enter the below details:

   * **View name**: Employment news.
   * **Description**: “Displays a list of news about Employment on the site.” This allows *Site administrators* to easily see what the view does.
   * **Show**: *Content*.
   * **of type**: *Job Post*.
   * **sorted by**: *Newest first*.

   These dropdown selections set up the page with the *Job Post* content displaying, showing the most recent job first.<br>

   <figure><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2FOkfn5RzsfPrQDuJMrncJ%2Fimage.png?alt=media&#x26;token=a8aa242f-80e9-4a2f-8c54-0d728aa97506" alt=""><figcaption><p>View settings</p></figcaption></figure>
3. Next, check the *Create a page* checkbox to create the new views page. Leave the Page title and Path fields as-is - they should already contain *Employment news* as the name of our view.

   <figure><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2FrRRUPoz30GKmGT0GWiUm%2Fimage.png?alt=media&#x26;token=f7977d73-ffc9-47ca-ab05-4e8b312b8e03" alt=""><figcaption><p>Page settings</p></figcaption></figure>
4. In the page display settings area, select:
   * Unformatted list and teasers.
   * Items per page: 10.
   * Use a pager.
   * **Create a menu link** to expand options.
   * **Menu**: Main navigation.
   * Leave default **Link text** as Employment news.
   * Click **Save and edit**.
   * Review your changes.

<figure><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2FvyqE3ZCctgLWVuIM8rYZ%2Fimage.png?alt=media&#x26;token=78a677ab-cc72-4f38-bf45-a0cf3cbda46f" alt=""><figcaption><p>View settings page</p></figcaption></figure>

## Review your changes

After saving the view, navigate to the frontend of the site. Check if the *Employment news* appears in the main navigation at the top. If the menu does not initially appear in the primary navigation section, it can be due to caching. You can either ask your developer to clear the cache or wait 24hrs for the cache to be automatically cleared.

Click on the new menu to explore any *Employment news* that you may have published on your site.

<figure><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2FWSeu4FiE4VHkYWFRjMoJ%2Fimage.png?alt=media&#x26;token=dd6955ad-886a-4910-b3f4-f5821ac51edd" alt=""><figcaption><p>View results</p></figcaption></figure>

If you only see one Job Post, create additional Job Posts to see how Views takes care of listing them automatically.
