PHPackages                             kunoichi/bootstrapress - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. kunoichi/bootstrapress

AbandonedArchivedLibrary[Templating &amp; Views](/categories/templating)

kunoichi/bootstrapress
======================

UI wrapper of Bootstrap for WordPress.

1.0.2(3y ago)07.1k[7 issues](https://github.com/kuno1/bootstrapress/issues)1GPL-3.0-or-laterPHPPHP &gt;=5.6

Since Jul 10Pushed 3y agoCompare

[ Source](https://github.com/kuno1/bootstrapress)[ Packagist](https://packagist.org/packages/kunoichi/bootstrapress)[ RSS](/packages/kunoichi-bootstrapress/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (8)Dependencies (5)Versions (13)Used By (1)

bootstrapress
=============

[](#bootstrapress)

UI wrapper of Bootstrap for WordPress.

Installation
------------

[](#installation)

```
composer require kunoichi/bootstrapress

```

And in your `functions.php`, require `vendor/autoload.php`.

```
// functions.php
require __DIR__ . '/vendor/autoload.php';
```

Now you are ready!

How To Use
----------

[](#how-to-use)

It simply wraps Bootstrap UI to WordPress one.

### Navbar

[](#navbar)

Convert WordPress menu's HTML to suit with Bootstrap [navbar](https://getbootstrap.com/docs/4.1/components/navbar/).

```
// Pass $theme_location of your menu.
// It will be output as navbar.
new \Kunoichi\BootstraPress\NavbarMenu( 'header-menu' );
```

### Pagination

[](#pagination)

Output [Bootstrap style pagination](https://getbootstrap.com/docs/4.1/components/pagination/) for archive page. Wrapping it in your function because of future updates.

```
/**
 * Output pagination for archive page.
 */
function your_theme_pagination() {
    \Kunoichi\BootstraPress\PageNavi::pagination();
}
```

### Navpages

[](#navpages)

Output links for paginated posts in [Bootstrap style](https://getbootstrap.com/docs/4.1/components/pagination/). Uses `wp_link_pages` internally. Wrapping it in your function because of future updates.

```
/**
 * Output pagination for archive page.
 */
function your_theme_link_pages() {
    \Kunoichi\BootstraPress\PageNavi::pagination();
}
```

### Color Extractor

[](#color-extractor)

You can extract colors for Gutenberg color panel.

```
/**
 * Register colors.
 */
add_action( 'after_setup_theme', function() {
	if ( ! class_exists( 'Kunoichi\BootstraPress\Css\Extractor' ) ) {
		return;
	}
	$extractor = new Kunoichi\BootstraPress\Css\Extractor( get_template_directory() . '/style.css' );
	$pallets = $extractor->get_color_palette();
	if ( ! $pallets ) {
		return;
	}
	$colors = [];
	foreach ( $pallets as $slug => $color ) {
		$colors[] = [
			'name'  => ucfirst( $slug ), // For i18n, consider translation function.
			'slug'  => $slug,
			'color' => $color,
		];
	}
	add_theme_support( 'editor-color-palette', $colors );
} );
```

License
-------

[](#license)

GPL 3.0 and later. Compatible with WordPress.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~113 days

Recently: every ~254 days

Total

12

Last Release

1259d ago

Major Versions

0.4.3 → 1.0.02022-12-02

PHP version history (2 changes)0.2.0PHP ^5.6|^7.0

1.0.0PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/84587?v=4)[Takahashi Fumiki](/maintainers/fumikito)[@fumikito](https://github.com/fumikito)

---

Top Contributors

[![fumikito](https://avatars.githubusercontent.com/u/84587?v=4)](https://github.com/fumikito "fumikito (34 commits)")

---

Tags

bootstrap4wordpresswordpress-theme

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/kunoichi-bootstrapress/health.svg)

```
[![Health](https://phpackages.com/badges/kunoichi-bootstrapress/health.svg)](https://phpackages.com/packages/kunoichi-bootstrapress)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
