Default search for Papers theme?

The Papers theme appears to lack the new search that will search for both pages and items. Is there an easy way for us to add that?

Thanks for bringing that to our attention—it was an oversight due to its handling in the source project. We’ll correct this for the next release. in the meantime, here are my short-term recommendations:

  1. Insert the search partial alongside the navigation in layout.phtml like so:
                    <div class="trigger">
                        <?php
                        echo $site->publicNav()->menu()->renderMenu(null, [
                            'maxDepth' => $this->themeSetting('nav_depth') - 1
                        ]);
                        ?>
                        <!-- Search start -->
                        <div id="search">
                            <?php echo $this->partial('common/search-form'); ?>
                        </div>
                        <!-- Search end -->
                    </div>
  1. Using CSSEditor or your own custom stylesheet, apply the following styles:
#search {
  display: inline-block;
  margin-left: 3rem;
}

header ul.navigation {
  display: inline-block;
}

Thanks! Yes, after posting the question, I had the idea to grab that code from one of the other themes. :slight_smile: