A WooCommerce theme template for Pollora. This repository contains placeholder files that are processed by pollora:make-theme when creating a new project.
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=apiaryTheme development happens in a Pollora test project using the code name apiary. This name is unique enough to avoid accidental replacements during packaging.
-
Develop in
themes/apiary/— modify views, CSS, config, etc. -
Package your changes back into this repository:
cd /path/to/theme-apiary
./bin/package-theme.sh /path/to/your-project/themes/apiaryThe script replaces all apiary / Apiary / Theme\Apiary references with the appropriate %placeholder% tokens.
- 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 --tagsThe 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 |
- Always use
apiaryas 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 bypollora:make-theme
- 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
GPL-2.0-or-later