Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the 404.html template #12

Closed
7 tasks done
bobbingwide opened this issue Nov 1, 2020 · 3 comments
Closed
7 tasks done

Implement the 404.html template #12

bobbingwide opened this issue Nov 1, 2020 · 3 comments

Comments

@bobbingwide
Copy link
Owner

bobbingwide commented Nov 1, 2020

In order to test #11 we need a 404 page. In genesis-a2z it's a bit basic.
image

Requirement

A 404.html page with the following sections

  • Header
  • Breadcrumbs
  • Not found message
  • ? The main loop - implemented as a template part
  • Search
  • Page footer
  • Footer
@bobbingwide
Copy link
Owner Author

Here's a pretty basic 404 page without the words that Genesis provided, and only one search box.
image

@bobbingwide
Copy link
Owner Author

The No posts found message comes from the improved wp:query-loop block when there are no posts to display - which is the primary reason for the 404 page.

@bobbingwide
Copy link
Owner Author

bobbingwide commented Jan 9, 2022

Attempting to retest this with the most recent category-query.html template part I'm not seeing a No posts found message.

  • I'll have to add a No posts found paragraph
  • And a recent posts block after the search for good measure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant