WordPress / block-theme-examples

A repository of feature examples for block themes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Block Theme Examples

This repository is meant to showcase various WordPress block-related features and how to use them in your theme. The goal is to provide concise code examples that serve as a foundation for your projects. They are meant for development purposes to customize however you need.

Each sub-folder is an individual child theme of Twenty Twenty-Four and contains a README.md file that explains the example. The decision to use child themes was to create small examples that only had the code needed for the feature.

Each of the examples also have corresponding documentation in either the WordPress Theme Handbook or WordPress Developer Blog.

Requirements:

  • You must be running at least WordPress 6.4.
  • You must have the Twenty Twenty-Four theme installed in your wp-content/themes folder.

Download or Test Live

Folder Short description Tags Download .zip Live Demo
πŸ“ example-block-style-js BLOCK THEME, BLOCK STYLE, JAVASCRIPT πŸ“¦
πŸ“ example-block-style-php BLOCK THEME, BLOCK STYLE, PHP πŸ“¦
πŸ“ example-block-stylesheet BLOCK THEME, PHP πŸ“¦
πŸ“ example-block-variation BLOCK THEME, JAVASCRIPT πŸ“¦
πŸ“ example-build-process BLOCK THEME, JAVASCRIPT πŸ“¦
πŸ“ example-locked-pattern BLOCK THEME, CURATION πŸ“¦
πŸ“ example-template-part-area BLOCK THEME, PHP πŸ“¦
πŸ“ twentytwentyfour-starter-content-patterns BLOCK THEME, CURATION πŸ“¦
πŸ“ twentytwentyfour-starter-template-patterns BLOCK THEME, CURATION πŸ“¦

About

A repository of feature examples for block themes.


Languages

Language:PHP 44.9%Language:JavaScript 32.3%Language:CSS 18.0%Language:HTML 4.5%Language:SCSS 0.4%