You've already forked wp-bootstrap
v0.1.1 - Bootstrap frontend rendering via Twig templates
Replace FSE block markup on the frontend with proper Bootstrap 5 HTML rendered through Twig templates. The Site Editor remains functional for admin editing while the public site outputs Bootstrap navbar, cards, pagination, grid layout, and responsive components. New PHP classes: TemplateController, ContextBuilder, NavWalker New Twig templates: 20 files (base, pages, partials, components) Enhanced TwigService with WordPress functions and globals Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
11
views/partials/search-form.html.twig
Normal file
11
views/partials/search-form.html.twig
Normal file
@@ -0,0 +1,11 @@
|
||||
<form role="search" method="get" action="{{ site.url }}" class="mb-4">
|
||||
<div class="input-group">
|
||||
<input type="search" class="form-control" name="s"
|
||||
placeholder="{{ __('Search...') }}"
|
||||
value="{{ search_query is defined ? search_query : '' }}"
|
||||
aria-label="{{ __('Search') }}">
|
||||
<button class="btn btn-primary" type="submit">
|
||||
{{ __('Search') }}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user