跳到内容

Chunks

v1.1

Konstantin Kovshenin · 2011年3月14日 上架

Chunks is about managing tiny bits of content on your WordPress site.

正在使用
10+
评分
暂无
累计下载
3,986
最近更新
2011年6月18日
需要 WordPress 2.8+已测试到 3.1.4

截图

The Theme Chunks screen
The Theme Chunks screen

Chunks is for theme developers that have their themes filled with footer notes, copyright notices, block titles and descriptions, slogans, etc, which are sometimes hard-coded into the theme, sometimes localized (can be changed in po and mo files) and sometimes taken out to the theme options.

Chunks will do the job for you. A “chunk” is a piece of HTML code that could be inserted anywhere in your theme and edited from the Theme Chunks page under Appearance in your admin panel. Use register_chunks() in your functions.php to register chunks for your theme and use the chunk() to get the chunk value anywhere in your template files.

It’ll take you 5 minutes to implement Chunks in your theme: Getting Started with Chunks

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums