12. Archive and Search Results

The Archive and Search Results pages of your WordPress website are probably the most dynamic of all the template pages. The Loop will continue to power the data on these pages, which will make them easy to build out. We’ll incorporate some specific functionality to help users understand where they are and what they’re looking at.

What you’re about to learn

• Archive page template best practices

• Search Results template best practices

• Constructing dynamic template page names using conditionals

• Displaying search queries in content

Archive and Search Results Page Layout

Once again we’re not breaking out of our basic template structure all that much. We still have the header, aside, and footer. The content area ...

Get Web Designer’s Guide to WordPress: Plan, Theme, Build, Launch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.