Files
Logo-Soup/README.md
T
2026-04-13 20:06:32 -05:00

990 B

Logo Soup

Logo Soup is a block-first WordPress plugin for building balanced logo strips and grids directly inside the block editor.

Features

  • Upload logos from the editor and reorder them with simple move controls.
  • Add optional links per logo.
  • Choose between carousel and grid layouts.
  • Configure grayscale, animation speed, and hover pause behavior.
  • Set site-wide defaults under Settings > Logo Soup.

Requirements

  • WordPress 6.1+
  • PHP 7.4+

Development

composer install
npm install
composer phpcs
composer phpstan
composer test
npm run lint:js

Architecture

  • logo-soup.php: plugin bootstrap and autoloader.
  • src/: PHP application code.
  • blocks/logo-soup/: dynamic block metadata and built assets.
  • tests/php/: PHPUnit baseline coverage.

Security

  • REST mutations require manage_options plus a valid wp_rest nonce.
  • All settings are sanitized before saving.
  • Block output escapes URLs, attributes, and text on render.