Case studiesCommission advances

Commission advances: separating workflows from WordPress themes

A commission-advance company’s operating workflows were embedded in its WordPress theme. Costel separated the application into a dedicated plugin, keeping WordPress while making the business logic easier to change and maintain.

Business
Anonymized finance company
Sector
Commission advances
Scope
WordPress application rescue
Contributor
Costel
Editorial illustration: charcoal document trays with one orange folder
AI-generated editorial illustration of the project’s domain.

A presentation change could affect leads and orders.

Lead imports, order management, status tracking and automated email had been implemented inside a custom WordPress theme. Business behavior and page rendering changed together.

That structure made a theme update an operational concern. To change an order rule, a developer first had to understand unrelated presentation code. The rescue needed to separate responsibilities while retaining the useful parts of the existing system.

Give the business application its own lifecycle.

Costel extracted the functionality into a custom plugin, preserving WordPress as the host while giving the business system its own lifecycle.

Eloquent ORM replaced ad hoc data access, and Blade templates made rendering explicit. Business rules moved out of the theme, presentation became replaceable, and the team could reason about orders and statuses without tracing through page code.

What the workflow includes

  • Move lead imports and order workflows into a dedicated plugin.
  • Separate order and status rules from page presentation.
  • Use Eloquent ORM for a clearer data-access layer.
  • Use Blade templates to make rendering explicit.

A maintainable application within the existing WordPress platform.

The company’s workflows became a dedicated WordPress application rather than an incidental theme feature. Data access, business rules and presentation had clearer boundaries, allowing later changes to be scoped around the part of the system they actually affected.

What this means for the technology owner.

A rescue does not have to start with a replacement platform. The first useful change can be separating a critical workflow from a fragile dependency. A takeover review should identify those boundaries, retain what works and leave the next team with a clearer application structure.

Decide whether to rebuild or rescue →

WordPressCustom pluginPHPEloquent ORMBlade

Project contribution: Costel. The scope described above identifies the work behind this case.

Editorial review: Ego Eimi · Updated September 6, 2026 · About the team

Your technology

Start with the business

Your business depends on it.

Tell us which system matters, what has changed and who controls it. We will define a reviewable next step. Read Foundation and the commitments and evidence.