Documentation · version 5.1.0
Ocre Editions
An editorial WordPress theme for WooCommerce stores that sell furniture, lighting, ceramics, textiles and other crafted objects. Calm typography, a homepage built from reorderable sections, twenty importable demos (stores, one-page sites and a business site) and full right-to-left support.
This guide explains how to install the theme, activate your licence, import a demo, set up every option and extend the theme with a child theme. Use the search box (press / or Ctrl+K) to find a setting by its name.
Version 5.1 also builds one-page sites and business sites: the Folio and Datum demos run without WooCommerce.
Highlights
- Homepage section builder with 22 section types, including an animated hero exhibition with product hotspots, quotes, figures, pricing, questions, a banner and a contact form. Each list keeps up to 24 sections.
- One-page sites: anchor navigation, scroll spy, an optional section rail and a header button. Reusable sections can be printed in any page or post with a shortcode.
- Five header layouts (Classic, Centered, Minimal, Split and Stacked), three footer layouts, a mega panel, a colour-scheme switch and six style presets.
- Self-hosted open fonts in twelve font pairs (four Latin, eight Arabic). No request is sent to a font service.
- WooCommerce rendered through its own templates and hooks: quick view, wishlist, compare, swatches, size guide, sticky add-to-cart bar, mini-cart drawer, product filters, badges.
- Companion plugin Ocre Editions Core: double opt-in newsletter, contact form, basic SEO metadata and extra product fields. The theme works without it.
- One-click demo importer with 20 demos (17 stores, two one-page sites and a business site), rollback, and WP-CLI commands.
- Translation ready, full right-to-left support, child theme included.
- Works without JavaScript for reading and navigation, respects reduced-motion preferences, keyboard accessible.
How to use this documentation
If you are starting a new site, read Requirements, Installation, Licence activation and One-click demo import in that order. Everything else is reference material you can open when you need it.
Before you startWork on a staging or development copy first when you can, and keep a backup of your site. For a staging subdomain of your live domain, see
Staging sites and the live domain. The demo importer never deletes your own content, but a backup is always the safest undo.
Requirements
Minimum WordPress, PHP and WooCommerce versions come from the theme and plugin headers. The table also lists compatibility and hosting requirements.
Requirements| Item | Requirement | Notes |
|---|
| WordPress | 6.8 or newer | Tested up to 7.1. The demo importer shows a warning below 6.5. |
|---|
| PHP | 7.4 or newer | Compatible with 7.4 to 8.5. The importer refuses to run below 7.4. |
|---|
| WooCommerce | Optional; needed for the shop | Not needed for the Folio and Datum demos (a one-page and a business site without a shop). The companion plugin declares WooCommerce 9.0 as its minimum and 11.3 as the version it was tested with. The theme overrides three WooCommerce templates (archive, product card, single product). |
|---|
| Ocre Editions Core plugin | Optional | Version 1.1.0, in your download package. WordPress 6.7 or newer, PHP 7.4 or newer. Needed for the built-in contact form, so the Folio and Datum demos require it. |
|---|
| HTTPS | Recommended for every live site | The licence server must be reached over HTTPS. |
|---|
| PHP extensions | sodium (or the polyfill bundled with WordPress), zip recommended | Used to verify the signed licence; zip makes demo packages unpack faster. GD or Imagick with WebP support is recommended for demo images. |
|---|
| Server limits for the demo import | Memory 128 MB or more; PHP execution time 60 seconds or more | The initial demo download, verification and unpacking run in one request. Ask your host to raise PHP and web-server timeouts if it fails; later import steps are shorter. |
|---|
| Browsers | Latest two versions of Chrome, Edge, Firefox and Safari (desktop and mobile) | Older browsers get a readable page without animation. |
|---|
| Node.js (optional) | 18 or newer | Only if you want to rebuild the CSS and JavaScript from the readable sources in assets/src. |
|---|
Works without the extrasThe theme runs without WooCommerce (as a blog and brochure theme), without the companion plugin, without a licence and with JavaScript disabled. Only the built-in contact form needs the companion plugin.
Package contents
Your account offers two downloads: Theme - install this and Full package. Upload the Theme ZIP directly to WordPress. If you downloaded the Full package, unzip it first; it contains the items below.
Package contents| Item | What it is |
|---|
ocre-editions-5.1.0.zip | The theme. Upload this file in Appearance → Themes. Do not unzip it first. |
|---|
ocre-editions-core-1.1.0.zip | The companion plugin (newsletter, contact form, SEO basics, product fields). Upload it in Plugins → Add New → Upload Plugin. |
|---|
ocre-editions-child.zip | A starter child theme. Use it if you plan to edit templates, CSS or PHP. |
|---|
documentation/index.html | This complete guide; open it in a browser. |
|---|
README-FIRST.txt | Package contents and installation instructions. |
|---|
LICENSE.txt | Licence summary. |
|---|
Demo content is not inside the package: demo packages are delivered by the licence server after activation (see One-click demo import), and the theme itself contains no photography.
Inside the theme folder
ocre-editions/
├── style.css, functions.php, theme.json, readme.txt, LICENSE.txt
├── rtl.css, wpml-config.xml
├── index.php, front-page.php, single.php, page.php, archive.php, search.php, 404.php ...
├── templates/ page templates: full width, narrow, landing
├── template-parts/ header/, footer/, home/, content/, woocommerce/
├── woocommerce/ three WooCommerce template overrides
├── patterns/ twelve block patterns
├── inc/ PHP: core/, panel/ (options), customizer/, woocommerce/, license/, demo/
├── assets/
│ ├── src/ readable sources (CSS, JS, admin UI)
│ ├── dist/ built files that WordPress loads
│ ├── fonts/ self-hosted woff2 fonts + their licences
│ └── vendor/lenis/ Lenis (optional smooth scrolling) + licence
└── languages/ translation files
The source files in assets/src are readable, unminified code. To rebuild the files in assets/dist:
cd wp-content/themes/ocre-editions
npm ci
npm run build # production build into assets/dist and rtl.css
npm run dev # watch mode (do not use the output on a live site)
Installation
1. Install and activate the theme
Use Theme - install this, or unzip Full package and locate ocre-editions-5.1.0.zip inside. Do not upload the Full package ZIP as a theme.
- In your WordPress admin, go to Appearance → Themes → Add New → Upload Theme.
- Choose
ocre-editions-5.1.0.zip, click Install Now, then Activate.
- Alternatively, unzip the file and upload the
ocre-editions folder to wp-content/themes/ by FTP or SFTP, then activate it in Appearance → Themes.
When an administrator activates the theme from the Themes screen, WordPress opens Appearance → Ocre Editions → Dashboard once, with a short welcome list (see First steps after installing). Nothing is installed or activated until you click.
2. Install the recommended plugins
Recommended plugins| Plugin | Why | How |
|---|
| WooCommerce | Adds the shop, product pages, cart and checkout. Without it the shop options, product patterns and shop header icons are hidden. | Plugins → Add New → search “WooCommerce” → Install → Activate. Then run the WooCommerce setup wizard. |
|---|
| Ocre Editions Core | Adds the newsletter (double opt-in), the contact form, basic SEO metadata, extra product fields, swatches and the product endpoints used by live search, wishlist and compare. | Click Install and activate in the welcome list or the plugin notice, or go to Plugins → Add New → Upload Plugin → ocre-editions-core-1.1.0.zip → Install → Activate. |
|---|
Optional: an SEO plugin (Yoast SEO, Rank Math, SEOPress or All in One SEO). The companion plugin’s SEO module switches itself off when one of them is active, so you never get duplicate tags. See SEO.
If a newer Ocre Editions Core is bundled with the theme than the one installed, one notice shows both versions with an Update button. The update keeps the plugin active or inactive as it was.
3. Install a child theme (optional)
Use a child theme when you want to change templates, add CSS or write PHP, so your changes survive theme updates.
- Keep the parent theme
ocre-editions installed (it does not need to be active).
- Upload
ocre-editions-child.zip in Appearance → Themes → Add New → Upload Theme, then activate Ocre Editions Child.
- Your options carry over: all settings are stored in one option shared by the parent and the child theme, so nothing has to be reconfigured.
The child theme’s stylesheet is loaded automatically after the parent’s. See Child theme and hooks.
4. First steps after installing
The Dashboard tab shows a three-step welcome list: 1. enter your licence key (opens the Licence tab); 2. install or activate the plugins (Ocre Editions Core is marked required, WooCommerce optional); 3. choose a demo, or start empty, which opens the Homepage settings without deleting content or resetting options. One notice reports missing or outdated plugins; dismissing the recommendations does not hide a companion update.
- Activate your licence (next section).
- Import a demo (One-click demo import), or start from scratch in Appearance → Ocre Editions.
- Add your logo in Appearance → Customize → Site Identity (and a logo for dark backgrounds in Branding).
- Create your menus in Appearance → Menus and assign them to the five menu locations: Primary navigation, Top bar links, Mobile navigation (falls back to Primary), Footer navigation and Legal links (bottom bar).
- To open the mega panel from a menu item: in Appearance → Menus, enable CSS Classes in Screen Options, then add the class
oe-has-mega to a top-level item of the Primary menu.
- Add widgets to the six widget areas if you use them: Blog sidebar, Shop filters, Footer column 1 to 4.
- Set the front page in Settings → Reading (a static page recommended). The homepage sections apply to a static front page or to the posts index.
Where are my key and my download?
Your order e-mail contains your licence key and download links. You can also sign in at shop.acode.tech → My account: open Licences for the key and Downloads for your files.
An account is created automatically at checkout. Use the password-setup link sent by e-mail; if it is missing, use Lost your password? with the address used for your order.
Choose Theme - install this for the ZIP you upload directly to WordPress, or Full package for the theme, child theme, companion plugin and documentation. Unzip the Full package before installing its theme ZIP.
If the order e-mail is lost, check your spam folder and your account. If the key or download is still missing or being prepared, e-mail contact@acode.tech with your order number and purchase e-mail address. If you cannot find the order number, include the purchase date so we can locate it. Bought on TemplateMonster or Creative Market? See how to claim your key. For questions about a ticket, see Getting support.
Bought on TemplateMonster or Creative Market?
A purchase on a marketplace does not come with a licence key from the acode shop. You claim your key once, on the claim page, and we send it to you by e-mail. The key then works exactly like a key bought at shop.acode.tech: see Licence activation.
Claim your licence key
- Open https://licence.acode.tech/claim and choose your marketplace: TemplateMonster or Creative Market. Each has its own page,
/claim/templatemonster and /claim/creativemarket.
- Enter your order number, the e-mail address used for the purchase and the site where you will use the theme. Your name and a message are optional.
- We check the order with the marketplace and approve your request by hand. The licence key is then sent to the e-mail address you entered, usually within 48 business hours. The page shows the same confirmation whatever you typed, so no e-mail means the address or the order number needs another look.
- Activate the key in Appearance → Ocre Editions → Licence.
Where to find the order number| Marketplace | What to enter |
|---|
| TemplateMonster | Your TemplateMonster order number. A purchase code is optional on that page. |
|---|
| Creative Market | Your Creative Market order number (Order #…), shown on the purchase receipt e-mail and in your Creative Market account under Purchases. Use 4 to 40 letters, digits or dashes. |
|---|
Each order can be claimed once per marketplace. Support is included for 6 months from the day your claim is approved; see Getting support, which works the same way for marketplace licences.
Nothing arrived?Check your spam folder; our e-mails come from noreply@acode.tech. If the key is still missing, write to
contact@acode.tech with your marketplace and order number. We use the details you enter only to check the purchase and send your key.
Licence activation
The lifetime licence covers one live site and up to two development or staging sites, with updates and demo import included. Support is included for 6 months, and you can extend it by 6 months; the current prices are on the product page. There is no annual licence renewal. The theme’s visitor-facing features and all six style presets work without activation.
What the licence unlocks
Licence features| Feature | Without a licence | With an active licence |
|---|
| Theme updates | Not offered in the dashboard. You can still install a new version by hand. | Automatic update notices and one-click updates (feature updates). |
|---|
| Demo import | Preview every demo at demo.acode.tech; the Demos tab opens after activation. | Download and import any of the 20 demos (feature demo_import). |
|---|
| Support | See Getting support. | 6 months included, with a further 6 months available. Replies within 48 business hours. |
|---|
Your published design keeps workingIf activation is revoked or cannot be verified, your pages keep their layout, colours and fonts. All six style presets remain available. An expired support period does not end your lifetime licence, updates or demo import.
Where to find your licence key
Use the key from your order e-mail or My account → Licences. See Where are my key and my download? if you cannot find it. The theme contacts the licence server from WordPress; you do not need a separate account there.
Activate the licence
- Log in as an administrator and open Appearance → Ocre Editions → Licence.
- Paste the key in Licence key and click Activate.
- The status card shows Active, your masked key, your plan, the Licence term (Lifetime), the site address and how many sites are used out of the number your plan allows.
A dismissible reminder also appears on the Dashboard, Themes and Updates screens for administrators until the licence is active.
Status messages
Licence statuses| Status | Meaning and what to do |
|---|
| Active | Updates and demo import are enabled; support follows your support period. |
|---|
| Active (server unreachable, grace period) | The licence server has not answered recently. Everything keeps working and the theme retries automatically. |
|---|
| Could not be re-validated | The licence could not be re-validated for too long. Click Check now once the site can reach the licence server. |
|---|
| Activated for another address | The site address changed (migration or clone). Deactivate on the old address, then activate again here. |
|---|
| Invalid licence data | The stored data failed verification. Activate the key again. |
|---|
| Revoked, Suspended, Needs attention, Unknown key, Deactivated on the server | The server refused the key, or an older record was marked expired (shown as Needs attention; a lifetime licence does not expire). Check that you pasted the correct key. For a revoked, suspended or “Needs attention” licence, use Contact support on the screen: it opens an e-mail with your site address in the subject. |
|---|
What the licence screen says
- Licence term: Lifetime. There is no renewal. The key help points to your order e-mail and to Licences in your shop account.
- Support card: while support is active, Get support opens the Support tab, where you open and follow tickets. Six months of support are included; you can extend it by six months with the Extend support link (the main button once support has ended). It shows the usual reply time in business hours and, in small print, the address for order or payment questions. Updates, demo import and your site are not affected when support ends.
- Failed activation: the notice offers Contact support and, when a purchase would help, a link to buy a licence. A failed offline deactivation and a re-install lock explain the next steps (see the FAQ).
Staging sites and the live domain
A staging copy on a subdomain of your live domain does not keep the live-site slot once the live domain is activated. The licence server now handles the order for you:
- Names starting with
staging., stage., dev. or test.: activate in either order. If you activated staging.example.com first and then activate example.com, the staging activation is moved to your development allowance automatically and the live domain takes the live-site slot. There is nothing to deactivate.
- Other recognised names (
stg., preprod., uat., qa., local.) count as development sites only when the live domain is already active. If you activated one of these first, deactivate the key there, activate it on the live domain, then activate it again on the staging site.
The move respects the development allowance (two sites). If it would go over, the live domain reports that the development-site limit is reached and nothing changes: deactivate a development site you no longer use, then try again. Activating the live domain first still works for every name. Contact support if you cannot access the old installation.
How verification works
- The server returns a signed token; the theme verifies the signature, the product, the site address and the expiry locally.
- A daily background check (WP-Cron) refreshes it. If WP-Cron does not run, an administrator opening the dashboard re-checks at most every two days.
- If the licence server cannot be reached, the token stays valid for 7 days, then a grace period of 14 days starts (the server can shorten it). Only a signed refusal from the server locks the licence immediately; an unreadable answer changes nothing.
Moving to another domain, staging and development sites
- Moving the site: go to the Licence tab and click Deactivate on this site before the move. This frees the slot on the server. Then activate the same key on the new address. If you forgot, ask support to free the slot.
- Sites included: one live site plus up to two recognised development or staging sites. Development sites use their own allowance; they do not use the live-site slot.
- Local development:
localhost, loopback/private/reserved IP addresses, and names ending in .localhost, .local, .test, .example, .invalid, .ddev.site or .lndo.site qualify. Public IP addresses do not automatically qualify.
- Hosting-provider development sites: names ending in
.kinsta.cloud or .staging.wpengine.com; WP Engine names such as shopstg.wpengine.com, shopdev.wpengine.com, shopstg.wpenginepowered.com or shopdev.wpenginepowered.com; and Pantheon names such as dev-shop.pantheonsite.io or test-shop.pantheonsite.io qualify. Ask support about a host-specific address not listed here.
- Staging subdomains of your live site: the first label can be
staging, stage, stg, dev, preprod, test, uat, qa or local. These use the development allowance when the same key has an active live-site activation on the immediate parent domain. For example, staging.example.com qualifies once example.com is active. For staging., stage., dev. and test. this also works when the staging site was activated first: see Staging sites and the live domain.
- Multisite: the licence is per site (the home URL of each site). Network-wide activation is not available.
- Before deleting the theme, deactivate the licence: WordPress themes have no uninstall hook, so the slot would otherwise stay in use on the server.
- Switching to another theme only pauses the daily check. The licence is kept, so switching back just works.
When the theme is active (or a child theme of it), updates are offered in Appearance → Themes and Dashboard → Updates. See Updates.
One-click demo import
The importer turns an empty site into a finished store, one-page site or business site in a few minutes: products with variations (for the demos that have a shop), pages, journal posts, menus, widgets and the design settings. It lives in Appearance → Ocre Editions → Demos and is only loaded in the admin, in Ajax requests and in WP-CLI, so it has no cost for your visitors.
Needs an active licenceDemo packages are downloaded from the licence server (the download is checked against a SHA-256 fingerprint). Preview every demo at
demo.acode.tech; the Demos tab opens after activation.
Before you import
- Install WordPress, activate the theme and activate your licence.
- Install WooCommerce if the demo has products (the wizard can do it for you). Folio and Datum have no products and do not need WooCommerce; they need Ocre Editions Core 1.1.0 for their contact form. If WooCommerce is not active the wizard skips products, product categories, attributes and store settings, and says so in the log.
- Update the theme first when a demo asks for a newer version: the five demos added in 5.1 need theme 5.1.0.
- Prefer a fresh or staging site. Your existing content is never deleted, but imported pages and menus are added next to it.
The wizard, step by step
- Choose a demo. The catalogue is discovered automatically. Search by name, niche or language, filter by niche, filter by kind (All, Stores, One-page, Business), and open a full-screen Preview with desktop, tablet and mobile sizes (shown right to left for Dar). Badges show the language, “Written right to left” and, for one-page and business demos, the kind. Click Import this demo, or Import a single page.
- Customise. Choose a logo from the Media Library (PNG or WebP at least 400 px wide; SVG is not accepted by WordPress), set the site title and tagline, and pick one of the demo’s colour palettes and font pairings. A live preview shows the result. Everything can be changed later in Appearance → Ocre Editions.
- Content. Choose Full site (products, pages, journal, menus, widgets and the design preset) or Selected pages only (adds a few pages with their images; menus and settings are left alone). Tick or untick the parts: pages and journal posts, products, images, menus, widgets, design settings and store settings. You can also import with one neutral placeholder instead of the photographs: much faster and lighter, useful on small hosting plans or to test a layout.
- Requirements. The wizard lists the plugins the demo needs (Required, Recommended; Active, Installed not active, Not installed, Needs an update) with Install and activate buttons for WooCommerce, and runs a server check (below). Warnings do not stop the import; problems do. If WooCommerce is not available you can Continue without products; a required companion plugin cannot be skipped this way.
- Language (only shown when the demo’s language differs from your site’s, for example Dar in Arabic). See below.
- Import. The initial package download, verification and unpacking run in one request and can take longer than the later import steps. Use a PHP time limit of 60 seconds or more. The wizard shows a progress list, a log per step and Retry this step. You can leave the page: when you come back, the import resumes where it stopped. When it finishes, a success screen links to your site, the design options, the homepage editor and the products.
Store settings and currency
The Store settings option applies the demo’s currency, price format, units and catalogue display. When the demo’s currency differs from your store’s, it is ticked and explained for you, so that prices read as intended. Payment gateways, taxes and e-mail settings are never changed, and the reset restores your currency.
Importing a single page
Choose Import a single page to bring in one or a few pages (for example a size guide or an FAQ) with the images used on them. Menus, widgets and design settings are not touched. Pages can be removed again with the reset.
Language step (the Arabic demo)
Dar is written in Arabic. When the demo’s language is not your site’s language, the wizard explains the choice and defaults to Keep my language: the demo content is imported as written, while the WordPress screens and store labels stay in your language. If you choose Switch the site to Arabic, the wizard downloads the WordPress, WooCommerce and theme translations from wordpress.org, sets the site language (Settings → General) and the layout direction switches to right to left. Nothing is changed silently, and the previous language is part of the snapshot, so a full rollback restores it. If the site cannot install language packs, install the language from Settings → General first.
Reset and rollback
- Before the first import the wizard stores a snapshot of your theme options, front-page settings, menu locations, widgets, logo, language and the WooCommerce settings it may change.
- Every created item is tagged, so a reset removes only what the importer created, never your own content.
- On the demo list, Remove its content removes one demo. Restore my site as before removes everything the importer created and restores the snapshot (settings, menus, widgets and language). This cannot be undone, so the wizard asks for confirmation.
- Importing the same demo twice does not duplicate items.
Server checks
Importer server checks| Check | Problem when | What to do |
|---|
| PHP version | Below 7.4 | Ask your host to switch the site to PHP 7.4 or newer. |
|---|
| WordPress version | Below 6.5 (warning) | Update WordPress. |
|---|
| Theme version | Older than the demo requires | Update the theme first. |
|---|
| Licence | Not active | Activate your licence. |
|---|
| PHP memory limit | Below 64 MB (problem), below 128 MB (warning) | Ask your host for 128 MB or more, or add define( 'WP_MEMORY_LIMIT', '256M' ); to wp-config.php. Choosing placeholder images also lowers memory use. |
|---|
| PHP time limit | Below 30 seconds (warning) | The check currently warns below 30 seconds, but demo download needs a PHP time limit of 60 seconds or more. Ask your host to raise PHP and web-server timeouts; larger packages may need more time. |
|---|
| Maximum upload size | Below 2 MB (warning) | Only needed to upload your logo in the wizard. |
|---|
| Uploads folder | Not writable | Make wp-content/uploads writable by PHP (usually permissions 755 and the right owner). |
|---|
| WebP image support | Not available (warning) | Images are imported at full size without thumbnails. Ask your host to enable WebP in GD or Imagick, then regenerate thumbnails. |
|---|
| Zip extension | Not available (warning) | Packages unpack more slowly. |
|---|
| WooCommerce | Not active (warning) | Install and activate it, or untick “Products”. |
|---|
| Admin Ajax / REST API | Blocked | A security plugin or firewall blocks admin-ajax.php for administrators: allow it. A blocked REST API does not stop the import. |
|---|
Troubleshooting
- A step failed: click Retry this step. The import continues from where it stopped; nothing is lost.
- The page was closed or refreshed: reopen the Demos tab and click Resume the import.
- Demo download times out: ask your host for a PHP time limit of 60 seconds or more and matching web-server timeouts, then retry. Download, verification and unpacking are one request; choosing placeholder images does not skip that download.
- Memory errors while importing images: raise the memory limit above, choose the neutral placeholder image, or untick Images and import them later.
- “The server stopped the request”: try again; if it keeps failing, use Download the debug log (also under the Demos tab) and send it to support. The log includes an environment report and contains no passwords or licence keys.
- No demo appears: check that the licence is active and the site can reach the licence server, then reload the screen.
- Prices look wrong after import: run the import with Store settings ticked, or set the currency in WooCommerce → Settings.
WP-CLI commands
The same importer is available from the command line (it requires an active licence with the demo-import feature).
wp ocre demo list [--format=table|json|csv|ids]
wp ocre demo import <id> [--pages=<keys>] [--skip=<parts>] [--placeholders]
[--store-settings] [--language] [--palette=<id>] [--fonts=<id>]
[--title=<title>] [--tagline=<tagline>] [--yes]
wp ocre demo reset [<id>] [--yes]
wp ocre demo check [<id>...]
wp ocre demo status
WP-CLI commands| Command | What it does |
|---|
wp ocre demo list | Lists the demos with their niche, locale, version, product and page counts and whether they are installed. |
|---|
wp ocre demo import <id> | Imports a demo. --skip takes a comma-separated list of: content, products, images, menus, widgets, settings. --pages imports only those pages. --placeholders uses one neutral image. --store-settings applies the demo currency and units. --language installs the demo language and makes it the site language. --palette and --fonts pick a palette or font pairing of the demo. |
|---|
wp ocre demo reset [<id>] | Removes the items one demo created, or, without an id, every imported item, then restores the settings snapshot. |
|---|
wp ocre demo check | Checks demo presets against the theme options schema (dry run, nothing saved). Expect zero skipped keys. |
|---|
wp ocre demo status | Prints the server checks and the installed demos. |
|---|
wp ocre demo import lumen --yes
wp ocre demo import kiln --skip=images --store-settings
wp ocre demo import weft --pages=size-guide,faq
wp ocre demo import folio --yes
wp ocre demo import dar --language --yes
wp ocre demo reset --yes
Developers can point the importer to a local folder of packages with the constant OCRE_EDITIONS_DEMO_DEV_PATH or the filter ocre_editions_demo_source, and replace demo photographs with the filters ocre_editions_demo_media_dir and ocre_editions_demo_image_source.
The 20 demos
There are three kinds of demo: 17 stores, 2 one-page sites and 1 business site. The import wizard can filter by kind. Nineteen demos are written in English; Dar is the single Arabic, right-to-left demo. All names, brands and people in the demos are fictional.
Product counts are those of the packages at the time of writing. Every demo offers several palettes and font pairings in the wizard’s Customise step. Crema, Folio, Welt, Arvo and Datum are new in 5.1 and need theme 5.1.0.
Stores 17 demos
A complete WooCommerce store with products and variations, pages (about, care, shipping, FAQ, contact and more), journal posts, menus and a homepage built from the section builder.
Furniture, lighting and objects
Warm, editorial furniture studio: oak, travertine, terracotta and wool, a three-scene cover exhibition, a material library and a studio journal. The reference demo.
- Demo id
grain
- Palettes
- Limestone & ink (default), Olive & chalk, Rose clay & umber, Fired ochre
- Fonts
- Newsreader & system sans (default), Fraunces & Inter, Cormorant & Work Sans
- Layout
- Classic header, editorial footer
- Store
- 14 products (5 variable) · USD · en_US
Lighting design studio
A lamplit storefront on a dark palette: pendants, wall lights and lamps, with bulbs and dimmers, and a lighting guide.
- Demo id
lumen
- Palettes
- Lamplight (dark, default), Blackout & brass, Smoked glass, Daylight & brass (light)
- Fonts
- Instrument Serif & DM Sans (default), Cormorant & Work Sans, Fraunces & Inter
- Layout
- Split header, columns footer
- Store
- 16 products (8 variable) · EUR · en_US
Ceramics and tableware atelier
Wheel-thrown stoneware and porcelain from a small pottery, with a wheel-throwing class and a gift card, a glaze library and care guidance per clay body.
- Demo id
kiln
- Palettes
- Oatmeal & Iron (default), Celadon & Slip, Rose Clay, Charcoal & Ash
- Fonts
- Fraunces & Inter (default), Instrument Serif & DM Sans, Newsreader & system sans
- Layout
- Stacked header, editorial footer, split cover
- Store
- 17 products (9 variable) · GBP · en_US
Textiles and rugs, sizes as variations
Hand-woven rugs, runners, throws and linens built around sizes: most products are variable, with a real size guide linked to the Size guide page setting.
- Demo id
weft
- Palettes
- Undyed wool & madder (default), Indigo & flax, Moss & jute, Charcoal fleece
- Fonts
- Cormorant & Work Sans (default), Newsreader & system sans, Instrument Serif & DM Sans
- Layout
- Centered header, columns footer
- Store
- 16 products (12 variable) · USD · en_US
Limited-edition design objects
A gallery and concept store for numbered editions by five makers, with edition numbers on cards, artist’s proofs, one page per artist and certificate pages.
- Demo id
plinth
- Palettes
- Gallery white & red dot (default), Raw concrete & slate, Night viewing, Limestone & ink
- Fonts
- Instrument Serif & DM Sans (default), Newsreader & system sans, Cormorant & Work Sans
- Layout
- Minimal header, minimal footer
- Store
- 17 products (4 variable) · EUR · en_US
Botanical skincare
Face and body oils, balms, cold-process soaps and gift sets in small batches, with size and scent variations, an ingredient explorer and workshop notes.
- Demo id
sprig
- Palettes
- Sage & cream (default), Moss & linen, Petal & clay
- Fonts
- Fraunces & Inter (default), Newsreader & system sans, Cormorant & Work Sans
- Layout
- Centered header, columns footer
- Store
- 16 products (4 variable) · EUR · en_US
Candles and home fragrance
Hand-poured, refillable stoneware candles, diffusers, room sprays and a winter collection, with a fragrance-note explorer and an immersive cover.
- Demo id
wick
- Palettes
- Amber & smoke (default), Ember & clay, Soot & brass (dark)
- Fonts
- Instrument Serif & DM Sans (default), Newsreader & system sans, Fraunces & Inter
- Layout
- Classic header, editorial footer
- Store
- 16 products (5 variable) · EUR · en_US
Fine jewellery
Rings, earrings, necklaces and bracelets made to order, with metal, ring-size, stone and chain-length variations, on a dark ink-and-gold look.
- Demo id
lustre
- Palettes
- Ink & gold (dark, default), Ivory & gold, Pearl & platinum
- Fonts
- Cormorant & Work Sans (default), Newsreader & system sans, Instrument Serif & DM Sans
- Layout
- Split header, minimal footer
- Store
- 16 products (10 variable) · EUR · en_US
Outdoor living
Furniture, planters, lighting, textiles and tools made to stay outside all year, in sage, stone and terracotta, with a lookbook and a weather-care guide.
- Demo id
grove
- Palettes
- Sage, stone & terracotta (default), Limewash & moss, Dusk terrace, Warm stone
- Fonts
- Fraunces & Inter (default), Newsreader & system sans, Cormorant & Work Sans
- Layout
- Stacked header, editorial footer
- Store
- 15 products (7 variable) · USD · en_US
Stationery and print studio
Notebooks, letterpress cards, pens and ink, desk objects and gift boxes, with a craft page and a custom printing service.
- Demo id
quire
- Palettes
- Off-white, ink & vermilion (default), Bone & graphite, Blue-black, Blush & sepia
- Fonts
- Instrument Serif & DM Sans (default), Newsreader & system sans, Fraunces & Inter
- Layout
- Minimal header, columns footer
- Store
- 16 products (8 variable) · USD · en_US
Leather goods
A leather workshop in parchment, cognac and deep brown: twelve useful pieces, leather and craft notes, a personalisation guide and an editorial journal.
- Demo id
saddle
- Palettes
- Cognac & parchment (default), Pale hide
- Fonts
- Newsreader & system sans (default), Cormorant & Work Sans
- Layout
- Split header, editorial footer
- Store
- 12 products (4 variable) · EUR · en_US
Tea and teaware
A tea house in mist green, porcelain and charcoal: twelve teas and brewing objects, tea origins, an approachable brewing guide and journal essays.
- Demo id
steep
- Palettes
- Mist & porcelain (default), Deep sage
- Fonts
- Instrument Serif & DM Sans (default), Cormorant & Work Sans
- Layout
- Centered header, columns footer
- Store
- 12 products (5 variable) · EUR · en_US
Linen clothing
A quiet linen wardrobe in chalk, flax and indigo, with complete size and colour choices and a Fabric & Fit guide. British English.
- Demo id
flax
- Palettes
- Flax, chalk & indigo (default), Undyed linen
- Fonts
- Newsreader & system sans (default), Cormorant & Work Sans
- Layout
- Stacked header, minimal footer
- Store
- 12 products (11 variable) · EUR · en_GB
Workspace and desk objects
An editorial workspace collection in oak, graphite and signal orange, with finish and size options, a workspace-stories lookbook and a business orders page. British English.
- Demo id
margin
- Palettes
- Oak, graphite & signal orange (default), Cool studio
- Fonts
- Instrument Serif & DM Sans (default), Fraunces & Inter
- Layout
- Classic header, columns footer
- Store
- 12 products (5 variable) · EUR · en_GB
Arab design house for the home
The single Arabic, right-to-left demo: contemporary artisan homeware (zellige, stoneware, tadelakt, brass, Atlas rugs, lanterns, bakhoor) written in Arabic and priced in dirhams.
- Demo id
dar
- Palettes
- Sand & clay · رمل وطين (default), Indigo & linen · نيلي وكتّان, Emerald & ivory · زمرّد وعاج, Oasis night · ليل الواحة
- Fonts
- El Messiri & Cairo
- Layout
- Stacked header, columns footer
- Store
- 16 products (9 variable) · AED · ar (right to left)
Footwear workshop
Boots and shoes made to be resoled: sixteen products with size and colour choices, an autumn lookbook with product hotspots, a resoling before-and-after comparison, fit guidance, workshop notes and a library of reusable sections.
- Demo id
welt
- Palettes
- Chalk & oxblood (default), Olive & chalk, Midnight & brass
- Fonts
- Cormorant & Work Sans (default), Instrument Serif & DM Sans, Newsreader & system sans
- Layout
- Centered header, columns footer
- Store
- 16 products (12 variable) · GBP · en_GB
- Needs
- WooCommerce and Ocre Editions Core 1.1.0 · theme 5.1.0
Repairable audio
A specification-led audio store with sixteen repairable products, a shoppable listening room, a headphone guide, a dark-mode switch in the header and two reusable support sections.
- Demo id
arvo
- Palettes
- Slate & steel (default), Studio black, Limestone & ink
- Fonts
- Instrument Serif & DM Sans (default), Newsreader & system sans, Fraunces & Inter
- Layout
- Classic header, columns footer
- Store
- 16 products (8 variable) · USD · en_US
- Needs
- WooCommerce and Ocre Editions Core 1.1.0 · theme 5.1.0
One-page sites 2 demos
The home page is one long scroll of sections with anchor navigation, scroll spy and a section rail. See One-page sites for the settings. Crema sells through WooCommerce; Folio has no shop and does not need WooCommerce.
Product launch with pre-order
A one-page launch for a manual lever espresso machine in aluminum and walnut: fifteen sections with press logos, figures, process steps, three product-bound editions, a fixed-date countdown, a pre-order button in the header and a workshop contact form.
- Demo id
crema
- Palettes
- Oat & espresso (default), Midnight & brass, Slate & steel
- Fonts
- Newsreader & system sans (default), Fraunces & Inter, Instrument Serif & DM Sans
- Layout
- Minimal header with a button, minimal footer, section rail
- Store
- 8 products (2 variable) · EUR · en_US · 9 pages
- Needs
- WooCommerce and Ocre Editions Core 1.1.0 · theme 5.1.0
Independent design studio
A design studio in one scroll on a dark palette: selected work, services, process, people, starting fees and a project enquiry form. Two case studies, a ferry identity and a museum’s print and wayfinding, show the thinking behind the work.
- Demo id
folio
- Palettes
- Ink & vermilion (dark, default), Limestone & ink, Slate & steel
- Fonts
- Fraunces & Inter (default), Instrument Serif & DM Sans, Newsreader & system sans
- Layout
- Split header with a button, minimal footer, section rail
- Content
- 5 pages · no products · en_GB
- Needs
- Ocre Editions Core 1.1.0 · theme 5.1.0 · no WooCommerce
Business site 1 demo
Several pages, case studies and journal posts, reusable sections and a built-in enquiry form, with no shop. It runs without WooCommerce.
Architecture practice
A multi-page business site for an architecture practice in Bristol: four illustrated case studies, four practice notes, services, people, clear fees, a built-in enquiry form and ten reusable sections. There is no shop.
- Demo id
datum
- Palettes
- Concrete & umber (default), Slate & steel, Midnight & brass
- Fonts
- Instrument Serif & DM Sans (default), Cormorant & Work Sans, Newsreader & system sans
- Layout
- Classic header with a button, columns footer
- Content
- 13 pages, 4 journal posts · no products · en_GB
- Needs
- Ocre Editions Core 1.1.0 · theme 5.1.0 · no WooCommerce
All six style presets are available without a licence. Demos also apply their own colour overrides.
About the photographsThe theme zip contains no photography. All demo photographs, and any images shown in the live previews, were generated by the author with AI tools and belong to the demo packages. Replace them with your own images when you go live.
Options panel
All theme settings are in Appearance → Ocre Editions. WordPress features stay in their usual screens: site title, tagline, logo and site icon (Customize → Site Identity), menus, widgets and Additional CSS.
- Settings are stored in one option shared by the parent and child themes, so they are easy to export and survive switching to a child theme.
- Press Ctrl+K (⌘+K on a Mac) to search every setting. The panel warns you before you leave with unsaved changes.
- Design settings (colours, preset, dark mode, fonts, text size, heading case, widths, button shape, header and footer layout) also preview live in Appearance → Customize.
- The panel works without JavaScript (classic form posts) and is usable by keyboard.
- You need the
edit_theme_options capability. Custom CSS needs permission to edit CSS and custom HTML needs unfiltered_html.
Tabs: Dashboard, Branding, Style, Header, Footer, Homepage, Shop, Product, Cart, Blog & pages, Motion & performance, Custom code, Tools, plus Demos and Licence (administrators), and Newsletter and SEO when the companion plugin is active.
Dashboard tab
A welcome list (licence key, plugins, choose a demo or start empty), a system-status table (theme version, child theme, WordPress, WooCommerce, companion plugin, licence, site language and direction, memory limit, saved settings), the plugins you may still want, shortcuts to Site Identity, the homepage and blog page settings, the live preview and Additional CSS, and a prompt to start from a demo.
Branding tab
Identity items that WordPress does not already manage. The main logo, site title, tagline and site icon stay in Appearance → Customize → Site Identity.
Logo
Branding: Logo| Setting | Values | Default | Notes |
|---|
Logo for dark backgrounds
logo_dark_id | Image (Media Library) | none | Used on dark headers, the dark mode and transparent headers over a photograph. |
|---|
Logo maximum height
logo_max_height | 24 to 120 px | 56 | |
|---|
Contact details
Branding: Contact details| Setting | Values | Default | Notes |
|---|
E-mail address
contact_email | Text | empty | Shown in the footer and in the contact pattern. Printed left-to-right even on right-to-left sites. |
|---|
Phone number
contact_phone | Text | empty | Same as above. |
|---|
Postal address
contact_address | Text area | empty | |
|---|
Social links
Branding: Social links| Setting | Values | Default | Notes |
|---|
Social links
social_links | List of up to 12 items (network + profile URL) | empty | Networks: Instagram, Pinterest, Facebook, TikTok, YouTube, LinkedIn, X, Threads, Behance. Shown in the footer when “Show social links” is on and added to the structured data of the companion plugin as the organisation’s profiles. |
|---|
Style tab
Colours, dark mode, fonts, widths and button shape. Most of these settings preview live in the Customizer.
Style preset
Style: Style preset| Setting | Values | Default | Notes |
|---|
Style preset
style_preset | Limestone & ink, Olive & chalk, Rose clay & umber, Midnight & brass, Sand & bronze, Slate & steel | Limestone & ink | All six presets are available without a licence. The former name “noir” is still accepted and stored as “midnight”. |
|---|
Custom colours
Style: Custom colours| Setting | Values | Default | Notes |
|---|
Page background
color_paper | Colour (#rrggbb) or empty | empty (follows the preset) | Leave a colour empty to follow the selected preset. |
|---|
Text and buttons
color_ink | Colour or empty | empty | |
|---|
Accent
color_accent | Colour or empty | empty | |
|---|
Dividers
color_line | Colour or empty | empty | |
|---|
Secondary text
color_muted | Colour or empty | empty | |
|---|
Panels and cards
color_surface | Colour or empty | empty | |
|---|
Dark mode
Style: Dark mode| Setting | Values | Default | Notes |
|---|
Dark mode
dark_mode | Off, Always on, Follow the visitor’s device, Switch in the header | Off | With the switch, the visitor’s choice is remembered in their browser (local storage, no cookie). |
|---|
Typography
Style: Typography| Setting | Values | Default | Notes |
|---|
Font pair
font_pair | Newsreader + system sans, Fraunces + Inter, Cormorant Garamond + Work Sans, Instrument Serif + DM Sans, Noto Naskh Arabic + IBM Plex Sans Arabic, Amiri + IBM Plex Sans Arabic, El Messiri + Cairo, Cairo + Tajawal, Reem Kufi + Readex Pro, Noto Kufi Arabic + Noto Naskh Arabic, Almarai, Aref Ruqaa + Noto Naskh Arabic | Newsreader + system sans | All fonts are bundled with the theme; no request is sent to a font service. A pair whose files are missing falls back to the default pair. |
|---|
Font pair for right-to-left languages
font_pair_rtl | Automatic, Same as the main font pair, or one of the eight Arabic pairs | Automatic | Automatic keeps an Arabic-capable main pair; otherwise it uses El Messiri + Cairo on Arabic-script languages and keeps the main pair on other right-to-left languages. |
|---|
Text size
font_scale | Compact, Default, Large | Default | |
|---|
Heading case
heading_case | As typed, Uppercase | As typed | |
|---|
Layout widths
Style: Layout widths| Setting | Values | Default | Notes |
|---|
Site width
container_width | 1100 to 1760 px (step 10) | 1560 | |
|---|
Reading width
content_width | 560 to 900 px (step 10) | 720 | Width of the text column in posts and pages. |
|---|
Buttons
Style: Buttons| Setting | Values | Default | Notes |
|---|
Button shape
button_style | Square, Soft corners, Pill | Square | |
|---|
Layout, sticky behaviour, top bar, mega panel and the icons in the header.
Layout
Header: Layout| Setting | Values | Default | Notes |
|---|
Header layout
header_layout | Classic, Centered, Minimal, Split, Stacked | Classic | |
|---|
Sticky header
header_sticky | Off, Always visible, Shown when scrolling up | Always visible | |
|---|
Transparent header on the front page
header_transparent_home | On / off | Off | The header sits over the first section. Other pages can enable it individually in their Display settings. |
|---|
Top bar
Header: Top bar| Setting | Values | Default | Notes |
|---|
Show the top bar
topbar_enabled | On / off | On | |
|---|
Announcement
topbar_text | Text | empty | Only when the top bar is on. |
|---|
Secondary note
topbar_secondary_text | Text | empty | |
|---|
Announcement link
topbar_link | URL | empty | |
|---|
Mega panel
Header: Mega panel| Setting | Values | Default | Notes |
|---|
Enable the mega panel
mega_enabled | On / off | On | Opens from the primary-menu item that has the CSS class oe-has-mega. |
|---|
Show product categories
mega_show_categories | On / off | On | Needs WooCommerce. |
|---|
Show product counts
mega_show_counts | On / off | On | |
|---|
Featured column
mega_feature_type | None, A product, An image | A product | |
|---|
Featured product
mega_feature_product | Product | none (latest product) | Leave empty to show the most recent product. |
|---|
Featured image
mega_feature_image | Image | none | When the featured column is an image. |
|---|
Featured column title
mega_feature_title | Text | empty | |
|---|
Featured column link
mega_feature_url | URL | empty | When the featured column is an image. |
|---|
Action icons
Header: Action icons| Setting | Values | Default | Notes |
|---|
Search
header_show_search | On / off | On | |
|---|
Account
header_show_account | On / off | On | Account, wishlist and cart icons need WooCommerce. |
|---|
Wishlist
header_show_wishlist | On / off | On | |
|---|
Cart
header_show_cart | On / off | On | |
|---|
Button label
header_cta_label | Text | empty | A call-to-action button after the icons. Leave empty to hide it. It also needs a link. |
|---|
Button link
header_cta_url | URL | empty | For example https://example.com/#contact on a one-page site. |
|---|
Button style
header_cta_style | Filled, Outline | Filled | |
|---|
Footer layout, the newsletter band and the bottom bar.
Layout
Footer: Layout| Setting | Values | Default | Notes |
|---|
Footer layout
footer_layout | Columns (widget areas), Editorial (large wordmark and two menus), Minimal | Editorial | |
|---|
Widget columns
footer_columns | 2, 3, 4 | 4 | Only for the Columns layout. |
|---|
Footer tagline
footer_tagline | Text area | empty | |
|---|
Newsletter band and bottom bar
Footer: Newsletter band and bottom bar| Setting | Values | Default | Notes |
|---|
Newsletter band
footer_newsletter | On / off | On | The form comes from the Ocre Editions Core plugin. Nothing is printed without it, or when the newsletter is switched off. |
|---|
Copyright line
footer_copyright | Text with {year} and {site} | © {year} {site} | {year} is the current year, {site} the site title. |
|---|
Show social links
footer_show_social | On / off | On | |
|---|
Show payment method icons
footer_show_payments | On / off | Off | The theme only provides the place for the icons (the action ocre_editions_footer_payments). Nothing is printed unless a plugin or your child theme adds the icons to that action. |
|---|
Homepage tab
The section builder, the one-page navigation and the reusable sections. See “Homepage sections” for the 22 section types.
One-page navigation
Homepage: One-page navigation| Setting | Values | Default | Notes |
|---|
Automatic section menu
onepage_nav | On / off | Off | Uses the homepage sections that have an anchor label as the menu when no Primary menu is assigned. |
|---|
Show the section rail
onepage_rail | On / off | Off | Navigation dots on large screens, when at least three homepage sections have an anchor label. |
|---|
Section builder
Homepage: Section builder| Setting | Values | Default | Notes |
|---|
Homepage sections
home_sections | Ordered list of up to 24 sections | Hero exhibition, Featured products (latest), Journal, Page content | Add, reorder and repeat sections. A list keeps at most 24; the rest are dropped with a notice. |
|---|
Reusable sections
Homepage: Reusable sections| Setting | Values | Default | Notes |
|---|
Reusable sections
library_sections | Ordered list of up to 24 sections (any type except the hero exhibition) | empty | Not shown on the homepage. Print one anywhere with [ocre_section id="your-section-id"]. Each ID must be unique across both lists. |
|---|
Shop tab
Product archives, cards, badges and discovery tools. Needs WooCommerce.
Archive layout
Shop: Archive layout| Setting | Values | Default | Notes |
|---|
Columns
shop_columns | 2, 3, 4 | 3 | |
|---|
Columns on phones
shop_columns_mobile | 1, 2 | 2 | |
|---|
Products per page
shop_per_page | 6 to 60 | 12 | |
|---|
Default view
shop_default_view | Grid, List | Grid | |
|---|
Grid / list switch
shop_view_toggle | On / off | On | The visitor’s choice is remembered. |
|---|
Filters
shop_filters | None, Sidebar, Off-canvas drawer | Off-canvas drawer | Drawer and sidebar show the same filters: the built-in set, or your own WooCommerce filter widgets or blocks when you place them in “Shop filters”. See Product filters. |
|---|
Shop header image
shop_header_image | Image | none | |
|---|
Category navigation
shop_category_nav | On / off | On | Category pills above the product grid. |
|---|
Product cards
Shop: Product cards| Setting | Values | Default | Notes |
|---|
Image ratio
card_image_ratio | Square, Portrait, Landscape | Landscape | Regenerate the product thumbnails after changing the ratio (with a thumbnail-regeneration tool or WP-CLI: wp media regenerate). |
|---|
Second image on hover
card_hover_image | On / off | On | |
|---|
Category
card_show_category | On / off | On | |
|---|
Rating
card_show_rating | On / off | Off | |
|---|
Material
card_show_material | On / off | On | Read from the product attribute named Material (or “Materials”). |
|---|
Dimensions
card_show_dimensions | On / off | On | Read from the attribute named Dimensions, Dimension or Size. |
|---|
Edition number
card_show_edition | On / off | On | Needs the companion plugin (field “Edition number”). |
|---|
Quick add to cart
card_quick_add | On / off | On | |
|---|
Badges
Shop: Badges| Setting | Values | Default | Notes |
|---|
Sale badge
badge_sale | Off, Text label, Discount percentage | Text label | |
|---|
“New” badge duration
badge_new_days | 0 to 90 days (0 turns it off) | 30 | |
|---|
Sold-out badge
badge_sold_out | On / off | On | |
|---|
Discovery tools
Shop: Discovery tools| Setting | Values | Default | Notes |
|---|
Quick view
feature_quick_view | On / off | On | |
|---|
Wishlist
feature_wishlist | On / off | On | |
|---|
Compare
feature_compare | On / off | Off | |
|---|
Live product search
feature_live_search | On / off | On | Uses the plugin’s product endpoint, or the WooCommerce Store API without it. |
|---|
Product tab
The single product page. Needs WooCommerce.
Gallery
Product: Gallery| Setting | Values | Default | Notes |
|---|
Gallery layout
product_gallery_layout | Thumbnail rail, Stacked images, Two-column grid | Thumbnail rail | |
|---|
Zoom
product_gallery_zoom | On / off | On | |
|---|
Product information
Product: Product information| Setting | Values | Default | Notes |
|---|
Description layout
product_info_layout | Tabs, Accordion | Tabs | |
|---|
Sticky add-to-cart bar
product_sticky_cart | Off, Phones only, All screens | Phones only | |
|---|
Quantity stepper buttons
product_qty_stepper | On / off | On | |
|---|
Show the SKU
product_show_sku | On / off | On | |
|---|
Show categories and tags
product_show_meta | On / off | On | |
|---|
Centimetre / inch switch
product_unit_switch | On / off | Off | Converts the dimensions line; the visitor’s choice is remembered. |
|---|
Guides
Product: Guides| Setting | Values | Default | Notes |
|---|
Size guide page
product_size_guide_page | Page | none | Opens in a dialog on every product. A product can point to its own guide (plugin field). |
|---|
Care guide page
product_care_page | Page | none | |
|---|
Related products and reviews
Product: Related products and reviews| Setting | Values | Default | Notes |
|---|
Related products
product_show_related | On / off | On | |
|---|
Number of related products
product_related_count | 2 to 8 | 3 | Only when related products are shown. |
|---|
Reviews
product_show_reviews | On / off | On | |
|---|
Cart tab
The header cart and the free-shipping bar. Needs WooCommerce.
Mini-cart drawer
Cart: Mini-cart drawer| Setting | Values | Default | Notes |
|---|
Header cart
mini_cart | Link to the cart page, Drawer | Drawer | Ajax add to cart runs only when the drawer is on; with “Link to the cart page” product forms submit the standard WooCommerce way. |
|---|
Open the drawer after adding a product
mini_cart_open_on_add | On / off | On | Only with the drawer. |
|---|
Cross-sells
cart_cross_sells | On / off | On | |
|---|
Free-shipping bar
Cart: Free-shipping bar| Setting | Values | Default | Notes |
|---|
Free-shipping progress bar
free_shipping_bar | On / off | Off | A message driven by this setting; it does not change shipping rates. |
|---|
Free-shipping threshold
free_shipping_threshold | Number, 0 or more | 0 | Amount in the shop currency. It should match your WooCommerce free-shipping rule. |
|---|
Blog & pages tab
The journal (posts archive), single posts and the 404 page.
Archive
Blog & pages: Archive| Setting | Values | Default | Notes |
|---|
Archive layout
blog_layout | Large first post then grid, Grid, List | Large first post then grid | |
|---|
Breadcrumbs
blog_breadcrumbs | On / off | On | Shown above posts, pages and archives. The trail of Yoast SEO or Rank Math is used when one of them is active. |
|---|
Sidebar
blog_sidebar | On / off | Off | Uses the “Blog sidebar” widget area. |
|---|
Excerpts
blog_show_excerpt | On / off | On | |
|---|
Reading time
blog_show_reading_time | On / off | On | |
|---|
Blog title
blog_title | Text | empty (“Journal”) | |
|---|
Blog introduction
blog_intro | Text area | empty | |
|---|
Single post
Blog & pages: Single post| Setting | Values | Default | Notes |
|---|
Date
post_show_date | On / off | On | |
|---|
Author
post_show_author | On / off | Off | |
|---|
Cover image
post_show_cover | On / off | On | |
|---|
Reading progress bar
post_show_progress | On / off | Off | |
|---|
Related posts
post_show_related | On / off | On | |
|---|
404 page
Blog & pages: 404 page| Setting | Values | Default | Notes |
|---|
Image
error_404_image | Image | none | |
|---|
Title
error_404_title | Text | empty (translated default) | |
|---|
Text
error_404_text | Text area | empty | |
|---|
Motion & performance tab
Animation level and loading options. Visitors whose device asks for reduced motion never see animations, whatever is set here.
Motion
Motion & performance: Motion| Setting | Values | Default | Notes |
|---|
Motion level
motion_level | Expressive, Calm, Off | Calm | |
|---|
Smooth wheel scrolling
motion_smooth_scroll | On / off | Off | Loads the Lenis library, on desktop pointers only. |
|---|
Page transitions
motion_page_transitions | On / off | Off | Cross-fade between pages in browsers that support view transitions. |
|---|
Performance
Motion & performance: Performance| Setting | Values | Default | Notes |
|---|
Preload the main fonts
perf_preload_fonts | On / off | On | |
|---|
Prefetch pages on hover
perf_speculation | On / off | On | Cart, checkout and account pages are never prefetched. |
|---|
Custom code tab
Custom code is never part of a demo or of a style preset.
Custom code
Custom code: Custom code| Setting | Values | Default | Notes |
|---|
Custom CSS
custom_css | Code | empty | Loaded after the theme styles. Needs the permission to edit CSS (like “Additional CSS”). |
|---|
HTML before </head>
custom_head_html | Code | empty | For verification tags and analytics snippets. Needs the “unfiltered HTML” permission. |
|---|
HTML before </body>
custom_footer_html | Code | empty | Needs the “unfiltered HTML” permission. |
|---|
Style presets
A preset sets the six palette colours at once. Each also has a darker variant used by the dark mode.
Style presets| Preset | Colours (paper, ink, accent) | Availability |
|---|
| Limestone & ink | #f8f5ee, #24241f, #963e26 | Included |
|---|
| Olive & chalk | #eff0e4, #242a20, #4e613e | Included |
|---|
| Rose clay & umber | #faf0e9, #322723, #984738 | Included |
|---|
| Midnight & brass (dark) | #171613, #f1ece2, #d98a5f | Included |
|---|
| Sand & bronze | #f4ecdf, #2b2620, #8f5422 | Included |
|---|
| Slate & steel | #eef0f1, #1f2428, #35536b | Included |
|---|
All six style presets can be selected without a licence. Choosing a custom colour overrides the preset for that colour only. The old name noir is still accepted in imports and is stored as midnight.
- Export: Download settings saves every setting as one JSON file (
{ "theme": "ocre-editions", "version": "5.1.0", "options": { … } }). Image, page and product IDs are specific to the site they came from: choose them again after importing on another site.
- Import: upload a JSON file. Choose Merge (only settings found in the file change) or Replace (missing settings return to their defaults). Custom code is skipped unless you tick Also import custom code. A report lists unknown settings, invalid values (replaced by the default), locked values and skipped code. The current settings are saved as a snapshot first, so the import can be undone.
- Reset: return one tab, or every setting, to the defaults. A snapshot is stored first. Resetting everything asks you to tick a confirmation box.
- Snapshots: the five most recent snapshots are kept (before imports, resets, demo imports and migrations). You can store one by hand and restore any of them. Snapshots needed for a demo reset are kept.
- Settings from version 4: when you update from version 4 the settings are migrated once, automatically. This section shows a report (values that were no longer valid, settings without an equivalent) and lets you run the migration again. Interface labels were not migrated: they are translated automatically now, and the newsletter settings moved to the plugin. The old settings are left in place, so going back to version 4 keeps working.
Homepage sections
The front page is a list of sections that you add, reorder, switch off and repeat in Appearance → Ocre Editions → Homepage. There are 22 section types: nine from version 5.0 and 13 added in 5.1. Each list keeps up to 24 sections (see Section limit). The list is used when the front page is a static page or the posts index; the Page content section prints that page’s own content, so you can mix the builder with the block editor.
Sections whose requirement is missing (for example Featured products without WooCommerce) are skipped silently. Product names and prices are read live from WooCommerce; a section never stores them.
Settings common to every section
Heading, Heading accent (second part of the heading, set in the accent italic), Introduction, Background (default, surface or dark) and Anchor label (a short name for in-page navigation, used by the one-page menu and rail; the section’s id is also its HTML anchor).
Hero exhibition hero_exhibition
An animated, full-width slideshow of 1 to 6 scenes with optional product hotspots. Works without JavaScript (scrolling track and anchor rail) and with reduced motion (no autoplay, no animation). Empty slides show the site name and tagline on a neutral block.
Settings: Layout (Cinema or Split), Advance slides automatically, Seconds per slide (5 to 30), Depth effect, and for each slide: Image, Image for phones, Alt text, Eyebrow, Title, Title accent, Text, Button label and link, Linked product (name and price are read live from WooCommerce), Show a product hotspot with horizontal and vertical position (0 to 100 %), Scene background colour (shown while the image loads).
Needs: nothing else.
Featured products featured_products
A product grid taken from a source you choose.
Settings: Source (Chosen products, Latest, Featured, On sale, Best-selling, From a category), Chosen products, Category, Number of products (2 to 12), Columns (2, 3, 4), link label and URL, “Shop by budget” links with their maximum amounts.
Needs: WooCommerce.
Product categories product_categories
Category tiles or a strip.
Settings: Categories (Chosen categories or Top-level categories), Layout (Tiles or Strip), Show product counts.
Needs: WooCommerce.
Materials materials
A tabbed material library: 1 to 6 items with an image and a short story.
Settings: For each item: Tab label, Title, Text, Image, Alt text, link label and URL, Linked product, Swatch colour.
Needs: nothing else.
Editorial split editorial_split
One image beside a block of text.
Settings: Image, Alt text, Image side (left or right, mirrored on right-to-left sites), Eyebrow, Title, Text, button label and link.
Needs: nothing else.
Journal journal
Latest or chosen posts.
Settings: Posts source (Latest, Chosen posts, From a category), Chosen posts, Category, Number of posts (2 to 6), Image, Alt text, link label and URL.
Needs: nothing else.
Newsletter newsletter
The sign-up form of the companion plugin.
Settings: Title, Text. Renders nothing if the plugin is inactive or the newsletter is off.
Needs: Ocre Editions Core.
Text band text_band
A large statement or paragraph.
Settings: Text (HTML allowed), Alignment (left, centre; “left” follows the reading direction), Size (Default, Large).
Needs: nothing else.
Page content page_content
Prints the content of the static page that is set as the front page, so you can mix the section builder with the block editor.
Settings: No settings.
Needs: nothing else.
Sections added in 5.1
Thirteen section types were added in 5.1.0. Add them like the others: in Appearance → Ocre Editions → Homepage, add a section to the section builder (or to Reusable sections) and choose its type. Every one has the common settings above. Lists such as quotes or questions have the maximum shown below, and a section without a usable entry prints nothing.
Voices voices
Short quotes from customers or clients, with an optional photo.
Settings: Layout (Row or Feature) and up to 6 quotes, each with Quote, Name, Role, Image and Alternative text.
Needs: nothing else.
As seen in press_strip
A strip of publication or client logos.
Settings: Label (default “As seen in”), Style (Static or Marquee), Invert logos on dark backgrounds, and up to 10 items, each with Name, Logo and Link URL. The marquee scrolls the logos in one line; it has a pause button, stops on hover and keyboard focus, and stays still for visitors who prefer reduced motion.
Needs: nothing else.
Figures stats
Large numbers with a label, for example years in business or projects built.
Settings: Layout (Row or Split), Count up when visible, and up to 6 figures, each with Value, Prefix, Suffix, Label and Text. The count-up runs when the figures come into view; with reduced motion or motion off the final numbers show straight away.
Needs: nothing else.
Features features
A grid, list or strip of benefits or services, each with an icon or an image.
Settings: Layout (Grid, List or Strip), Columns (2 to 4, for the grid), Style (Plain, Boxed or Media), Show numbers instead of icons, and up to 12 features, each with Icon (one of 41 section icons), Image, Alternative text, Title, Text, Link label and Link URL; plus a link for the whole section.
Needs: nothing else.
Process process
Numbered steps or a timeline that shows how you work.
Settings: Layout (Steps or Timeline), up to 8 steps, each with Label, Title, Text, Image and Alternative text, and a Button label and URL.
Needs: nothing else.
Pricing pricing
Plan cards with a price, a feature list and a button; one plan can be highlighted.
Settings: up to 4 plans, each with Name, Price, Price prefix, Price suffix, Linked product, Text, Features (one per line; start a line with “- ” for a feature that is not included), Featured plan, Badge, Button label and Button URL; plus a Note. A plan needs a name and either a price or a linked product. With a linked product the live WooCommerce price is used and the button opens the product page.
Needs: nothing else; WooCommerce only for linked products.
Team team
People with a photo, a role and a short text. Initials show when there is no photo.
Settings: Columns (2 to 4), Image shape (Portrait, Square or Round), and up to 12 people, each with Name, Role, Text, Image, Alternative text, Link label and Link URL; plus a link for the whole section.
Needs: nothing else.
Questions faq
Questions and answers that open and close.
Settings: Layout (Single or Two columns), Open the first question, Output FAQ structured data (off by default), and up to 16 questions, each with Question and Answer (basic formatting allowed); plus a Button label and URL.
Needs: nothing else.
Your contact details, opening hours, an optional static map picture and a contact form. See Contact section and form.
Settings: Layout (Split or Stacked), Show contact details, Opening hours, Form (None, Built-in form or Shortcode), Form shortcode, Form subjects (one per line), Submit button label, Consent label, Success message, Map image, Map alternative text, Map URL and Map link label.
Needs: Ocre Editions Core for the built-in form.
Banner banner
A wide band with a picture or a video behind a message and up to two buttons, with an optional countdown.
Settings: Media (None, Image or Video), Image, Alternative text, Image for phones, Video (MP4 or WebM from the Media Library), Play video on phones, Height (Compact, Default or Tall), Width (Full or Contained), Alignment (Start or Center), Scrim (None, Light, Medium or Strong: a tint that keeps the text readable), Eyebrow, Title, Title accent, Text, two buttons, Countdown date, Countdown label and Countdown end text. The video is muted and loops, with a pause button; it stays on the still image when motion is set to Off and, unless Play video on phones is on, on phones. The countdown counts down to one real date and time in the site time zone; it never restarts, loops or changes per visitor.
Needs: nothing else.
Showcase showcase
Pictures of projects, work or places, with captions.
Settings: Layout (Grid, Mosaic or Carousel), Columns (2 to 4), Image ratio (Landscape, Portrait or Square), Caption position (Below or Overlay), and up to 12 items, each with Image, Alternative text, Title, Meta, Text, Link URL and Wide tile; plus a link for the whole section.
Needs: nothing else.
Lookbook lookbook
A photograph with numbered product hotspots and, optionally, a list of the same products. Names, prices and links are read live from WooCommerce.
Settings: Image, Alternative text, Image position (Left, Right or Full), Eyebrow, Title, Text, up to 6 hotspots (Linked product, Horizontal and Vertical position, 0 to 100 %), Show product list, and a Button label and URL. A hotspot opens a small card; Escape closes it.
Needs: WooCommerce.
Before and after before_after
Two pictures of the same subject with a draggable divider.
Settings: Before image and After image, an Alternative text for each, Before label and After label, Opening position (10 to 90 %), Caption and Width (Contained or Wide). The divider is a native slider, so the arrow keys move it. Both images are needed.
Needs: nothing else.
Section limit
The homepage list and the reusable list each keep at most 24 sections. If a save, a settings import or a demo import brings more than 24 into one list, the sections after the 24th are dropped, and a notice says how many were dropped: move some to the other list or remove some, then save again. The demo importer records the same information as a warning in its log. A list of 24 or fewer is never trimmed.
Tips
- A transparent header (Header tab, or the page’s Display settings) sits over the first section, which works best with a hero.
- On right-to-left sites, “left” and “right” choices (image side, alignment) follow the reading direction. Hotspot positions are percentages of the photograph and are never mirrored.
- Block patterns (Hero split, Hero full, Product trio and others) are an alternative for ordinary pages. See Blog and journal.
One-page sites
A one-page site puts everything on the front page as a long scroll of sections, with a menu that jumps to each one. You turn it on with a few settings in Appearance → Ocre Editions → Homepage. The Crema and Folio demos are set up this way.
How to turn it on
- Name your sections. In the section builder, give each section you want in the menu an Anchor label, for example “Work” or “Contact”. The section’s ID is its HTML anchor (
#id): lowercase letters, numbers and hyphens. A section without an anchor label is not listed.
- Choose how the menu is built. Either create the Primary menu yourself with custom links made of your home page address and the anchor (for example
https://example.com/#contact), or switch on Automatic section menu under One-page navigation. The automatic menu lists the labelled sections in order and is used only when no Primary menu is assigned. On inner pages its entries point back to the front page.
- Add the section rail (optional). Switch on Show the section rail. It shows a column of dots at the end of the screen on large screens (from 64 em, about 1024 px), on the front page only, and needs at least three labelled sections. Hovering or focusing a dot shows its name; Esc hides the name. The rail fades out when the footer comes into view.
- Add a header button (optional). In Header → Action icons set Button label, Button link and Button style (Filled or Outline). Both label and link are needed. A label longer than 14 characters is hidden in the header bar on narrow screens but stays in the mobile menu.
How it behaves
- Header offset: a jump to a section takes the sticky header and the admin bar into account, so the section’s top is not hidden under them. Keyboard focus moves to the section. With motion set to Off, or for visitors who ask for reduced motion, the jump is instant instead of smooth.
- Mobile menu: a link to a section on the same page closes the open menu first, then scrolls.
- Scroll spy: while the visitor scrolls, the menu entry (and rail dot) of the section in view is marked as current. It starts only when the page has at least two linked sections and it never rewrites the address in the browser. Sections that are not linked, including the hero, clear the marker.
- Menu items with a
#: a menu link that contains an anchor is never shown as the current page, in any menu location, so “Home” is not highlighted together with every section.
- Deep links: if a visitor opens an address that ends in
#section, the page corrects its position once after loading if images changed the page height.
- Without JavaScript the links still jump to their sections; only the scroll spy is missing.
A transparent header (Header tab) over a hero exhibition suits a one-page site.
Reusable sections
A reusable section is built once in the section builder and printed in any page or post with a shortcode. Use it for a price table, a list of questions, a contact block or a row of logos that appears on several pages. The Datum demo uses ten of them.
Create one
- Open Appearance → Ocre Editions → Homepage and find Reusable sections, a second section builder. Sections there are not added to the homepage.
- Add a section of any type except the hero exhibition (the cover belongs on the homepage only), fill it in and give it a short ID such as
fees-plans. An ID must be unique across both lists; if the same ID is used twice the panel keeps the previous value and names the duplicates.
- Save.
Print it in a page or post
Edit the page, add a Shortcode block at the top level of the content and type:
[ocre_section id="fees-plans"]
- It works in pages, posts and other single post types. The section loads its own styles and scripts on that page.
- The section prints at full width with its own settings (background, anchor label and so on). The Full width page template suits it best. Keep the shortcode at the top level of the content: inside deeply nested Group or Columns blocks the full-width layout is not guaranteed.
- An ID prints once per page. A disabled section, an unknown ID, or a section that needs WooCommerce on a site without it prints nothing to visitors. Someone who can edit the page sees a “Reusable section not found” notice for a wrong ID.
- The shortcode must be in the page’s own content. A shortcode that a widget or a plugin adds at run time does not make the theme load the section’s styles.
- A post that contains the shortcode does not show the blog sidebar.
The theme also keeps the shortcode [ocre_checkout] of version 4; see The version 4 checkout shortcode.
Shop and product pages
With WooCommerce active, the theme renders the shop through WooCommerce’s own templates and hooks, so extensions that hook into them keep working. WooCommerce’s default stylesheets are replaced by the theme’s. Settings are in the Shop, Product and Cart tabs.
No “demo mode”, no gateway changesThe theme never changes your currency, payment gateways or checkout settings. Cart and checkout are the standard WooCommerce pages, as blocks or shortcodes, styled to match.
Shop archive
Two to four columns (one or two on phones), grid or list with a visitor switch, a category navigation row, native ordering and result count, optional header image, and filters shown as a sidebar or an off-canvas drawer (see Product filters). Cards show a linked image with a second image on hover, a category, the title, price, optional rating, material, dimensions and edition number, and a quick add button.
Cards read facts from product attributes named Material, Dimensions (or Dimension, Size) and Care. Create them as custom attributes on each product.
Product filters
Choose the filter position in Shop → Archive layout → Filters: Off-canvas drawer (the default), Sidebar or None. Drawer and sidebar show the same filters. Out of the box the theme shows its own built-in set:
- product categories, with counts;
- a minimum and a maximum price;
- every product attribute (colour, size, material and so on) that appears in the current results; colour or image swatches are used where the attribute has them, always with a text label;
- On sale and In stock;
- Apply filters and Clear all.
Chosen filters appear as removable chips above the product grid, and the Filters button shows how many are active. The filters are an ordinary form: the choices go into the page address (a filtered page can be shared), your search and sorting are kept, the list goes back to page 1, and everything works without JavaScript. Counts follow the current results, not every possible combination.
Your own filters replace the built-in onesIf you place a WooCommerce filter widget or block (for example price, attribute or active filters) in the Shop filters widget area (Appearance → Widgets), the theme shows those instead. Widgets that are not shop filters, such as blog archives, blog categories or menus, are not shown in the shop. Developers can reorder or remove groups of the built-in set with the filter ocre_editions_shop_filters.
Badges
Sale (text label or discount percentage), New (for a number of days after publishing, 0 turns it off) and Sold out.
Quick view
A button on each card opens a dialog with the product’s image, price and its native add-to-cart form, for simple and variable products. It loads on demand, needs no nonce and works for visitors on cached pages.
Wishlist and compare
The wishlist is stored in the visitor’s browser. For logged-in customers and with the companion plugin active (and “Wishlist sync” on), it is also saved in their profile and merged on login. Compare is off by default (Shop → Discovery tools): when on, visitors add products to a side-by-side comparison table. Both appear as header icons.
Live product search
The header search opens a dialog that suggests products as you type (from three characters). It uses the plugin’s products endpoint, or the WooCommerce Store API without it, and falls back to the standard product search form without JavaScript. With the plugin, shop search also finds products by their Material attribute.
Product page
- Gallery: thumbnail rail (slider with swipe, zoom and lightbox), stacked images, or two-column grid.
- Information: tabs or accordion; SKU, categories and tags can be hidden; an optional centimetre / inch switch; quantity stepper buttons; native stock messages; related products (2 to 8), up-sells and reviews.
- Sticky add-to-cart bar: appears once the main button leaves the screen, on phones only or on all screens.
- Size guide and care guide: choose pages in Product → Guides; they open in a dialog from links on the product page. A product can use its own guide page (plugin field).
- With the companion plugin: an Edition number plate and a material close-up image per product.
Variation swatches
Colour and image swatches replace the dropdown for global attributes whose terms have a swatch. With the companion plugin, edit the attribute’s terms (Products → Attributes → Configure terms) and set a swatch colour and/or swatch image. Other attributes keep the standard select. Without the plugin, selects are used. Swatches are keyboard operable (arrow keys follow the reading direction).
Product and category fields (companion plugin)
Plugin product fields| Where | Field | Use |
|---|
| Product data → “Ocre Editions” tab | Edition number | Shown as a plate on cards and the product page (limited editions). |
|---|
| Product data → “Ocre Editions” tab | Detail image / hide detail | A material close-up image, and a switch to hide it for this product. |
|---|
| Product data → “Ocre Editions” tab | Size guide page | Overrides the global size guide for this product. |
|---|
| Product category → edit | Menu icon | One of: chair, lamp, vase, table, textile, bowl, frame, shelf, folder. Used by the mega panel. |
|---|
| Global attribute terms | Swatch colour, swatch image | Used for variation swatches. |
|---|
Mini-cart drawer and free-shipping bar
The header cart can open a drawer where customers change quantities, remove items, see the subtotal and cross-sells and go to checkout; it can open automatically after adding a product. Add to cart then happens without a page reload (through the WooCommerce Store API) and falls back to the normal form submission if anything fails. The header count is correct on fully cached pages. The optional free-shipping progress bar shows how much is left to reach the threshold you set; it is a message only and does not create a shipping rule, so keep it in line with your WooCommerce free-shipping method. With the drawer off, the header cart is a link to the cart page.
Structured data
Product pages output WooCommerce’s own Product and BreadcrumbList data, with or without an SEO plugin.
Cart, checkout and account
Cart, checkout, order received, order pay and My Account (login, orders, downloads, addresses, account details, payment methods) are styled, in both block and classic versions. Use the standard WooCommerce pages.
After changing the card image ratio
Regenerate the product thumbnails (for example wp media regenerate --yes or a thumbnail plugin) so that existing images match the new ratio.
Blog and journal
The posts page is called “Journal” by default (change it with Blog title). Settings are in Blog & pages.
- Archive layout: large first post then grid, grid, or list; optional sidebar (widget area “Blog sidebar”), excerpts, reading time, breadcrumbs, title and introduction.
- Single post: cover image, date, author, a reading-progress bar, related posts and threaded comments.
- 404 page: optional image, title and text.
- Pages: three page templates (Full width, Narrow, Landing) and per-page Display settings (see Header and footer).
- Breadcrumbs: the theme prints its own trail, or the trail of Yoast SEO or Rank Math when one of them is active.
Block patterns and block styles
Twelve patterns appear in the block inserter under Ocre Editions: Hero (split), Hero (full width), Product trio, Category tiles, Material story, Editorial quote, Press mentions, Questions and answers, Two-column editorial, Call-to-action band, Contact details and Journal teaser. Product trio and Category tiles are only available with WooCommerce.
Six block styles: Button With arrow and Underlined link, Image Framed plate, Separator Short rule, Quote Editorial, Group Surface band.
Image sizes
Image sizes| Name | Size | Used for |
|---|
ocre-editions-hero | 2000 × 1200 (soft crop) | Hero slides, article cover |
|---|
ocre-editions-wide | 1400 × 933 (hard crop) | Editorial split, journal, post cards, featured images |
|---|
ocre-editions-square | 1000 × 1000 (hard crop) | Materials, category tiles, 404 |
|---|
ocre-editions-thumb | 160 × 160 (hard crop) | Rails, mini-cart, hero thumbnails |
|---|
Recommended source sizes: hero photographs at least 2400 × 1440, products at least 1600 × 1600, editorial images at least 1600 px wide (WebP or JPEG).
Newsletter
Provided by the Ocre Editions Core plugin. It collects sign-ups; it does not send newsletters. Use the subscriber list or the webhook to feed your e-mail service. Settings are in Appearance → Ocre Editions → Newsletter (or Settings → Ocre Editions Core).
Double opt-in
- A visitor enters an e-mail address and ticks the consent box in the footer band, a homepage Newsletter section, the
[ocre_newsletter] shortcode or the optional popup.
- The plugin e-mails a confirmation link. Opening it shows a Confirm button; nothing changes on a simple visit, so e-mail scanners cannot confirm by accident.
- Only after the click does the address become subscribed. Unconfirmed sign-ups are deleted after 14 days.
- Every message contains a signed unsubscribe link that removes the address.
The same answer is shown for new, pending and already subscribed addresses, so the form cannot be used to discover who is on your list.
GDPR and privacy
- For each sign-up the plugin stores the e-mail address, the form used, the consent wording and its version, the dates of consent and confirmation, the language and a keyed, non-reversible hash of the network address (used only to limit abuse).
- The WordPress personal-data exporter and eraser (Tools → Export/Erase Personal Data) find and remove a subscription. A suggested paragraph is added to Settings → Privacy.
- The popup stores in the browser’s local storage that it was shown; no cookie is set.
- Nothing is sent anywhere unless an administrator enters a webhook URL.
- You remain responsible for your own privacy policy and for how you use the list.
Abuse protection
Forms use a short-lived signed token that is fetched uncached (so page caches never serve a stale token), a hidden honeypot field and a minimum fill-in time. Default limits: 3 confirmation e-mails per address per hour and 5 per day, 300 per hour for the whole site, 40 requests per network address per hour. The limits do not rely only on the visitor’s IP address, and they never fail open. Developers can change them with ocre_editions_core_newsletter_limits.
Subscribers and export
Settings → Ocre Editions Core → Subscribers lists subscribers, lets you remove them and export a CSV (with protection against spreadsheet formula injection).
Webhook
Enter an HTTPS URL (and optionally a secret) to receive a JSON message each time a subscriber confirms or is removed. With a secret, each message carries an HMAC signature in the X-Ocre-Editions-Signature header. The webhook URL and secret can never be set by a demo.
Plugin settings reference
Newsletter
Ocre Editions Core, Newsletter| Setting | Values | Default | Notes |
|---|
Newsletter on
newsletter_enabled | On / off | On | Off hides every form and the footer band. |
|---|
Form title
newsletter_title | Text | empty (“Newsletter”) | |
|---|
Form text
newsletter_text | Text area | empty (translated default) | |
|---|
Button label
newsletter_button | Text | empty (“Subscribe”) | |
|---|
Consent wording
newsletter_consent_text | Text area | empty (translated default) | Stored with every sign-up, together with its version. |
|---|
Sender name of the confirmation e-mail
newsletter_sender_name | Text | empty | |
|---|
Sign-up popup
newsletter_popup | On / off | Off | A native dialog; never shown on cart, checkout, account or privacy pages. |
|---|
Popup trigger
newsletter_popup_trigger | Scroll depth, Exit intent, Delay | Scroll depth | |
|---|
Popup delay
newsletter_popup_delay | 5 to 120 seconds | 15 | |
|---|
Popup scroll depth
newsletter_popup_scroll | 10 to 90 % | 50 | |
|---|
Webhook URL
newsletter_webhook_url | HTTPS URL | empty | Receives a JSON message for each confirmed or removed subscriber. Never set by a demo. |
|---|
Webhook secret
newsletter_webhook_secret | Text (up to 128 characters) | empty | Signs each message (HMAC header X-Ocre-Editions-Signature). |
|---|
SEO
Ocre Editions Core, SEO| Setting | Values | Default | Notes |
|---|
SEO module
seo_enabled | On / off | On | Switches itself off while another SEO plugin is active. |
|---|
Open Graph tags
seo_open_graph | On / off | On | |
|---|
X / Twitter card
seo_twitter_card | On / off | On | |
|---|
Structured data
seo_schema | On / off | On | WebSite, Organization, Article and BreadcrumbList. Never Product. |
|---|
Tidy the core sitemap
seo_sitemap_cleanup | On / off | On | Removes password-protected content, cart, checkout and account pages and hidden products. |
|---|
Default share image
seo_default_image | Image | none | Used when a page has no image of its own. |
|---|
Catalogue
Ocre Editions Core, Catalogue| Setting | Values | Default | Notes |
|---|
Products endpoint
catalog_products_endpoint | On / off | On | Powers live search, wishlist and compare in the theme. |
|---|
Search by material
catalog_search_material | On / off | On | Indexes the Material attribute in a private taxonomy so shop search finds it. |
|---|
Wishlist sync
catalog_wishlist_sync | On / off | On | Saves the wishlist of logged-in customers in their profile. |
|---|
Data
Ocre Editions Core, Data| Setting | Values | Default | Notes |
|---|
Delete all plugin data when the plugin is deleted
uninstall_delete_data | On / off | Off | Subscribers, settings, product and term fields, wishlists and the material index are removed only if ticked. |
|---|
Off by default. A native dialog that opens on scroll depth, exit intent or after a delay, once per browser, and never on the cart, checkout, account or privacy pages.
Customising the form
Copy a file from the plugin’s templates/ folder (newsletter-form.php, newsletter-popup.php, newsletter-page.php, emails/newsletter-confirm.php) into an ocre-editions-core/ folder in your (child) theme and edit the copy. The theme already styles the form classes (.oe-newsletter and its parts).
Migrating from version 4
On activation the plugin copies version 4 subscribers (keeping their consent records and personal unsubscribe codes), renames the v4 product fields, and removes obsolete options, including the old “demo store” flag that could block payment gateways. Settings → Ocre Editions Core → Data shows a report and a button to import new version 4 data again.
SEO
The companion plugin provides basic SEO metadata so a new site is not left bare. It is designed to step aside for a dedicated SEO plugin.
Compatibility with SEO plugins
The module prints nothing while one of these is active: Yoast SEO, Rank Math, SEOPress, All in One SEO (3 and 4+), The SEO Framework, Slim SEO, SmartCrawl, Squirrly or SEOKEY. You never get duplicate canonical, Open Graph or JSON-LD output. There is no switch in the interface to force both on; developers can use the filter ocre_editions_core_external_seo.
The theme also supports the breadcrumbs of Yoast SEO and Rank Math and prints them when active.
What the module outputs
- A canonical link and a meta description (from the excerpt or content). On the front page the description comes from the page excerpt, then the site tagline, then the text of the first hero slide.
- Open Graph and X/Twitter card tags, with a default share image you can choose. On the front page, the first hero image is used when no featured image exists.
noindex on internal search, 404, previews, attachments, cart, checkout, account pages, password-protected or hidden content, empty or filtered catalogue pages and cart action URLs.
- Structured data (JSON-LD):
WebSite with a search action and Organization (with your social profiles) on the front page, Article on posts and BreadcrumbList outside WooCommerce pages.
- A tidier core sitemap: no password-protected content, no cart, checkout or account pages, no hidden products.
Product structured dataThe plugin never writes Product data. Product pages use WooCommerce’s own Product and BreadcrumbList markup, with or without an SEO plugin, so there is no duplicate to fix in a Rich Results test.
Tips
- Check Search Console and the Rich Results test after launch.
- Use real alt text on images (the section builder lets you set one per image).
- Set Settings → Reading → “Discourage search engines” back to off when you go live.
Translation and RTL
Text domains
Text domains| Package | Text domain | Template file |
|---|
| Theme | ocre-editions | languages/ocre-editions.pot |
|---|
| Companion plugin | ocre-editions-core | languages/ocre-editions-core.pot |
|---|
| Child theme | ocre-editions-child | Your own, in the child theme’s languages folder |
|---|
Every visible string goes through the WordPress translation functions, including the options panel, the importer and the JavaScript strings. Front-end script strings are passed from PHP, so they are translated with the rest.
Translating
- Open the
.pot file in Loco Translate, Poedit or similar and create a language file, for example ocre-editions-fr_FR.po, and compile its .mo.
- With Loco Translate, save translations in the “custom” location (
wp-content/languages/loco) so updates do not overwrite them.
- To regenerate the template yourself (needs WP-CLI):
wp i18n make-pot . languages/ocre-editions.pot --domain=ocre-editions \
--exclude=node_modules,assets/src,assets/vendor
wp i18n make-json languages --no-purge
Homepage section texts, top bar text, footer tagline and other texts you type in the options are content, not theme strings. A wpml-config.xml file is included so WPML can translate them (top bar text, mega panel title, contact address, footer tagline and copyright, blog title and intro, 404 text, and the text fields of every homepage section). Polylang users can register the same strings with Polylang’s string translation.
Right-to-left languages
- When the site language is written right to left (Arabic, Persian, Urdu, Hebrew…), WordPress sets
dir="rtl" and the whole layout mirrors: header layouts, split menu, dropdowns, mega panel, mobile drawer and the cart drawer (which opens from the start side), the hero track, arrows, swipe and keyboard arrows, tabs, swatches and progress bars.
- All styles use logical CSS properties; a small
rtl.css flips the few directional icons and the .alignleft / .alignright floats.
- Phone numbers and e-mail addresses are printed left to right so digits and symbols keep their order. Prices are wrapped so currency symbols such as “د.إ” are not reordered.
- Arabic script gets its own typography: no letter-spacing, no italics (accents use weight and colour instead), taller line height.
Arabic fonts
Eight Arabic font pairs are bundled: Noto Naskh Arabic + IBM Plex Sans Arabic; Amiri + IBM Plex Sans Arabic; El Messiri + Cairo; Cairo + Tajawal; Reem Kufi + Readex Pro; Noto Kufi Arabic + Noto Naskh Arabic; Almarai; Aref Ruqaa + Noto Naskh Arabic. With Font pair for right-to-left languages on Automatic (Style tab), an Arabic-capable main pair is kept; otherwise Arabic-script sites use El Messiri + Cairo. Other right-to-left sites keep their main pair. Any of the eight can also be selected as the main font pair.
The Arabic demo
Import Dar and choose “Switch the site to Arabic” in the language step to see a complete right-to-left store in dirhams. Use it as a starting point for any right-to-left site. When you build an Arabic site by hand: set the language in Settings → General, check the font pair setting, and write your content in Arabic.
Child theme and developer hooks
The child theme
The starter child theme ocre-editions-child contains style.css (header only), functions.php and nothing else. The parent loads the child’s stylesheet automatically after its own, so rules win without !important and you do not need to enqueue anything (return false from ocre_editions_enqueue_child_stylesheet if you want to load it yourself). Use logical properties (margin-inline, inset-inline-start, text-align: start) so your changes also work on right-to-left sites. Design tokens are CSS custom properties prefixed --oe-, for example --oe-gutter, --oe-color-ink, --oe-color-accent, --oe-font-display.
/* style.css of the child theme */
:root {
--oe-gutter: 2rem;
}
Template overrides
Copy a file from the parent to the same path in the child theme and edit it. Useful files:
Template overrides| Path in the theme | Controls |
|---|
template-parts/header/*.php | Header layouts (layout-classic, layout-centered, layout-minimal, layout-split, layout-stacked), top bar, branding, primary and mobile navigation, mega panel, actions, header button (cta). |
|---|
template-parts/footer/*.php | Footer layouts (layout-columns, layout-editorial, layout-minimal) and the bottom bar. |
|---|
template-parts/home/*.php | The homepage section templates: hero-exhibition, materials, editorial-split, journal, newsletter, text-band, page-content and, new in 5.1, voices, press-strip, stats, features, process, pricing, team, faq, contact, banner, showcase and before-after. section-rail.php prints the one-page rail. |
|---|
template-parts/content/*.php | Posts and pages (content, content-single, content-page, content-none, card-post, post-meta, related-posts, loop). |
|---|
template-parts/woocommerce/*.php | Badges, mini-cart, product card (mega panel), quick view, size guide, sticky add-to-cart, shop home sections, shop filters (filters.php) and the lookbook section. |
|---|
woocommerce/archive-product.php, content-product.php, content-single-product.php | The only three WooCommerce templates the theme overrides. Everything else is arranged through hooks. |
|---|
templates/*.php | The three page templates. |
|---|
patterns/*.php | Block patterns. |
|---|
(child)/ocre-editions-core/*.php | Overrides for the companion plugin’s templates. |
|---|
After copying a WooCommerce template, check WooCommerce → Status → Templates after WooCommerce updates for “outdated” notices.
Pluggable functions
Template tags and helpers are declared inside if ( ! function_exists() ), so a child theme can replace them by declaring a function with the same name in its functions.php. Among them: ocre_editions_icon(), ocre_editions_get_icon(), ocre_editions_site_branding(), ocre_editions_posted_on(), ocre_editions_posted_by(), ocre_editions_reading_time(), ocre_editions_pagination(), ocre_editions_the_section_heading(), ocre_editions_get_page_setting(), ocre_editions_text_link(), ocre_editions_button(), ocre_editions_page_header(), ocre_editions_social_links(), ocre_editions_contact_details(), ocre_editions_primary_nav(), ocre_editions_mobile_nav(), ocre_editions_image() / ocre_editions_get_image().
Every hook the theme adds uses a named function, never a closure, so remove_action() and remove_filter() work with the same hook, callback and priority:
function ocre_editions_child_remove_scheme_toggle() {
remove_action( 'ocre_editions_header_actions', 'ocre_editions_render_color_scheme_toggle', 60 );
}
add_action( 'after_setup_theme', 'ocre_editions_child_remove_scheme_toggle' );
Reading and writing options
ocre_editions_get_option( string $key, $default = null ); // schema default, cast, then filtered
ocre_editions_get_options(): array;
ocre_editions_get_default_options(): array;
ocre_editions_get_options_schema(): array;
ocre_editions_update_options( array $values ); // sanitised, unknown keys ignored
ocre_editions_apply_preset( array $preset, array $args ); // see below
ocre_editions_get_options_snapshot( string $snapshot_id );
ocre_editions_restore_options( $snapshot ): bool;
ocre_editions_get_style_presets(): array;
ocre_editions_get_home_section_types(): array;
ocre_editions_apply_preset() takes a flat array of option keys (or a panel export). Arguments: mode (merge or replace), dry_run, allow_code (accept the custom code keys) and source. It requires edit_theme_options (except in WP-CLI), validates every value, stores a snapshot first (the last five are kept) and returns applied, skipped (reasons: unknown_key, invalid_value, locked, code_not_allowed), snapshot and snapshot_id.
add_filter( 'ocre_editions_options_schema', function ( $schema ) {
$schema['my_banner_text'] = array(
'type' => 'text',
'default' => '',
'tab' => 'header',
'group' => 'topbar',
'label' => __( 'Banner text', 'my-child' ),
);
return $schema;
} );
Add a homepage section type
function ocre_editions_child_section_types( $types ) {
$types['custom_quote'] = array(
'label' => __( 'Quote', 'ocre-editions-child' ),
'template' => 'template-parts/home/custom-quote',
'requires' => '',
);
return $types;
}
add_filter( 'ocre_editions_home_section_types', 'ocre_editions_child_section_types' );
The template receives the section in $args['section']. Use ocre_editions_the_section_heading() to print the common heading.
Theme actions
Theme actions| Hook | Purpose |
|---|
ocre_editions_before_site / ocre_editions_after_site | Around the page wrapper. Dialogs and drawers print on after_site. |
|---|
ocre_editions_before_header / ocre_editions_after_header | Around the header. The top bar is attached to before_header at priority 10. |
|---|
ocre_editions_header_actions | The icon cluster in the header. Defaults: search (10), wishlist (20), compare (30), account (40), cart (50) with WooCommerce, colour-scheme switch (60). |
|---|
ocre_editions_before_footer / ocre_editions_footer_bottom / ocre_editions_after_footer | Around and inside the footer. The newsletter band is attached to before_footer at 10. |
|---|
ocre_editions_footer_payments | Where payment marks should print in the bottom bar. Fires only when “Show payment method icons” is on and a callback is attached. |
|---|
ocre_editions_before_home_section / ocre_editions_after_home_section | Around each homepage section; receive the section array. |
|---|
ocre_editions_before_content / ocre_editions_after_content / ocre_editions_after_post_content | Around the main content. Sidebar is on after_content (10); related posts (20) and comments (30) are on after_post_content. |
|---|
ocre_editions_newsletter_form | Fired by the theme with array( 'context' => 'footer'|'home'|'popup' ). The companion plugin prints the form; nothing prints without it. |
|---|
ocre_editions_upgraded | After the theme’s database upgrade routine. |
|---|
ocre_editions_wc_template_hooks | WooCommerce: fires after the theme has arranged the native hooks — the place to rearrange them from a child theme. |
|---|
ocre_editions_wc_overlays | WooCommerce: where dialogs and drawers print (icons 5, mini-cart 10, discovery dialogs 20, guides 30). |
|---|
ocre_editions_shop_sidebar | WooCommerce: the filter area of the shop (priority 10). |
|---|
Theme filters
Theme filters| Hook | Purpose |
|---|
ocre_editions_options_schema | Add or change settings (schema fields need type, default, tab, group and label). |
|---|
ocre_editions_option_{$key} | Filters the value of one setting when it is read. |
|---|
ocre_editions_style_presets, ocre_editions_style_preset_aliases, ocre_editions_style_preset_available | Style presets, their old names, and whether a preset is available. |
|---|
ocre_editions_palette, ocre_editions_dynamic_css | The palette and the dynamic CSS printed in the head. |
|---|
ocre_editions_font_pairs, ocre_editions_arabic_fonts, ocre_editions_arabic_font_pairs, ocre_editions_needs_arabic_fonts | Font pairs and when Arabic font files load. |
|---|
ocre_editions_panel_tabs, ocre_editions_panel_groups, ocre_editions_panel_section_types, ocre_editions_panel_search_index, ocre_editions_system_status | Extend the options panel. |
|---|
ocre_editions_home_section_types, ocre_editions_home_sections, ocre_editions_bound_product, ocre_editions_journal_section_query | Homepage section registry, list and queries. |
|---|
ocre_editions_mega_panel_columns | Columns of the mega panel (a column is array( priority, class, callback ); the menu column is order 20). |
|---|
ocre_editions_header_layout, ocre_editions_footer_layout, ocre_editions_header_transparent | Override the layout in effect. |
|---|
ocre_editions_body_classes | Theme body classes: ( $theme_classes, $classes ). |
|---|
ocre_editions_icon, ocre_editions_icons, ocre_editions_svg_allowed_html | Replace icons by name, add icons, extend the SVG allow-list. |
|---|
ocre_editions_script_data | Extend the window.ocreEditions object. |
|---|
ocre_editions_content_width, ocre_editions_widget_areas, ocre_editions_page_setting, ocre_editions_page_meta_post_types | Content width, widget areas, per-page settings and the post types that get Display settings. |
|---|
ocre_editions_related_posts_query, ocre_editions_related_posts_count, ocre_editions_reading_minutes | Blog details. |
|---|
ocre_editions_recommended_plugins, ocre_editions_enqueue_child_stylesheet | Plugin recommendations; whether the child stylesheet is enqueued by the parent. |
|---|
ocre_editions_wc_script_data, ocre_editions_wc_disable_core_styles, ocre_editions_wc_load_cart_fragments, ocre_editions_wc_needs_loop_assets, ocre_editions_wc_has_mini_cart | WooCommerce asset loading. Return false from ocre_editions_wc_disable_core_styles to get WooCommerce’s default styles back. |
|---|
ocre_editions_wc_badges, ocre_editions_wc_hover_image_id, ocre_editions_wc_product_fact, ocre_editions_wc_attribute_aliases, ocre_editions_wc_guide_page_id, ocre_editions_wc_archive_header_image_id, ocre_editions_wc_shop_filters_mode | Shop output: badges, hover image, product facts and the attribute names they read, guide pages, header image, filter mode. |
|---|
ocre_editions_wc_free_shipping_threshold | Change the free-shipping threshold (useful for multi-currency plugins). |
|---|
ocre_editions_wc_empty_cart_products, ocre_editions_wc_icon, ocre_editions_wc_main_id | Empty cart suggestions, icons, main wrapper id. |
|---|
ocre_editions_shop_filters | The built-in shop filters as an ordered list of groups (product_cat, price, one pa_* key per attribute, availability). Unset or reorder groups, or return an empty array to hide them. |
|---|
Extending the options panel
Add a tab with the filter ocre_editions_panel_tabs (id => array( label, icon, priority, capability )) and render it on the action ocre_editions_panel_render_tab_{$id}. Other panel actions: ocre_editions_panel_after_tab_fields, ocre_editions_panel_tab_aside, ocre_editions_panel_dashboard. Option actions: ocre_editions_options_saved( $new, $old ), ocre_editions_preset_applied, ocre_editions_options_restored, ocre_editions_legacy_options_migrated. Panel REST routes (namespace ocre-editions/v1, capability edit_theme_options): /options, /options/export, /options/import, /options/reset, /options/snapshots, /options/snapshots/restore, /lookup.
JavaScript object and events
One localized object, window.ocreEditions, is printed before the main script: restUrl, restNonce (logged-in users only), storeApiUrl, homeUrl, motion, isRtl, dir, features (wishlist, compare, quickView, liveSearch, miniCart), core (plugin status and endpoints), header, colorScheme and i18n. With WooCommerce: window.ocreEditions.wc, .cart (get, refresh, addItem, updateItem, removeItem) and .dialogs (open, close). Extend the object with the PHP filter ocre_editions_script_data.
DOM events| DOM event | Detail |
|---|
ocre-editions:cart-updated | { count, subtotal } |
|---|
ocre-editions:drawer-open / ocre-editions:drawer-close | { id } |
|---|
ocre-editions:content-loaded | { container } — markup injected later (for example quick view); re-initialise your scripts here. |
|---|
The theme also fires WooCommerce’s wc-blocks_added_to_cart and wc_fragment_refresh, and listens to added_to_cart, removed_from_cart and updated_cart_totals, so extensions stay in sync.
Companion plugin API
Detect the plugin with defined( 'OCRE_EDITIONS_CORE_VERSION' ). Functions you can call: ocre_editions_core_get_setting(), ocre_editions_core_get_settings(), ocre_editions_core_update_settings(), ocre_editions_core_render_newsletter_form(), ocre_editions_core_newsletter_is_enabled(), ocre_editions_core_newsletter_subscribe(), ocre_editions_core_get_unsubscribe_url(), ocre_editions_core_get_edition_number(), ocre_editions_core_get_detail_image_id(), ocre_editions_core_get_size_guide_page_id(), ocre_editions_core_get_category_icon(), ocre_editions_core_get_swatch().
Plugin REST routesREST route (ocre-editions-core/v1) | Use |
|---|
GET /products?search=&ids= | Public, cached. Search needs 3 or more characters; at most 8 search results or 24 ids; only publicly visible products. |
|---|
GET, PUT /wishlist | Logged-in customers; up to 100 products. |
|---|
GET /newsletter/token | Uncached signed form token. |
|---|
POST /newsletter/subscribe | Sign-up (needs a valid token and consent). |
|---|
POST /newsletter/unsubscribe | With a signed key. |
|---|
GET /contact/token | Uncached signed token for a contact section. |
|---|
POST /contact | Sends a contact message (needs a valid token and consent). The recipient and subjects come from your settings, never from the request. |
|---|
Product meta: _ocre_edition_number, _ocre_detail_image_id, _ocre_hide_detail, _ocre_size_guide_page_id. Term meta: _ocre_category_icon (product categories), _ocre_swatch_color and _ocre_swatch_image_id (global attribute terms). Settings option: ocre_editions_core_settings. Subscribers table: {prefix}ocre_editions_subscribers.
Plugin hooks| Plugin hook | Purpose |
|---|
ocre_editions_core_newsletter_subscribed, ocre_editions_core_newsletter_unsubscribed | Actions: connect your e-mail service here. |
|---|
ocre_editions_core_settings_saved, ocre_editions_core_migrated_from_v4 | Actions after saving settings and after the version 4 migration. |
|---|
ocre_editions_core_load_newsletter_styles | Filter: return false to skip the plugin’s newsletter stylesheet (the theme already styles the form). |
|---|
ocre_editions_core_show_newsletter_popup | Filter: return false to replace the popup with your own. |
|---|
ocre_editions_core_newsletter_limits, ocre_editions_core_client_ip, ocre_editions_core_pending_retention_days | Abuse limits, the client address behind a trusted proxy, retention of unconfirmed sign-ups. |
|---|
ocre_editions_core_newsletter_confirmation_email, ocre_editions_core_newsletter_webhook_payload | The confirmation e-mail and the webhook message. |
|---|
ocre_editions_core_external_seo, ocre_editions_core_seo_page_data, ocre_editions_core_seo_open_graph, ocre_editions_core_seo_schema_graph, ocre_editions_core_woocommerce_schema_fallback | SEO module. |
|---|
ocre_editions_core_product_payload, ocre_editions_core_products_cache_ttl, ocre_editions_core_search_min_length | Products endpoint. |
|---|
ocre_editions_core_template_path, ocre_editions_core_settings_schema, ocre_editions_core_setting_{$key}, ocre_editions_core_swatch_taxonomies, ocre_editions_core_category_icons | Templates, settings, swatches and category icons. |
|---|
ocre_editions_core_contact_demo_mode | Filter: return true to check the contact form but send no e-mail (for demo sites). |
|---|
Code standards
PHP follows WordPress Coding Standards (WordPress-Extra); the prefix is ocre_editions_ for functions, hooks and options, oe- for CSS classes (BEM, for example oe-card__title) and ocre-editions-{name} for script and style handles. Output is escaped late. Source files in assets/src are not minified.
Updates
Automatic updates (active licence)
While your licence is active and the theme (or a child theme of it) is the active theme, new versions appear in Appearance → Themes and Dashboard → Updates like any WordPress theme update. When you click update, the theme asks the licence server for a fresh signed download link (valid about 15 minutes) and checks the zip’s SHA-256 fingerprint before installing it.
Manual update
- Make a backup.
- Download the new theme zip from your purchase page.
- Upload it in Appearance → Themes → Add New → Upload Theme. WordPress offers to Replace current with uploaded.
- Do the same for the companion plugin (Plugins → Add New → Upload Plugin → replace).
What survives an update
- Your options (one option in the database), snapshots, menus, widgets and content.
- Your child theme, including its templates and CSS. After an update, compare any template you copied from the parent with the new version.
- Edits made inside the parent theme folder are overwritten. Use a child theme.
Updating from 5.0.x to 5.1.0
- Make a backup.
- Update the theme. With an active licence, 5.1.0 appears in Appearance → Themes and Dashboard → Updates and installs through the licence (see Automatic updates above). Without a licence, upload
ocre-editions-5.1.0.zip in Appearance → Themes → Add New → Upload Theme and choose Replace current with uploaded.
- Update the companion plugin. After the theme update, a notice shows the installed and the bundled version of Ocre Editions Core with an Update button; the plugin keeps its active or inactive state. You can also upload
ocre-editions-core-1.1.0.zip in Plugins → Add New → Upload Plugin and replace the plugin.
- Open any admin screen once. Ocre Editions Core 1.1.0 updates its database one time; newsletter sign-ups that were queued wait until the first admin, cron or WP-CLI request has run.
Your settings, homepage sections, menus, child theme and content are kept. The new options (one-page navigation, header button, reusable sections, the new section types) start off or empty. Two things change on their own: the shop shows the built-in product filters if you have placed no filter widgets, and the cart and checkout styles are corrected. The demos added in 5.1 need theme 5.1.0.
Updating from version 4
Version 5 migrates your version 4 theme settings once, automatically, the first time an admin screen loads, and the companion plugin migrates subscribers and product fields on activation. Check Tools → Settings from version 4 for the report. Interface labels you customised in version 4 are not carried over; they are now translated strings.
The version 4 checkout shortcode
Version 4 pages could contain [ocre_checkout]. Version 5.0 removed it, so such pages showed the raw text. Since 5.1.0 it is supported again: it prints the WooCommerce checkout, and nothing when WooCommerce is not active. On a new site, use the WooCommerce checkout page as it is.
FAQ and troubleshooting
“The package could not be installed.”
If WordPress reports that the theme is missing style.css, you may have uploaded the Full package. Unzip it on your computer and upload ocre-editions-5.1.0.zip from inside it, or use the Theme - install this download. Upload the companion plugin separately under Plugins → Add New → Upload Plugin.
Activation is blocked after reinstalling WordPress.
A new WordPress installation on the same domain can be blocked while the old installation is considered active. The re-install lock lasts up to 3 days after the old installation’s last licence check. Deactivate on the old installation if you still have access, or e-mail contact@acode.tech with your order number and domain; support can release the old activation without waiting for the lock to expire.
I deactivated while the licence server was unreachable.
The key is removed locally, but the server’s site slot stays in use. Once the connection works, activate the same key again on that WordPress installation, then deactivate it once more. If the slot remains occupied or the old installation is gone, contact support with your order number and domain.
Where are the theme settings?
Appearance → Ocre Editions. Site title, logo, menus and widgets stay in their usual WordPress screens.
Does the theme work without a licence?
Yes. Everything visitors see works without one. The licence only unlocks updates, demo import and support.
Can I use the theme without WooCommerce?
Yes. Shop options are hidden and shop sections are skipped. Install WooCommerce later and they appear. The Folio (one-page) and Datum (business) demos are built for sites without a shop.
The mega panel does not open.
Enable CSS Classes in Appearance → Menus → Screen Options, add oe-has-mega to a top-level item of the Primary menu, and make sure “Enable the mega panel” is on in the Header tab.
They need WooCommerce and are switched on in Header → Action icons.
The newsletter band or form does not show.
Activate Ocre Editions Core, switch the newsletter on (Newsletter tab) and keep “Newsletter band” on in the Footer tab. Pages can hide the band individually.
Messages go to the e-mail address in Branding → Contact details, or to the site administrator’s address when that field is empty or invalid. Check that address and its spam folder. If your host does not send e-mail reliably, an SMTP plugin usually fixes it. On a demo site no message is sent. See Contact section and form.
The shop filters are not the ones I expected.
With no filter widget in the Shop filters widget area the theme shows its built-in filters; with a WooCommerce filter widget or block there, it shows yours. Set Shop → Filters to None to hide both. See Product filters.
Sections disappeared after saving or importing.
A section list keeps at most 24 sections. The panel shows a notice with the number of sections that were dropped. Move some to the other list (homepage or reusable sections) or remove some, then save again. See Section limit.
My one-page menu or rail does not show.
Give each section an Anchor label. The automatic menu is used only when no Primary menu is assigned; the rail needs at least three labelled sections, the front page and a screen at least 64 em wide. See One-page sites.
Product images look cropped or blurry after changing the ratio.
Regenerate thumbnails after changing Image ratio (Shop → Product cards).
The cart count or a change is not showing on a cached site.
Clear the page cache and any minified-files cache after changing options or updating. Exclude the cart, checkout and account pages from page caching.
My Arabic or Hebrew site is not mirrored.
The direction follows the site language: set it in Settings → General (or the user’s profile language) and make sure the language pack is installed.
Can I use Google Fonts or my own fonts?
The theme loads no remote fonts. To add your own, upload the font files to your child theme, declare them with @font-face in the child stylesheet and override --oe-font-display and --oe-font-body.
Something looks wrong after installing a plugin.
Switch the plugin off briefly to confirm the cause, check the browser console for JavaScript errors, and look for a template override notice in WooCommerce → Status. Then contact support with the plugin name and version.
White screen after activation.
Check that PHP is 7.4 or newer and WordPress 6.8 or newer, then read the server’s PHP error log. Contact support with the error message.
How do I remove the theme?
Deactivate the licence first (Licence tab), switch to another theme, then delete Ocre Editions. The saved settings stay in the database until you remove them. The companion plugin deletes its data on deletion only if “Delete all plugin data when the plugin is deleted” was ticked.
Do the demos include a hero video?
Grain, Lumen and Wick ship with an optional 8-second muted loop. Crema, Folio, Welt, Arvo and Datum also include short videos for their hero or banner sections.
Which browsers are supported?
The latest two versions of Chrome, Edge, Firefox and Safari on desktop and mobile. Older browsers get a readable, unanimated page.
Does the theme load remote fonts or scripts?
The theme’s fonts and scripts are self-hosted. Licence checks run from WordPress admin and background tasks, not visitor pages. The demo importer downloads packages and language packs, and the newsletter webhook calls the URL you enter. WordPress and third-party plugins can make their own external requests.
Changelog
Read the public changelog for release history.
5.1.0 November 2026
- New: 13 section types (22 in all): voices, press strip, figures with count-up, features, process, team, pricing, questions, banner (image or video), showcase, before and after, lookbook with product hotspots (WooCommerce) and contact; 41 section icons.
- New: one-page sites with anchor navigation, scroll spy, an optional section rail and a header call-to-action button. Menu links to a section no longer show as the current page in every menu.
- New: reusable sections and the
[ocre_section] shortcode, to print a section in any page or post.
- New: contact form in Ocre Editions Core 1.1.0, with consent, spam protection and no third-party service.
- New: product filters in the shop drawer: categories, price, every attribute, on sale, in stock, with removable chips and no JavaScript needed.
- New: first-run welcome after activation (licence key, plugins, demo) and a single notice for missing or outdated plugins.
- New: five demos, 20 in all: Crema and Folio (one-page sites), Welt and Arvo (stores), Datum (business site). The demo wizard can filter by kind. Importer 1.2.0.
- New: home page search description from the excerpt, the tagline or the first hero slide when no SEO plugin is active.
- New: a notice names the sections dropped when a list holds more than 24.
- Changed: the licence screen says “Lifetime”, points to the order e-mail and the shop account for the key, and explains support, recovery and moving a site.
- Changed: cart and checkout styles fixed on all palettes: buttons, field borders, width, quantity badge.
- Changed: Arabic translation complete for the theme and the plugin.
- Fixed: the
[ocre_checkout] shortcode of version 4 prints the WooCommerce checkout again on upgraded sites.
- Fixed: text areas and contained banners keep their shape with the pill button style; mosaic galleries leave no gaps; the cart no longer shifts when the quantity stepper loads.
- Security: the demo reset keeps data that belongs to the shop owner; newsletter queue jobs are fenced against double sending; the licence bridge and server reconcile refunds and support extensions.
- Upgrade note: Ocre Editions Core 1.1.0 updates its database once; queued newsletter sign-ups wait until the first admin, cron or WP-CLI request has run.
5.0.1 November 2026
- Added two header layouts, Split and Stacked, so there are five in all (Classic, Centered, Minimal, Split, Stacked).
- Added six Arabic font pairs, so there are eight in all.
- Added a product carousel for featured products with keyboard, touch and RTL support, and a text-band marquee that pauses on hover, focus and with reduced motion.
- Fixed images staying invisible with expressive motion, hero copy blinking on load, hero height on short screens and long-title wrapping.
- Improved checkout text on dark palettes and quick-view positioning.
- Fixed product-card hover on touch-screen laptops, product accordion animation and empty columns in single-image galleries.
- Removed duplicate newsletter forms on a page.
5.0.0 November 2026
- New: homepage section builder with nine reorderable, repeatable section types.
- New: three header layouts, transparent header, mega panel from any menu item, three-level keyboard-accessible dropdowns.
- New: three footer layouts, six widget areas, five menu locations.
- New: six style presets, dark mode, four font pairs plus two Arabic pairs, per-page display settings.
- New: twelve block patterns, six block styles,
theme.json, editor styles.
- New: complete translation support and right-to-left support.
- New: options panel with search, import, export, reset and snapshots; Customizer live preview.
- New: one-click demo importer with 15 demos, rollback and WP-CLI commands; licence module.
- New: quick view, wishlist, compare, live search, swatches, size guide, sticky add-to-cart bar, mini-cart drawer and free-shipping bar.
- New: child theme.
- Changed: WooCommerce is rendered through its own templates and hooks.
- Changed: newsletter, SEO metadata and product fields moved to the Ocre Editions Core plugin.
- Changed: the hero uses the Web Animations API; GSAP was removed.
- Changed: one base stylesheet and one base script per page, plus one of each for the context; all scripts deferred.
- Changed: all settings are stored in one option shared by parent and child themes; version 4 settings are migrated automatically.
- Fixed: comments, search form, feeds, focus visibility on dark backgrounds, minimum text size.
- Removed: demo images and demo product references from the theme files.
Ocre Editions Core 1.1.0
- New: contact form for the contact sections, also in reusable sections, with consent, honeypot, signed time-limited tokens and rate limits. Messages are sent by e-mail and not stored. A privacy-policy suggestion and the
ocre_editions_core_contact_demo_mode filter are included.
- Security: newsletter queue jobs are fenced so a job is not sent twice and a stale worker cannot delete or fail a job that a newer sign-up replaced; queue limits are decided before an address is looked up; queue statistics are shown to administrators only.
- Upgrade note: the database is updated once.
Ocre Editions Core 1.0.1
- Newsletter: the version 4 import never brings back an address that unsubscribed or was erased; atomic rate limits, a daily cap per address and an HTTPS-only webhook. Catalogue prices, sale and stock data are computed for each visitor and never cached.
Ocre Editions Core 1.0.2
- Newsletter sign-ups stop if the rate-limit table is missing. Added optional queued, privacy-preserving confirmation e-mails.
Ocre Editions Core 1.0.0
- First release, extracted from the theme’s version 4: double opt-in newsletter, SEO module, catalogue endpoints, product and term fields and version 4 data migration.
4.2.0
Previous release.
Credits and licences
Code
Ocre Editions is distributed under the GNU General Public License, version 2 or later (https://www.gnu.org/licenses/gpl-2.0.html). This applies to the theme, the child theme and the companion plugin. The interface icons (inc/core/icons.php) are original artwork made for the theme, also GPL v2 or later. Copyright © 2026 Ocre Editions.
Fonts
All fonts are licensed under the SIL Open Font License 1.1 (https://openfontlicense.org). The licence texts are in assets/fonts/.
The additional Arabic families are El Messiri, Cairo, Tajawal, Reem Kufi, Readex Pro, Noto Kufi Arabic, Almarai and Aref Ruqaa. Their SIL Open Font License texts and copyright notices are also bundled in assets/fonts/.
Scripts
- Lenis 1.3.27, © darkroom.engineering, MIT License (https://github.com/darkroomengineering/lenis). Loaded only if smooth wheel scrolling is on. The licence text is in
assets/vendor/lenis/LICENSE.txt.
Images
The theme and the plugin ship no photography. All photographs and illustrations in the demo packages, and any images shown in the live previews, were generated by the author with artificial-intelligence tools; they depict fictional products and brands. Replace demo images with your own product photography for your live store.
Trademarks
WordPress is a trademark of the WordPress Foundation. WooCommerce is a trademark of Automattic Inc. All other product and plugin names are the property of their owners. Ocre Editions is not affiliated with them.
Getting support
Support covers installing and using the theme as described in this guide, bugs in the theme and companion plugin, and questions about the options. It does not cover custom development, third-party plugins or your hosting.
Support works through tickets. Every ticket belongs to one licence. You can open one from your WordPress dashboard, from the support portal or from your shop account, follow it in the same places, and receive an e-mail when we answer.
Who can open a ticket, and when
What we can answer depends on the state of the licence the ticket is opened for.
Who can open a ticket| State of the licence | Technical questions | Licence, activation, key and download questions |
|---|
| Support period active | Answered. | Answered. |
|---|
| Support period ended | Not accepted. The form shows the end date and the link to extend support. | Always answered. |
|---|
| Licence revoked or suspended | Not accepted. Write to contact@acode.tech. | Not accepted. Write to contact@acode.tech. |
|---|
Technical questions are about the theme, the companion plugin, the options, the demo import and bugs. Licence questions are about activating the licence, your key, your download and refunds. The rule is applied again each time you reply to a ticket, according to the ticket’s category.
An ended support period never stops your siteYour theme, updates, demo import and published pages keep working when support ends. Only technical tickets pause until you extend support.
Three ways to open a ticket
- In WordPress (fastest). Open Appearance → Ocre Editions → Licence and choose the Support tab. It is available while the licence is active on that site. It shows your support end date, lists your tickets with an unread marker, and lets you write a new ticket or reply. You can attach your site details if you choose to (see below).
- On the support portal. Go to https://licence.acode.tech/support and enter your licence key and the e-mail address used for the purchase. We e-mail you a one-time sign-in link, valid for 30 minutes. The link opens a page with a Continue button; press it to sign in. You stay signed in for 7 days on that browser and see every licence bought with that e-mail address. The page gives the same answer whether or not the key and e-mail match, so if no e-mail arrives, check the address and your spam folder.
- From your shop account. Sign in at shop.acode.tech → My account, open Licences and press Get support next to the licence. This opens the portal, where you sign in with the e-mail link. Your licence key is never put in the web address.
Bought on TemplateMonster or Creative Market? Claim your key first: see Bought on TemplateMonster or Creative Market?.
What is sent from your site
The Support tab identifies your licence the same way the licence checks do. Besides your message, the following is sent only if you tick the box Include my site details, which is unticked by default:
- the WordPress, PHP and WooCommerce versions, the language and whether the site is a multisite;
- the theme name and version and whether a child theme is active;
- the active plugins, with their names and versions (up to 60);
- your site address.
The form shows a preview of exactly what will be attached before you send. If the box stays empty, none of it is sent. The site details never include passwords, licence keys, e-mail addresses, database details or your content.
Writing a ticket
- No attachments. Tickets are plain text only. Paste a link to a screenshot, a recording or a file instead (a link from a file-sharing or image service is fine).
- A subject of up to 150 characters and a message of up to 10,000 characters. Up to 10 new tickets per licence per day.
- Never write your administrator password or your full licence key in a ticket.
Replies, closing and reopening
- Reply time: within 48 business hours (working hours, not calendar hours).
- Our e-mails: answers and sign-in links are sent from noreply@acode.tech and contain a link back to your ticket. Add that address to your contacts and check your spam folder. A reply sent to one of these e-mails goes to contact@acode.tech; to keep the conversation in one place, answer inside the ticket (the Support tab or the portal).
- Closing: you or we can close a ticket. A ticket waiting for your answer for 14 days is closed automatically, and you receive an e-mail about it.
- Reopening: reply to a ticket within 14 days of its closing to reopen it. After that, open a new ticket and mention the old reference (for example OE-104237).
- Storage: closed tickets are deleted 24 months after they were closed. The details are in the privacy policy of the shop.
Extending support
Support is included for 6 months from your purchase. Each extension adds 6 months and costs $16. Extend support. Your licence itself is a lifetime licence: updates do not depend on the support period. Your support end date is shown in the Support tab, on the Licence tab, at the top of the portal and next to each licence under My account → Licences, where each licence also has an Extend support button.
If a technical ticket was refused because support had ended, nothing is queued: after extending, submit the ticket again.
Before you write
- Update WordPress, WooCommerce, the theme and the companion plugin.
- Switch to a default theme or deactivate other plugins briefly to find conflicts.
- Note the exact steps to reproduce the problem, with screenshots (as links).
- Tick Include my site details in the Support tab, or send the information from Appearance → Ocre Editions → Dashboard → System status (versions, memory limit, language), your PHP version and, for import problems, the downloaded debug log (it contains no passwords or licence keys).
- Never send your administrator password. Give a staging login only if asked.
Feedback
If you enjoy the theme, a rating on the page where you bought it helps a lot. Thank you.