PHPackages                             hounddd/wn-blocks-theme - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hounddd/wn-blocks-theme

ActiveWinter-theme[Utility &amp; Helpers](/categories/utility)

hounddd/wn-blocks-theme
=======================

Winter CMS theme that demonstrates the use of repeater groups to assemble static pages with customizable building sections and blocks.

1.2.0(4y ago)132063MITHTMLPHP &gt;=5.4

Since Apr 30Pushed 4y ago3 watchersCompare

[ Source](https://github.com/Hounddd/wn-blocks-theme)[ Packagist](https://packagist.org/packages/hounddd/wn-blocks-theme)[ RSS](/packages/hounddd-wn-blocks-theme/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (2)Versions (5)Used By (0)

Winter CMS - Blocks Theme
=========================

[](#winter-cms---blocks-theme)

Winter CMS theme that demonstrates the use of "repeater groups" in [custom page fields](https://github.com/wintercms/wn-pages-plugin/blob/main/docs/documentation.md#custom-page-fields) to assemble static pages with customizable building sections and blocks. Each section, depending on his type, can have one or more blocks.

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

[](#installation)

(let assume you're in the root of your winter installation)

### Using composer

[](#using-composer)

Just run this command

```
composer require hounddd/wn-blocks-theme

```

### Cloning repo

[](#cloning-repo)

Clone this repo into your winter themes folder.

```
cd themes
git clone https://github.com/Hounddd/wn-blocks-theme blocks

```

Usage
-----

[](#usage)

NOTE: the name **blocks** is important, if you change the themes name you have to alter some files to match the path.

- the groups attribute in the `layouts/default.htm` repeater.
- the groups attribute in the `meta/sections.yaml` repeater.

In your backend, check for the [static pages plugin](https://github.com/wintercms/wn-pages-plugin) to be installed. If you go to the "Pages" and edit home page, you now have a blocks tab where you can add different sections/blocks, enter data and even rearrange their order. Custom page fields add custom fields to the page editor form, called *Syntax Fields*

[![static pages example](assets/images/blocks.jpg)](assets/images/blocks.jpg)

Adjust to your needs
--------------------

[](#adjust-to-your-needs)

See [Winter CMS backend forms](https://wintercms.com/docs/backend/forms) documentation to see how setting new field definitions.

### Adding sections

[](#adding-sections)

To add more section types, edit `meta/sections.yaml` file.

In your field definition simply add

```
my-section-type:
    name: My awesome section
    description: display a section
    icon: icon-table
    content:
        type: repeater
        prompt: Add new block
        style: accordion
        groups: themes/blocks/meta/blocks.yaml

```

**Important**: Each section definition has a corresponding partial file named `partials/blocks/{section_name}.htm`. The form data is passed as 'data'.

[![static pages example](assets/images/blocks-menus.png)](assets/images/blocks-menus.png)

### Adding blocks

[](#adding-blocks)

To add more block types, edit `meta/blocks.yaml` file.

In your field definition simply add

```
text:
    name: Simple text
    description: simple text without html tags
    icon: icon-file-text-o
    fields:
        content:
            label: Content
            span: left
            type: textarea
            size: small

```

**Important**: Each block definition has a corresponding partial file named `partials/blocks/content/{block_name}.htm`. The form data is passed as 'content'.

**Make awesome sites with Winter!**

---

This theme is inspired by [Liip/Blocks Theme](https://github.com/liip/oc-blocks-theme).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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 ~8 days

Total

4

Last Release

1818d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b94bfda4c51f6f158b55a6726e01443fc9bbf1e5676f672f281a9e6e875e8be?d=identicon)[damsfx](/maintainers/damsfx)

---

Top Contributors

[![damsfx](https://avatars.githubusercontent.com/u/282242?v=4)](https://github.com/damsfx "damsfx (5 commits)")

---

Tags

blockscustom-page-fieldsthemewintercmscmsthemedemowinter

### Embed Badge

![Health badge](/badges/hounddd-wn-blocks-theme/health.svg)

```
[![Health](https://phpackages.com/badges/hounddd-wn-blocks-theme/health.svg)](https://phpackages.com/packages/hounddd-wn-blocks-theme)
```

###  Alternatives

[winter/storm

Winter CMS Storm Library

46239.3k6](/packages/winter-storm)[winter/wn-sitemap-plugin

Sitemap plugin for Winter CMS

1042.6k1](/packages/winter-wn-sitemap-plugin)[winter/wn-seo-plugin

Winter CMS plugin for managing SEO tags

106.3k](/packages/winter-wn-seo-plugin)

PHPackages © 2026

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