Categories
WordPress

Atomizer 2027: Introduction to Full Site Editing

This is an extended series to introduce you to Full Site Editing and the use of Patterns in WordPress.

First, please download the screenshots.

If I asked you start from the beginning, follow all the videos in each of the above three series.

However, if I asked you to start with Series Two, please download and install the starter site. Then using that site, go through the videos in series two and series three.

Regardless of where I asked you to start from, when you get to the end of the videos, please complete the five tasks listed below.

The tasks, which all involve changes to the site you end up with at the end of series three, are demonstrated in this Loom video.

The screenshots you download from the top of this exercise will also help you visualize what I’m looking for in the exercise.

Task 1: Another Link

On the front of the site in the second header add a link to the New Tour area of the front page. This, in other words, is a link to a place within the same page.

Task 2: A Search Box

Using a Custom Pattern, make a Search Box with the following properties:

  • The button is inside the box.
  • The edge of the box never touches the edge of the screen. Check particularly carefully at small screen widths
  • The search box has some white space above and below it.
  • The search label says Search Atomizer.com in the Bebas Neue font.
  • The button uses the Bebas Neue font.
  • Changes to the pattern synchronize to all uses of the pattern.
  • The search box appears in the bottom of every page in the site, except the 404 page (more details on the 404 below).

For a bonus on the search box,

  • Make the text inside the search input use the Merriweather font. To test that, type in the search input box.
  • Make the label text (search atomizer.com) font-size increase or decrease with page width.
  • Make sure the input text does not increase or decrease with page width.
  • Both tasks will likely require some CSS. If you don’t know CSS, feel free to skip the bonus.

    Or, try using an AI solution like Claude or ChatGPT: it’s only CSS, so you’re not going to accidentally make refrigerators in French supermarkets explode, or anything like that.

Task 3: 404 Page

When the user tries to go somewhere on a site for which there is not actually a page, this is called a 404 error.

You can trigger a 404 error by adding a random string of text to the end of your site’s URL.

For example, if your URL is localhost:8888/atomizer/ then localhost:888/atomizer/sldkfjlsldkjf would trigger a 404 error.

In this task you need to make sure that a 404 error on your site displays the message in the screenshots you downloaded.

This task will require editing a particular template file.

The custom search pattern needs to be placed below the 404 text (which you will find in the screenshots).

Make sure that the left side of the search box aligns with the left side of the text, and that both sides align at small screen sizes (see screenshots).

The 404 page will not have any footer content.

Task Four: Correcting an Alignment Issue

If you click the link to ALBUMS or LIVE, the archive page that comes up will have nice left and right alignment between the edges of the header content and the main content.

However, if you click the ALL ARTICLES link, that alignment does work. This is because we set that template’s main content container to take most of the screen width.

Fix this problem, while keeping the full width of the main content container.

You will likely need a new Template Part: a header that goes full width (aligning with the full width of the main content area).

Make sure that the header content does not touch the edge of the screen, but rather has the same edge spacing as the main content area edges.

Task 5: Yet Another Link (to Search)

Change the ECUAD link that’s in the header of all pages of the site to link to the Search box.

When You are Done

  • Make a Duplicator package of your site.
  • Download both files. Do not rename either of them.
  • Put them in a folder called YourName-AtomizerPatterns
  • ZIP that folder
  • Hand in the folder to our class hand-in area (Emily Carr: Dropbox url available in Moodle).