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>
35 lines
1.4 KiB
Twig
35 lines
1.4 KiB
Twig
<footer class="bg-body-tertiary mt-auto">
|
|
<div class="container py-5">
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<h5 class="fw-bold">{{ site.name }}</h5>
|
|
<p class="text-body-secondary">{{ site.description }}</p>
|
|
</div>
|
|
<div class="col-md-6 text-md-end">
|
|
{% if footer_menu|length > 0 %}
|
|
<ul class="list-unstyled">
|
|
{% for item in footer_menu %}
|
|
<li>
|
|
<a href="{{ item.url }}" class="text-body-secondary text-decoration-none">
|
|
{{ item.title }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<div class="row align-items-center">
|
|
<div class="col-md-6">
|
|
<p class="text-body-secondary small mb-0">© {{ current_year }} {{ site.name }}</p>
|
|
</div>
|
|
<div class="col-md-6 text-md-end">
|
|
<p class="text-body-secondary small mb-0">
|
|
{{ __('Powered by %s')|format('<a href="https://wordpress.org" rel="nofollow" class="text-body-secondary">WordPress</a>')|raw }}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|