Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

---

## [Unreleased] — Replace the phase-services dynamic block with per-phase patterns (LS-4179)
Comment thread
coderabbitai[bot] marked this conversation as resolved.

### Changed

- Replaced the `ls-theme/phase-services` dynamic block, which chose its "Services in this phase" cards from the current page slug, with six static patterns you can insert from the editor: `patterns/sections/phase-services-{discover,create,build,launch,grow,evolve}.php` (Section - Phase Services: Discover … Evolve). Each one holds its own phase's heading, service tiles and phase accent colour, so the content no longer depends on which page it's placed on.

### Removed

- `blocks/phase-services/`, `inc/blocks.php` (and its `require` in `functions.php`), and `patterns/sections/phase-services-in-phase.php`, the wrapper pattern that only contained the block.

([#76](https://github.com/lightspeedwp/ls-theme/pull/76))

---

## [Unreleased] — Make phase section patterns follow the current phase colour (LS-4179)

### Fixed
Expand Down
11 changes: 0 additions & 11 deletions blocks/phase-services/block.json

This file was deleted.

34 changes: 0 additions & 34 deletions blocks/phase-services/index.js

This file was deleted.

213 changes: 0 additions & 213 deletions blocks/phase-services/render.php

This file was deleted.

3 changes: 0 additions & 3 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@
/** Loads the phase-page body class used to drive the Journey Phases nav's active state */
require get_template_directory() . '/inc/phase-page-body-class.php';

/** Registers the theme's own custom blocks (blocks/*) */
require get_template_directory() . '/inc/blocks.php';

/**
* Sets up theme supports.
*/
Expand Down
38 changes: 0 additions & 38 deletions inc/blocks.php

This file was deleted.

Loading
Loading