WP Manifestindependent plugin directory
manifest / social / whostyles-wordpress

Whostyles Codeberg

WordPress plugin adding native support for the Whostyles V1 (Hash Protocol) specification

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from Codeberg with WP-CLI:

wp plugin install https://codeberg.org/whostyles/whostyles-wordpress/archive/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Whostyles WordPress Plugin

A WordPress plugin adding native support for the Whostyles V1 (Hash Protocol) specification.

This plugin allows authors to visual syndicate personal typographic and cosmetic styles across WordPress posts and comment systems safely, performantly, and without compromising the site's structural layout.

For details on the protocol itself, see the core project repository at github.com/whostyles/whostyles.


Features

  • Comments Styling: Automatically parses incoming comments for Whostyle hashes, wrapping them in safe CSS container styling.
  • Author Branding: Define Whostyles on a per-post or site-wide basis, outputting correct HTTP headers and <meta> tags.
  • Zero Raw CSS Execution: Resolves styling exclusively using constrained CSS Custom Properties (variables) and predefined, host-enforced typography and background textures.

Development Setup

Requirements

  • PHP 7.4 or higher
  • Composer

Installation

  1. Clone this repository inside your WordPress wp-content/plugins/ directory:
    cd wp-content/plugins/
    git clone <repo-url> whostyles
  2. Navigate into the plugin folder and install development dependencies:
    composer install

    (Note: Until the whostyles/whostyles core package is available on Packagist, the core class is temporarily copied under src/Lib/Whostyles.php and loaded using local Composer autoloading configuration.)


Static Analysis

Run PHPStan to verify code quality and compliance:

composer run-script phpstan

Or directly:

vendor/bin/phpstan analyse

License

This project is licensed under the GNU General Public License v3.0 (GPLv3). See LICENSE for details. This plugin is compliant with the requirements for publishing on the WordPress.org plugin directory.