Helping Organisations get organised!

Changelog

  • 1.1.0: The Search block can now show the post type dropdown, as an opt-in setting. LH Search Page’s classic search form has always had a dropdown for choosing what to search (All or a single post type), but block themes and block templates use the core Search block, which never had it. The Search block now has a Post type filter panel in its settings sidebar with a Show post type dropdown toggle; when it is on, the same dropdown is added to that block’s form after the search field. It is off by default, so the Search block behaves exactly as core’s unless the toggle is set, and a template can turn it on with the lhSearchPostTypes attribute (ignored if the plugin is not active). Each dropdown in a Search block gets its own id, and every dropdown now has an accessible name (Search in) and escaped option labels.
  • 1.00: Last release before the plugin moved onto the portfolio changelog; earlier version history was not recorded. At this version the plugin generated a virtual search page at /search/ and protected that slug from ordinary pages, replaced the classic search form everywhere with one that adds a dropdown for choosing what to search (all content or a single post type), opened links to the search page as a dialog, and offered the search page as a menu item through LH Dynamic Menu Items.

If you like this plugin please consider making a donation to further development