Minimalistic WordPress theme for Beaver Themer and Beaver Builder.
Kntnt's base theme for Beaver Themer is based on Automattic's thorough and well-made starter theme _s (pronounced underscores).
While _s is intended as a starting point for building theme by hand, Kntnt base theme is intended as a starting point for building theme by using Beaver Themer and Beaver Builder.
Beaver Themer is a great tool that allows you to build a theme by using Beaver Builder. But to work, Beaver Themer requires a supporting theme.
Many of them comes with bells and whistles which are unnecessary since you can and often do override them with Beaver Themer. That holds true even for themes which are supposedly light-weight, including Beaver Theme and Astra.
Kntnts Base Theme is missing all bells and whistles. With Beaver Themer installed, you will not see any headers or footers, nor a sidebar. It is just a clean slate.
But Kntnt Base Theme is not too simplistic. To ensure basic features and best practice it is built on _s which provides "a thousand hour head start". _s is created by Automattic — the company behind WordPress — and is used as the starting point for many of their themes, including recent themes bundled with WordPress (e.g. Twenty Seventeen).
Install the usually way.
Your site will look really crappy after installing and activating Kntnt Base Theme. Don't panic. That is intentional. Your next step would be to create layouts for header, footer, posts/pages, archives and a 404-page. It takes just a few minutes to get a really beautiful theme which then can modify as you please. This is whart you need to do:
- Visit your sites backend at
/wp-admin
. - Install and activate Beaver Themer and Beaver Builder.
- Select Builder » Themer Layouts in the admin menu.
- Create a header layout:
- Click on Add New-button near the top of the screen.
- Enter
Header
in the Title-field, selectHeader
from the Layout-dropdown, and click on the Add Themer Layout-button. - Select
Entire Site
as Location on the next screen, and click on the Publish-button.
- Create a footer layout:
- Click on Add New-button near the top of the screen.
- Enter
Footer
in the Title-field, selectFooter
from the Layout-dropdown, and click on the Add Themer Layout-button. - Select
Entire Site
as Location on the next screen, and click on the Publish-button.
- Create a post and page layout:
- Click on Add New-button near the top of the screen.
- Enter
Singular
in the Title-field, selectSingular
from the Layout-dropdown, and click on the Add Themer Layout-button. - Select
All Singular
as Location on the next screen, and click on the Publish-button.
- Create an archive layout:
- Click on Add New-button near the top of the screen.
- Enter
Archive
in the Title-field, selectArchive
from the Layout-dropdown, and click on the Add Themer Layout-button. - Select
All Archives
as Location on the next screen, and click on the Publish-button.
- Create an "page not found" layout:
- Click on Add New-button near the top of the screen.
- Enter
Page not found (404)
in the Title-field, select404
from the Layout-dropdown, and click on the Add Themer Layout-button. - Select
All Users
as Users on the next screen, and click on the Publish-button.
- Go to the front of your site and enjoy!
The only stylesheet used by the theme is style.css
.
You can leave it as it is, and make all your styling through Beaver Builder. Things you cannot modify directly through Beaver Builder's user interface, can be modify by adding custom CSS in Beaver Builder.
You can also modify and extend style.css
as you wish.
You can re-generate style.css
from Sass-files found in the sass
-directory. To do that you need Node.js and follow these steps:
- Open a terminal and change working directory to the theme's directory (where you find
style.css
). - Install node-sass-chokidar by following command:
npm install
. - Re-generate
style.css
with following command:npm run build
.
Run npm run build
every time you you want to re-generate style.css.
You can also automate the re-generation by starting npm run watch
and let it run in the background. style.css
will automatically be re-generated every time a file in the sass
-directory is changed. When you are done with your adjustments of the sass-files, turn off the automatic re-generation by simply stopping the background process started with npm run watch
.
The purpose of _s is not to be a basic theme, but to be a starting point for developers to create their own theme. However, it makes it difficult to incorporate bug fixes and improvements made to _s.
Kntnt Base Theme therefore leave files originating from _s as untouched as possible. Inevitable modifications are made so that it is easy to create an apprehensible patch file with diff
and apply it to later versions of _s.
Plans for future versions of the theme includes options in the customizer to set global colors and fonts (including fonts from Gooogle Fonts).
Initial release.