Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Search block - server side rendered #20

Closed
bobbingwide opened this issue Dec 13, 2018 · 2 comments
Closed

Create Search block - server side rendered #20

bobbingwide opened this issue Dec 13, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@bobbingwide
Copy link
Owner

Requirements

  • Display a Search form
  • Implement a block equivalent to the [bw_search] shortcode

Proposed solution

  • New block oik-block/search - Search form
  • Implemented as a dynamic block for server side rendering
  • No need for any parameters
  • Does not need to call bw_search from oik-bob-bing-wide
  • It can just use get_search_form()

The block to be added to the list of experimental blocks in #16.

@bobbingwide bobbingwide added the enhancement New feature or request label Dec 13, 2018
@bobbingwide bobbingwide self-assigned this Dec 13, 2018
@bobbingwide
Copy link
Owner Author

Note that a Search block has also been written for Gutenberg 5.1. The Gutenberg block doesn’t appear to make use of the existing core functionality. I don’t know why.

@bobbingwide
Copy link
Owner Author

The Search block is now part of the oik-bob-bing-wide plugin.
There's also the core/search block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant