PHPackages                             bostondv/bootstrap-share-buttons-wordpress - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. bostondv/bootstrap-share-buttons-wordpress

Abandoned → [bostondv/bootstrap-share-buttons](/?search=bostondv%2Fbootstrap-share-buttons)Wordpress-plugin[Mail &amp; Notifications](/categories/mail)

bostondv/bootstrap-share-buttons-wordpress
==========================================

Super lightweight Bootstrap social sharing buttons (without counters)

1.0.3(10y ago)31762MITPHPPHP &gt;=5.4.0

Since Aug 8Pushed 10y ago1 watchersCompare

[ Source](https://github.com/bostondv/bootstrap-share-buttons)[ Packagist](https://packagist.org/packages/bostondv/bootstrap-share-buttons-wordpress)[ Docs](http://github.com/bostondv/bootstrap-share-buttons/)[ RSS](/packages/bostondv-bootstrap-share-buttons-wordpress/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (5)Used By (0)

Bootstrap Share Buttons
=======================

[](#bootstrap-share-buttons)

An often overlooked method of implementing social sharing buttons (without counters) on your site. Super lightweight without any external loaded resources, JavaScript, or CSS. Fully customisable using CSS and WordPress filters.

The social buttons are designed to work on sites already running a [Bootstrap](http://getbootstrap.com) theme with [FontAwesome](http://fontawesome.io) icons. The plugin does not automatically load any JavaScript or CSS resources.

If you don't want to use Bootstrap or FontAwesome, you can still use this plugin by providing your own CSS or by using WordPress filters to change the button and icon classes.

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

[](#installation)

### Composer

[](#composer)

`composer require bostondv/bootstrap-share-buttons`

### WordPress Plugin

[](#wordpress-plugin)

*Coming soon to the WordPress.org plugin repository*.

1. Upload the `bootstrap-share-buttons` folder to the `/wp-content/plugins/` directory
2. Activate the Bootstrap Share Buttons plugin through the 'Plugins' menu in WordPress

### Manually Include

[](#manually-include)

[Download the repository](https://github.com/bostondv/bootstrap-share-buttons/archive/master.zip) and upload to your project. Include `bootstrap-share-buttons.php` in your project somewhere.

Usage
-----

[](#usage)

### Shortcode

[](#shortcode)

Display social buttons anywhere shortcodes are supported.

`[bs-share-buttons twitter="bostondv" display="facebook,twitter,google,pinterest" style="both" type="default" size="md" /]`

### Function Call

[](#function-call)

Display social buttons anywhere within your PHP templates.

``

### Parameters

[](#parameters)

**twitter** *Required*
Your twitter account handle.

**display** *Optional*
Comma separated list of share buttons you wish to display.

Options: `facebook`, `twitter`, `google`, `pinterest`, `linkedin`, `email`, `print`, or `all`.
Default: `all`

**style** *Optional*
Style of button to display.

Options:`icon`, `text`, or `both`.
Default: `both`

**type** *Optional*
Bootstrap button type.

Options: `default`, `primary`, `success`, `info`, `warning`, or `danger`.
Default: `default`

**size** *Optional*
Bootstrap button size.

Options: `xs`, `sm`, `md`, or `lg`.
Default: `md`

### Filters

[](#filters)

**bs\_share\_items**
Allows you to change the share buttons displayed and any of their parameters.

Takes two arguments:
`$displayed_items` *(Array)* - All items that will be displayed.
`$all_items` *(Array)* - Array of all available social share buttons.

**bs\_share\_btn\_class**
Allows you to change the share button classes.

Takes two arguments:
`$classes` *(Array)* - Array of all button classes.
`$name` *(String)* - Name of the share button eg. 'facebook'.

**bs\_share\_icon\_class**
Allows you to change the share button icon classes.

Takes two arguments:
`$classes` *(Array)* - Array of all icon classes.
`$name` *(String)* - Name of the share button eg. 'facebook'.

**bs\_share\_text**
Allows you to change the share button text. Used for the link `title` attribute, and the button text if `style` equals `text` or `both`.

Takes two arguments:
`$text` *(String)* - Text for the button.
`$name` *(String)* - Name of the share button eg. 'facebook'.

About
-----

[](#about)

Written by Boston Dell-Vandenberg of [Pomelo Design](http://www.pomelodesign.com). Pomelo Design is a web and mobile app development agency based in Toronto, Canada.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

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

Total

4

Last Release

3953d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

1.0.1PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2466478cda19cbdba3f99be5256a5c94e5697e1c4f09cf40d035618bbca1305e?d=identicon)[bostondv](/maintainers/bostondv)

---

Top Contributors

[![bostondv](https://avatars.githubusercontent.com/u/133814?v=4)](https://github.com/bostondv "bostondv (12 commits)")

---

Tags

wordpressfacebookgoogleemailtwittersocialbootstrapprintlinkedinpinterestbuttonssharing

### Embed Badge

![Health badge](/badges/bostondv-bootstrap-share-buttons-wordpress/health.svg)

```
[![Health](https://phpackages.com/badges/bostondv-bootstrap-share-buttons-wordpress/health.svg)](https://phpackages.com/packages/bostondv-bootstrap-share-buttons-wordpress)
```

###  Alternatives

[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k21.5M69](/packages/hwi-oauth-bundle)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1414.8k](/packages/pdir-social-feed-bundle)

PHPackages © 2026

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