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>
22 lines
511 B
Twig
22 lines
511 B
Twig
<!doctype html>
|
|
<html {{ language_attributes() }}>
|
|
<head>
|
|
<meta charset="{{ charset }}">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
{{ wp_head() }}
|
|
</head>
|
|
<body {{ body_class() }}>
|
|
{{ wp_body_open() }}
|
|
|
|
{% include 'partials/header.html.twig' %}
|
|
|
|
<main id="main-content" class="{% block main_class %}py-4{% endblock %}">
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
|
|
{% include 'partials/footer.html.twig' %}
|
|
|
|
{{ wp_footer() }}
|
|
</body>
|
|
</html>
|