WordPress博客

theme-buzz — WordPress 博客模板

作者 Pollora

Buzz 是 Pollora 的杂志/期刊风格 WordPress 全站编辑(区块)主题模板,以排版为核心,通过 pollora:make:theme 生成实际主题。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

2 个预览视图
桌面端首页1 / 2
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 2

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-02查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

真实的 WordPress 全站编辑区块主题,包含 templates/*.html 与 parts/*.html,可在站点编辑器中编辑

02

作为 pollora:make:theme 的模板使用,通过占位符替换生成新主题

03

排版驱动的杂志/期刊设计:Playfair Display 与 Source Serif 4 两族字体,手写流式字号阶梯

04

调色板克制:纸张色、墨色、说明灰、细线、编辑红,仅颜色从 Tailwind @theme static 流入 theme.json

05

模板为薄委托层,指向 patterns/ 下的静态区块 pattern,动态区块自行完成内容渲染

06

当前版本包含六个模板、六个 pattern,无样式变体

模板详细介绍

Buzz 是 Pollora 提供的 WordPress 全站编辑(区块)主题模板,定位为排版驱动的期刊/杂志风格。它使用真实的 templates/*.html 与 parts/*.html,可在 WordPress 站点编辑器中编辑,而不是 Pollora 通常的 Blade 模板层级。该仓库本身是 pollora:make:theme 命令使用的模板,文件内包含 %theme_name%、%theme_namespace% 等占位符,由命令替换后生成新主题;设计词汇如 buzz-* 类名和 buzz_card 图片尺寸保持原名。

结构上,主题根目录存放 WordPress 直接读取的文件(templates/、parts/、patterns/、theme.json、style.css),resources/views/ 存放由 Pollora 编译的 Blade 文件。模板文件是薄委托层,每个仅指向一个 pattern;patterns/ 下为静态区块标记,由 WordPress 自身注册,包括 masthead、index-list、article、page-body、not-found 和 design-system。需要 Laravel 的 pattern(如页脚年份)使用 resources/views/patterns/colophon.blade.php。

设计系统固定为一种编辑方向:纸张色、墨色、说明灰、细线、克制的编辑红;字体为 Playfair Display(展示)与 Source Serif 4(正文/界面),两族字体,手写于 theme.json 的杂志级流式字号阶梯;阅读栏宽 42rem,启用首字下沉,期刊索引使用大号衬线标题与细线分隔而非卡片。只有颜色调色板从 Tailwind 的 @theme static 块流入构建后的 theme.json,字号、字体与边框圆角均为手写。

当前状态为刻意简单的第一版:六个模板、六个 pattern、无样式变体。本地开发应在由该模板生成的主题中进行,而非直接在此仓库运行;构建输出目录以磁盘上的主题目录命名,需从 WordPress 实际提供主题的 themes/<slug> 构建,避免使用符号链接。

WordPress博客

适合你的项目吗?

适用场景

  • 使用 Pollora 的 pollora:make:theme 命令生成杂志或期刊风格的 WordPress 主题
  • 在 WordPress 站点编辑器中调整颜色、排版和模板,构建编辑类博客或在线杂志
  • 作为学习 Pollora 框架中区块主题与 Blade 混合结构的参考模板
  • 为需要期刊索引列表、大号衬线标题和细线分隔的博客提供起始设计

适合人群

  • 使用 Pollora 框架并需要杂志/期刊风格 WordPress 主题的开发者
  • 希望基于全站编辑区块主题进行二次开发的 WordPress 用户
  • 需要排版优先、阅读栏窄、首字下沉的编辑类博客或在线杂志项目

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    不要直接在此仓库开发,应通过 php artisan pollora:make:theme my-journal --repository=Pollora/theme-buzz 生成主题后在生成的主题中运行 npm install && npm run dev

  2. 2

    新增 patterns/ 文件后需清除 WordPress 的 pattern 缓存,或设置 WP_DEVELOPMENT_MODE=theme

  3. 3

    构建输出目录以磁盘上的主题目录命名,需从 themes/<slug> 构建,不要使用符号链接

  4. 4

    bin/ 目录在脚手架生成时会被丢弃,其中包含打包脚本、CI 安装脚本和浏览器测试

  5. 5

    演示图片、字体等第三方素材需按各自许可核对,代码采用 MIT 许可

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • 不能直接在本仓库中开发或运行:模板文件含 %theme_name% 等占位符,无法直接执行,必须先用 pollora:make:theme 生成主题后再开发。
  • 构建必须从 WordPress 实际提供主题的 themes/<slug> 目录进行,不能使用符号链接;否则 Node 解析 __dirname 为真实路径,会导致所有资源与字体 URL 静默失效。
  • 新增 patterns/ 文件后不会立即生效:需清除 WordPress 的 pattern 缓存,或设置 WP_DEVELOPMENT_MODE=theme 才能立即显示。
  • 该仓库是 pollora:make:theme 命令的模板之一,需通过该命令生成实际主题,而非独立可直接安装的主题。
  • bin/ 目录在脚手架生成主题时会被丢弃,其中的打包脚本、CI 安装脚本与浏览器测试不会出现在生成的主题中。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

Develop on a theme generated from this template, never in this repository — its placeholders do not run:

README 原文

The build's output folder is named after the theme's directory on disk, so build from where WordPress serves the theme (`themes/<slug>`), not from a symlink: Node resolves `__dirname` to the real path, and a mismatch breaks every asset and font URL silently.

README 原文

WordPress caches the list of a theme's `patterns/` files: a new file shows up once that cache is cleared (`wp eval 'wp_get_theme()->delete_pattern_cache();'`), or at once with `WP_DEVELOPMENT_MODE=theme`.

README 原文

Buzz is one of the templates of `pollora:make:theme`:

README 原文

`bin/` is dropped by the scaffolder.

README 原文
https://github.com/Pollora/theme-buzz/blob/main/LICENSEhttps://github.com/Pollora/theme-buzz/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-04。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 80 / 100
技术栈
WordPress
网站类型
博客
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-09-29
截图检查日期
2026-10-04

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 WordPress。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

审核声明: [email protected] · 2026-10-04

查看当时使用的来源资料

SHA-256: a82cd289d1824374ecd6d27bc9dbf32c4e7a27d5efee87dc6fab9e1044fd5342

2026-10-04T07:37:14.247Z

来源文件 / 仓库
# Buzz

A typographic, journal/magazine [Pollora](https://pollora.dev) theme, built in WordPress's **Full
Site Editing** (block theme) mode: real `templates/*.html` and `parts/*.html`, editable in the Site
Editor, instead of Pollora's usual Blade-based template hierarchy.

## Use it

Buzz is one of the templates of `pollora:make:theme`:

```bash
php artisan pollora:make:theme my-journal   # then choose "Magazine"
# or, without the prompt
php artisan pollora:make:theme my-journal --repository=Pollora/theme-buzz
```

This repository is that template: its files carry `%theme_name%`, `%theme_namespace%`… which the
command substitutes, so the pattern slugs (`my-journal/masthead`), the namespace
(`Theme\MyJournal`) and the `style.css` header are the new theme's own. The design's vocabulary
— the `buzz-*` classes, the `buzz_card` image size — keeps its name.

## Why a block theme, in a Blade-first framework

Pollora normally resolves every page through its own Blade template hierarchy, and its guidance is
explicit: never ship a WordPress PHP template. A genuine WordPress block theme is a deliberate
exception to that — its `templates/*.html` and `parts/*.html` are what makes the WordPress Site
Editor's page (colours, typography, the templates themselves) editable at all. Pollora's front
controller falls through to WordPress core's own template resolution when nothing in its Blade
hierarchy matches, which is what lets a real block theme render through it. Verified end to end
(homepage, single post, page, archive, search, 404 — all with the correct HTTP status) before this
theme was built.

## Structure

```
buzz/
├── templates/           # Thin delegators: each just points at a pattern
│   ├── index.html
│   ├── archive.html
│   ├── search.html
│   ├── single.html
│   ├── page.html
│   └── 404.html
├── parts/                # header.html / footer.html, each delegating to a pattern too
├── patterns/              # Static patterns, registered by WordPress itself
│   ├── masthead.php       # The actual header markup
│   ├── index-list.php     # The journal index: a post loop, large titles, hairline rules
│   ├── article.php        # A single post's body, plus comments
│   ├── page-body.php      # A plain page's body
│   ├── not-found.php      # The 404 message
│   └── design-system.php  # Every native block, styled — offered in the inserter
├── resources/views/patterns/
│   └── colophon.blade.php # The footer — Blade, for the one thing that needs real PHP: the year
├── theme.json             # The design system: palette, the two-family type scale, spacing, styles
├── resources/assets/
│   ├── css/app.css        # @theme static tokens (colour only — see below) + the few hand-authored rules
│   └── fonts/              # Self-hosted Playfair Display + Source Serif 4 (OFL, Google Fonts, latin subset)
└── app/Providers/AssetServiceProvider.php
```

One rule decides where a file goes: **the theme root holds what WordPress reads itself**
(`templates/`, `parts/`, `patterns/`, `theme.json`, `style.css` — the layout the Site Editor exports
too), and **`resources/views/` holds Blade, compiled by Pollora**.

So a static pattern is a native WordPress one, `patterns/*.php`: block markup under a header
docblock (`Title`, `Slug`, `Categories`…). Most of Buzz's patterns are, since the dynamic blocks
(`post-title`, `post-content`, `post-terms`…) do the work themselves. A pattern that needs Laravel
— the colophon's year, here — is a Blade view in `resources/views/patterns/*.blade.php`, registered
by Pollora.

WordPress caches the list of a theme's `patterns/` files: a new file shows up once that cache is
cleared (`wp eval 'wp_get_theme()->delete_pattern_cache();'`), or at once with
`WP_DEVELOPMENT_MODE=theme`.

## Design system

One committed editorial direction — ink on newsprint, one accent used sparingly:

- **Palette**: `paper` (warm off-white), `ink` (near-black), `caption` (muted grey), `rule`
  (hairline), `rubric` (a restrained editorial red — kickers, the masthead rule, a link on hover;
  never a colour field).
- **Type**: Playfair Display (display — high-contrast, the classic magazine masthead serif) +
  Source Serif 4 (body/UI text) — a two-family discipline, no third face. A magazine-scale, fluid
  type ladder (`caption` → `masthead`) is hand-authored in `theme.json`, not Tailwind's defaults.
- **Rhythm**: a narrow reading column (`contentSize: 42rem`), drop caps on, a journal index list
  with large serif titles and hairline dividers instead of cards.

Only the **colour** palette flows from Tailwind's `@theme static` block into the built `theme.json`
(`disableTailwindFonts` / `FontSizes` / `BorderRadius` in `vite.config.js`) — the type scale, the two
font families (each with its own `fontFace`) and the border radii (none — a sharp, print-like
edge everywhere) are the design system itself, authored by hand.

## Local development

Develop on a theme generated from this template, never in this repository — its placeholders do
not run:

```bash
php artisan pollora:make:theme buzz --repository=Pollora/theme-buzz   # in a test project
cd themes/buzz && npm install && npm run dev
# … then package the changes back into this repository:
./bin/package-theme.sh /path/to/project/themes/buzz
git diff   # review: only buzz/, Theme\Buzz and the style.css header become placeholders
```

The build's output folder is named after the theme's directory on disk, so build from where
WordPress serves the theme (`themes/<slug>`), not from a symlink: Node resolves `__dirname` to the
real path, and a mismatch breaks every asset and font URL silently.

`bin/` is dropped by the scaffolder. It holds the packaging script, `bin/ci/install.php` (the
commit under test, substituted as `make:theme` would — what CI installs) and the browser tests.

## Status

A first, deliberately simple version: six templates, six patterns, no style variations. See
[`Pollora/framework`](https://github.com/Pollora/framework) for the FSE support this theme relies
on, and the framework's changelog for the two fixes this theme's construction found and fixed
(a block theme's `404.html` answering the right HTTP status, its `error404` body class).
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。