Skip to content

Pollora/theme-apiary

Repository files navigation

Pollora WooCommerce Theme (Apiary)

A WooCommerce theme template for Pollora. This repository contains placeholder files that are processed by pollora:make-theme when creating a new project.

For End Users

You don't interact with this repository directly. When you create a Pollora project with this theme, it is generated automatically:

php artisan pollora:make-theme my-theme --template=apiary

Contributing

Development Setup

Theme development happens in a Pollora test project using the code name apiary. This name is unique enough to avoid accidental replacements during packaging.

  1. Develop in themes/apiary/ — modify views, CSS, config, etc.

  2. Package your changes back into this repository:

cd /path/to/theme-apiary
./bin/package-theme.sh /path/to/your-project/themes/apiary

The script replaces all apiary / Apiary / Theme\Apiary references with the appropriate %placeholder% tokens.

  1. Review, commit, tag and push:
git diff
git add -A && git commit -m "feat: description of changes"
git tag x.y.z
git push origin main --tags

Placeholders

The following placeholders are replaced by pollora:make-theme:

Placeholder Replaced with
%theme_name% Theme slug (e.g. my-theme)
%theme_namespace% PSR-4 namespace (e.g. Theme\MyTheme)
%theme_camel% camelCase name (e.g. myTheme)
%theme_uri% Theme URL
%theme_author% Author name
%theme_author_uri% Author URL
%theme_description% Theme description
%theme_version% Version number

Important

  • Always use apiary as the dev theme name — the packaging script depends on it
  • Never commit files with concrete theme names (check with grep -r "apiary" --include="*.php" --include="*.css" before pushing)
  • The bin/ directory is excluded when the theme is downloaded by pollora:make-theme

Features

  • WooCommerce: Complete template coverage (cart, checkout, my account, orders, product pages)
  • Tailwind CSS v4: Design tokens synced with WordPress theme.json
  • Alpine.js: Lightweight interactivity (menus, modals, cart slide-over)
  • Blade templates: Full view layer with component support
  • Accessibility: Semantic HTML, ARIA labels, keyboard navigation
  • i18n: Fully translatable

License

GPL-2.0-or-later

About

WooCommerce theme template for Pollora — Tailwind CSS v4, Alpine.js, full WooCommerce template coverage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors