Wolf Blocks
Reusable Gutenberg blocks for WolfThemes projects. Consumes CSS custom properties from the active theme.
by Constantin Saguin · github.com/wolfthemes/wolf-blocks · website
★ 0stars
0forks
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/wolfthemes/wolf-blocks/archive/refs/heads/master.zipReusable Gutenberg blocks for WolfThemes projects. All visual tokens (colors, fonts, spacing) are consumed from the active theme via CSS custom properties — the plugin never hardcodes values.
Blocks
| Block | Notes |
|---|---|
| Marquee | scrolling text band |
| Stats Counter | animated counter, IntersectionObserver |
| Testimonial Card | quote + avatar + author |
| Pricing Table | pricing tiers, services list, offer price |
| Countdown | dynamic block (PHP render_callback), manual date or wolf-store offer |
| Comparison Table | us vs competitor feature table, repeatable rows with reorder |
| Feature Grid | InnerBlocks grid, 2–4 columns |
| Feature Grid Item | child of feature-grid, icon picker, RichText title+desc |
Development
npm install
npm run build # production build
npm run start # dev watch
npm run lint:js # JS lint
npm run lint:css # SCSS lint
npm run lint:php # PHP lint (requires composer install)
Requirements
- WordPress 6.0+
- PHP 7.4+
- Node 18+
- Active theme that defines
--wolf-*CSS custom properties (see BOUNDARIES.md)