Categories
Lynda.com

Updated 404 template for Anaximander

One of the templates that is often overlooked when creating a WordPress theme is the 404 template. The 404 template creates the 404 page that appears when a viewer follows a broken link or enters a garbage link in the address field in their browser. You can see an example by following this link which obviously goes nowhere: http://mor10.com/lskdjlfkjowihev

In the rush to release Anaximander and my most recent lynda.com course WordPress: Building Responsive Themes the 404 template in the starter theme got a bit mangled. I was made aware of this by one of my viewers and we are updating the lesson files as we speak. If you’ve already started on the course or are using Anaximander for your site, I’m providing the fixed file here for you to download and install directly.

Click here to download the zip archive with the 404.php file.

To install the new 404 template unzip the archive and place the new 404.php file inside your Anaximander-Static folder replacing the old one.

The new 404 template is similar to the search template: It provides a simple message saying something went wrong and then offers up the 12 most recent posts as an option to the visitor.

By Morten Rand-Hendriksen

Morten Rand-Hendriksen is a staff author at LinkedIn Learning and lynda.com specializing in WordPress and web design and development and an instructor at Emily Carr University of Art and Design. He is a popular speaker and educator on all things design, web standards and open source. As the owner and Web Head at Pink & Yellow Media, a boutique style digital media company in Burnaby, BC, Canada, he has created WordPress-based web solutions for multi-national companies, political parties, banks, and small businesses and bloggers alike. He also contributes to the local WordPress community by organizing Meetups and WordCamps.

5 replies on “Updated 404 template for Anaximander”

Hi Morten:

I have viewed all of your lynda.com courses and recently updated my website using the Anaximander theme. It works really well. Thanks for your continued support of the designer/developer community.

Hi Morten,

First of all excellent tutorial and theme! However, I seem to be running into a problem with the posts sometimes overlapping the widgets on the front page when the site is first viewed. If I reload the page by selecting the page title everything loads fine. Have you had anyone else mention this issue or are you aware of a workaround to prevent this from happening? Thanks in advance.

Comments are closed.