Instantly share code, notes, and snippets.

What would you like to do?
Override archive page with Sage 9 template
This is a custom content for archive page.
@if (!have_posts())
<div class="alert alert-warning">
{{ __('Sorry, no results were found.', 'sage') }}
{!! get_search_form(false) !!}
@while (have_posts()) @php(the_post())
{!! get_the_posts_navigation() !!}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment