Gutestrap
Gutestrap, but locked to Bootstrap 4 styles.
by Denman Digital · github.com/denman-digital/gutestrap-bsv4 · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/denman-digital/gutestrap-bsv4/archive/refs/heads/bsv4.zipReadme
Gutestrap BSv4
⚠️ Important ⚠️
Gutestrap BSv4 uses the layout styles from Bootstrap version 4. Version 5 of Bootstrap dropped support for a number of older browsers, and leans hard into using CSS variables. This version of Gutestrap exists only for projects where supporting legacy(ish) browsers is crucial. In all other cases, use the latest version of regular Gutestrap.
Bootstrap layout blocks for Gutenberg.
👉 npm start
- Use to compile and run the block in development mode.
- Watches for any changes and reports back any errors in your code.
👉 npm run build
- Use to build production code for your block inside
distfolder. - Runs once and reports back the gzip file sizes of the produced code.
Grid values
Last changed in v1.3.13-bsv4
$grid-breakpoints: (
xs: 0,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px,
xxl: 1440px,
xxxl: 1680px,
xxxxl: 1900px,
);
$container-max-widths: (
sm: 540px,
md: 720px,
lg: 960px,
xl: 1140px,
xxl: 1320px,
xxxl: 1440px,
xxxxl: 1700px,
);
$grid-gutter-width: 30px;
Configuration
Enable/Disable Gutestrap Blocks for Post Types
add_filter("gutestrap_enable_for_post_type", function (bool $current_status, string $post_type_name): bool {
return $post_type_name === "my_cpt" ? false : $current_status;
}, 10, 2);
Enable Border Colors (experimental)
add_theme_support("gutestrap-border-colors"),Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.3.14-bsv4 | Sep 15, 2022 |
| v1.3.13-bsv4 | Jun 23, 2022 |
| v1.3.12-bsv4 | Jun 9, 2022 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.