artistro08/tailor-starter

Add Ability to Search Content

artistro08 opened this issue · 2 comments

Search Feature

This feature would extend the theme to create Search Pages and add a search block to search for stuff.

Proposed Setup

Search Settings

  • Choose which blueprint types are searchable
    • Repeater field
      • Blueprint List (From Companion Plugin)
        • Needs to check if blueprint has a current page to be visible.

Search Block

  • Choose Which Post Type you would like to search (from Settings)
  • Choose the Search Page
  • Placeholder text For Field
  • Search Query (the database column to search under)
    • Repeater Field
      • Add multiple search queries

Search Page Types

  • Simple Search Page
    • Set the returned items in the Manage tab (Pick from Search Settings)
      • Would use the current partials to keep consistent
  • Dynamic Search Page
    • Set the returned items via a block
      • Would use the current partials to keep consistent
    • Would give the user the ability to build out the page

Since we are in a feature freeze, This cannot be done until the documentation is complete.

Going a slightly different route. Not gonna use a dynamic page to build a search page as that would be a mess to maintain.

Should be implemented in v6.3.0