You've already forked wp-bootstrap
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>
16 lines
359 B
Twig
16 lines
359 B
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<h1 class="mb-4">
|
|
{{ __('Search results for: %s')|format('<em>' ~ search_query ~ '</em>')|raw }}
|
|
</h1>
|
|
|
|
{% include 'partials/search-form.html.twig' %}
|
|
|
|
<div class="mt-4">
|
|
{% include 'components/post-loop.html.twig' %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|