Darkroom — Photography WordPress Block Theme
An editorial block theme for photographers, portrait studios and creative agencies, made for the WordPress Site Editor.
Thank you for purchasing Darkroom. This guide takes you from the zip file to a finished site, step by step: installing the theme and its companion plugin, importing the demo, and changing every text, picture, menu, colour and product.
- A block theme: header, drawer menu, footer, blog, archives, search, posts and the 404 page are templates of core blocks, editable in Appearance → Editor.
- The companion plugin Darkroom Core adds Portfolio, Testimonials, the forms with an Inbox, 30 design blocks and the one-click demo.
- WooCommerce shop: a catalog with quick view and a cart drawer, print sizes and frames priced on the server, and a checkout drawn in the design.
- Responsive from 320 px phones to 2560 px screens, keyboard friendly, respects “reduced motion”, translation ready.
Requirements
- WordPress 7.0 or newer (tested up to 7.1).
- PHP 7.4 or newer (8.1+ recommended).
- WooCommerce (free) for the shop and checkout — optional; everything else works without it.
- Pretty permalinks are recommended (Settings → Permalinks → Post name). The demo import switches them on when links are still plain.
What is in the download
Theme/
└── darkroom.zip the theme (upload this one); it carries plugins/darkroom-core.zip
Plugin/
└── darkroom-core.zip the companion plugin, also on its own
Documentation/
└── index.html this guide
Licensing/
├── GPL-2.0.txt licence of the theme and the plugin
├── README_LICENSE.txt credits of every bundled resource
└── … licences of the fonts, Leaflet and Font Awesome
Installation
- In your WordPress admin open Appearance → Themes → Add New Theme → Upload Theme.
- Choose
Theme/darkroom.zip, click Install Now, then Activate. - A notice asks to install the recommended plugins. Click Begin installing plugins (or open Appearance → Install Plugins), tick Darkroom Core and WooCommerce, choose Install, then Activate.
- Optional: import the demo — see the next section.

upload_max_filesize to 16 MB or upload the unzipped darkroom folder to wp-content/themes/ by FTP.Plugin/darkroom-core.zip from the package. WooCommerce installs from Plugins → Add New (search “WooCommerce”).Before importing the demo (with WooCommerce)
- You may skip WooCommerce’s setup wizard and its “Things to do” list: the demo import adds products, delivery and payment methods.
- WooCommerce → Settings → General: your store’s country, the currency, the currency position and the number of decimals (2 shows €140.00, 0 shows €140). Every price of the theme is written this way.
Demo content
Open Appearance → Darkroom demo and click Import demo content. In a minute you get the site of the preview:
- 11 pages: Home, About me, Gallery, Services, Blog, Pricing, FAQ, Testimonials, Shop, Coming soon, Contact — each with its page template;
- the Main menu (drawer) and the Footer menu;
- 16 Portfolio works, 12 Testimonials and 6 journal posts with their pictures in the Media Library;
- Option “site settings”: Home as the front page, Blog as the posts page, pretty links when they are still plain; WordPress’s unedited “Hello world!” post and “Sample Page” are moved to the Trash (restorable);
- Option “shop” (with WooCommerce; not ticked by default because it changes WooCommerce pages): 12 shop products, the featured limited edition, the Pricing page’s price list (hidden products); the WooCommerce Shop page is renamed “All products”, moves to
/store/and its text is emptied; the Checkout page content is replaced with the classic checkout; delivery zones (Pick-up, Courier Latvia, International) and the Bank transfer and Cash on pick-up gateways only when your store has none yet. No coupon is created.

wp darkroom-core import-demo [--skip-settings] [--skip-shop].After installation
- Open the site to visitors. A new WooCommerce store starts in “Coming soon” mode: you (logged in) see the site, visitors see a “coming soon” page. WooCommerce → Settings → Site visibility → Live → Save changes. Check in a private browser window.
- Settings → Permalinks: “Post name”, then Save Changes (also when it is already selected).
- Settings → General: the Site Title (browser tab and search results), the Administration Email Address (messages of the site’s forms go there) and the Timezone (the footer clock and the studio hours block use it).
- Your texts and contacts: the footer (Appearance → Editor → Patterns → Footer: e-mail, address, phone, hours, social links, the brand name and the big word — see Header, footer and logo) and the pages (Pages → Edit).
- Payments: WooCommerce → Settings → Payments — your bank details for bank transfer, or a card / PayPal gateway.
- Page caching (a caching plugin or your host’s cache): exclude
/cart/,/checkout/,/my-account/,/wp-json/wc/store/and the pages with forms, otherwise carts and forms can show stale data.
Editing pages and blocks
Every page of the demo is made of WordPress’s own blocks — Group, Columns, Heading, Paragraph, Image, List, Buttons, Quote, Details — so you edit it like any WordPress page:
- Open Pages and edit a page, e.g. Home.
- Click a heading or a paragraph and type. Click a picture and choose Replace to take one from the Media Library.
- Functional parts (the slider, the portfolio grid, the shop, forms, the map…) are Darkroom blocks: their words are edited on the page too, their settings are in the block sidebar on the right.
- Click Save.

Sections and pages as patterns. In the block inserter open Patterns: Darkroom sections holds every section of the design (page header, studio rows, packages, steps, quote card, FAQ, call to action…), Darkroom pages whole pages. A new page offers the Darkroom pages to start from.
Block styles. The design’s looks are styles you can give your own blocks (select a block → Styles): paragraph and heading Small caps label, paragraph Lead, button Text with a line and Magnetic circle, heading Numbered and With a star, image Portrait crop, group Notes card and FAQ topic, list Tips with arrows, gallery Mosaic, columns Photo pair, quote Dark card. Drop caps are the paragraph’s own Drop cap setting.
Page templates. In the page’s sidebar under Template: Design page (full width, no title) — most pages, Design page without footer — About me, Contact, Coming soon, and the default Pages template for ordinary text pages. A page that starts with a Darkroom page pattern is shown full width even on the default template.
Full width. The design’s sections are set to Full width; any block you add between them sits in the text column. Wide and full alignments of images work on ordinary pages.
Colours and fonts
Appearance → Editor → Styles. The palette (Ink, Accent, Paper, Paper warm, Text, Muted, Night, Night soft) and the two font families (Montserrat headings, Lora text) drive the whole design, including the plugin’s blocks. The fonts are bundled with the theme: no request to Google Fonts.
Portfolio (Gallery)
- Portfolio → Add work.
- Title = the name of the photograph; Featured image = the photograph; Excerpt = the short story shown in the viewer.
- Choose a Category (Portraits, Editorial…): the categories become the filter buttons.
- In Details: the year and the camera settings (e.g.
85mm · ƒ/1.8 · 1/200 · ISO 200). - The order of the grid: Order in Page Attributes (smaller first).
The Portfolio grid block shows the works with filters, 2/3/4 columns, “Load more”, a quote card and a booking card between the photographs, and the gallery-wall viewer (frames, print size, thumbnails). Its words are edited on the canvas; which works, how many and the columns are in the block sidebar.

Testimonials
- Testimonials → Add testimonial: title = client name, text = the review, featured image = client photo (optional), category, and in Details rating, session (e.g.
Portrait · Essential), city and video length for video reviews. - The Reviews carousel block lists published testimonials with category tabs.
- The Review form on the Testimonials page sends reviews as pending testimonials — a red bubble on the menu shows how many wait. Publish the ones you like.
Forms and the Inbox
The Contact booking form, the About reply form and the Coming soon sign-up arrive in Inbox (admin menu) and by e-mail to the address in Settings → General. Open a message to read it; Reply by e-mail answers the sender.
- Spam protection: hidden honeypot field, security nonce, 5 messages per visitor in 10 minutes.
- E-mail delivery depends on your server; an SMTP plugin makes it reliable.
- Personal data: Tools → Export / Erase Personal Data cover the Inbox.
Blog
- Write posts as usual. The featured image is the card picture; the excerpt is the lead under the title; categories and tags show on the card.
- The journal layout (header, overlapping cards, sidebar) is the Blog Home, Archive, Search and Single Posts templates in Appearance → Editor → Templates.
- The side column (author card, studio hours, search, categories, most read stories, the monthly letter, follow links, Instagram photos, archive, tags, booking card) is the pattern Journal sidebar; edit it in the templates. Replace the author card’s photo and words with yours; the figures under it (stories, topics, since) are counted from your posts. The Instagram photos are a Gallery block — put your own pictures and profile link in it.
- Post blocks of the design: Quote style Dark card, image captions, galleries, tables and lists are styled to match.
Shop (WooCommerce)
- Products → Add new: a simple product with a price, a short description (shown under the title), a product image and a category (the categories become the shop’s filters).
- In Product data → General, the Darkroom fields:
- Print options: buyers choose a size and a frame (in the quick view, on the product page); the price comes from the print price table (30 × 45 / 50 × 70 / 70 × 100, unframed or framed). A print is never added to the cart without a size: product lists send the buyer to the product page to choose one;
- Edition size: a numbered limited edition (0 = not an edition). Buyers choose a free number; each number is sold once. Sold numbers lists numbers you sold outside this shop (e.g.
1 Riga, 3 Berlin); - Frame in the preview, Black & white preview, Badge and Dark badge: how the card looks.
- The Shop catalog block lists the products; the Featured edition block sells one limited edition (choose its product in the block sidebar).
Add to cart puts the product straight into the WooCommerce cart; the design’s cart drawer shows that cart (the same one as the Cart and Checkout pages), and prices are calculated by the server and written as WooCommerce writes them (currency position, decimals and separators from WooCommerce → Settings → General; with or without tax as set under Tax). The WooCommerce product archive lives at /store/, so that /shop/ is the design’s Shop page.
Edition numbers
- A number in a visitor’s cart is held for 15 minutes (renewed while they shop); nobody else can take it meanwhile.
- An order that is not paid yet (bank transfer, cash on pick-up: Pending or On hold) keeps its numbers for 3 days.
- When the order is paid (Processing or Completed) the numbers are sold for good. A Cancelled or Failed order frees them; a Refunded one does not (you decide whether the print comes back: then type the number out of the sold list or cancel the order).
- A reserved number belongs to its order only: the same buyer cannot put it into a second order. If a number is no longer available when an order is placed, the checkout stops with a message before any payment.
- Paying an unpaid order again (the “Pay” link) is refused when its reservation ran out and the number was sold meanwhile. If a payment still arrives for such an order, it goes On hold (not Processing) with a note naming the number, so you can offer another number or a refund before sending anything.
- Numbers you add to Sold numbers leave any visitor’s cart at once (their checkout stops with a message). A number an order has already reserved or bought is not added; a notice names the order — cancel it first if the print went elsewhere.
- Deleting the plugin keeps this record (sold numbers stay sold if you install it again). WooCommerce → Settings → Products → Delete data on uninstall deletes it as well; a later installation reads the numbers back from the orders: paid, completed and refunded orders first (the earliest paid order keeps a number; a later one is marked for you in its notes), then unpaid orders whose reservation has not run out. If WooCommerce is off at that moment, this happens as soon as it is on again — until then no number can be sold.
- Filters:
darkroom_core_edition_hold_minutesanddarkroom_core_edition_reserve_days.
The Pricing page’s mini shop sells its price list the same way: those items are hidden products named print-p0, print-f1…; change their prices under Products.
Checkout
The checkout page uses WooCommerce’s classic checkout (the page content is the [woocommerce_checkout] shortcode; the demo import sets it). Darkroom draws it in the design: progress steps, Contact, Delivery as cards, the shipping address with “use same address for billing”, Payment as pills, and the order summary with quantities and coupons.
- Delivery methods: WooCommerce → Settings → Shipping. When free shipping is available, paid rates are hidden (pick-up stays).
- Payment methods: WooCommerce → Settings → Payments. Card and PayPal pills appear when you install a gateway (e.g. WooPayments, Stripe, PayPal Payments) — card data is entered in the gateway’s own secure fields.
- Coupons: Marketing → Coupons (WooCommerce → Settings → “Enable the use of coupon codes”); the order summary’s “Add coupons” box applies them.
- The lines under the total (“Signed & numbered prints”…) come from the demo’s shop setup; developers change them with the
darkroom_checkout_trust_linesfilter. - Terms checkbox: WooCommerce → Settings → Advanced → Terms and conditions page.
Darkroom blocks
The blocks of the Darkroom Core plugin, all in the Darkroom category of the inserter. Each has its own editor: words on the canvas, settings in the sidebar. Without the plugin the theme keeps working; these parts are then simply not there.
| Block | Where in the demo | Content from |
|---|---|---|
| Hero slider (with Hero slides) | Home | Its slides: picture, small heading, title, text — on the canvas; autoplay and the button in the sidebar. With autoplay on, a Pause / Play button sits under the slide numbers (visitors can stop the slides). |
| Portfolio grid | Gallery | Portfolio → All works (pictures, categories, excerpts). |
| Testimonials carousel | Testimonials | Testimonials (approved entries). |
| Before / after | Testimonials | Two pictures from the Media Library. |
| Leave a review | Testimonials | Sends a review to Testimonials as pending; you approve it. |
| Site form — Booking request, Message, Launch sign-up, Newsletter sign-up | Contact, About me, Coming soon, journal side column | Requests arrive in Inbox and by e-mail. |
| Tabs (with Tab) | Services, Pricing | Any blocks inside each tab. The design needs tiles with notes and a switch, which the Tabs block of WordPress 7.1 does not draw; Darkroom works from WordPress 7.0. |
| Session calculator | Pricing | Directions, packages, locations, add-ons and rules in the sidebar. |
| Prints & albums price list | Pricing | WooCommerce products whose address starts with “print-” (hidden from the catalog). |
| FAQ search | FAQ | The page’s groups in the style FAQ topic and their Details blocks. |
| Shop catalog | Shop | WooCommerce products and categories. |
| Featured edition | Shop | A WooCommerce product with an Edition size (Product data → Darkroom). |
| Studio map | Contact | Latitude, longitude and zoom in the sidebar (OpenStreetMap). |
| Launch countdown | Coming soon | The launch date in the sidebar. |
| Studio hours (open now) | Journal side column | Opening hours per weekday in the sidebar, in the site’s time zone. |
| Most read stories | Journal side column | Read counts of your posts (counted on the site). |
| Share buttons | Journal posts | The current post’s address. |
Images and sizes
Every placeholder shows the size it was made for; any picture of a similar shape works, because photos are cropped to fill their frame (object-fit: cover).
- Hero: 2560 × 1240. Studio rows: 1149 × 640. Journal cards: 1586 × 992 (16:10). Portfolio: any — landscape 1586 × 992 or portrait 1122 × 1402.
- Products: square or portrait, at least 1024 px. Testimonial photos: 16:10.
- Pictures of the sections and pages (About, Home studio rows, Services, Pricing, Shop walls, Coming soon, the journal’s author card and Instagram photos) are in
darkroom/assets/imagesand appear through the patterns; once a page is made, replace any picture with Replace on the image block.
Translation
Theme text domain darkroom, plugin darkroom-core; POT files are in each languages folder. Translate with Loco Translate or Poedit and keep the files in wp-content/languages/themes and …/plugins. Texts you type in blocks are your content and are edited in the editor. The demo pages are made from the theme’s patterns, so they arrive in the site’s language when a translation is installed before the demo import; the words of the Darkroom blocks fall back to the plugin’s translation when you leave them empty. Scripts are translated from the same PO files: Loco Translate writes the JSON files for JavaScript itself; with Poedit run wp i18n make-json on the folder.
Updating
- Theme: install the free Envato Market plugin to update from your ThemeForest downloads, or download the new version and upload
darkroom.zipin Appearance → Themes → Add New → Upload Theme (WordPress offers to replace the current version). Your changes made in the Site Editor are kept in the database. - Darkroom Core: the new theme carries the new plugin version; Appearance → Install Plugins then shows an update for it. Or upload
darkroom-core.zipin Plugins → Add New → Upload Plugin and choose “Replace current with uploaded”. - Make a backup before updating. Edits made directly in theme files are lost on update: use a child theme for code changes.
For developers
- Filters:
darkroom_core_print_prices(size / frame / edition prices),darkroom_core_hide_paid_when_free,darkroom_core_form_email,darkroom_core_form_rate_limit,darkroom_core_form_fields,darkroom_core_edition_hold_minutes,darkroom_core_edition_reserve_days,darkroom_checkout_trust_lines,darkroom_checkout_shipping_icon. - REST:
POST /wp-json/darkroom-core/v1/form(forms, REST nonce). The shop uses WooCommerce’s Store API; a print’s choice travels asdarkroomwith/wc/store/v1/cart/add-item. - Theme CSS:
design.css(the design),blocks.css(WordPress bridge),woocommerce.css(WooCommerce pages); each has a numbered table of contents. WooCommerce template overrides:woocommerce/checkout/. - Child themes are supported.
- Bundled libraries ship minified as their authors publish them: Bootstrap 5.3.8 (getbootstrap.com, github.com/twbs/bootstrap), Leaflet 1.9.4 (github.com/Leaflet/Leaflet), Font Awesome Free 6.7.2 (github.com/FortAwesome/Font-Awesome). The plugin keeps its own copy of Bootstrap and of
design.cssonly as a fallback for other themes; with Darkroom active the theme’s files are used and the plugin’s are not loaded.
Privacy and external services
- The Contact page map loads tiles from OpenStreetMap (
tile.openstreetmap.org): the visitor’s browser sends its IP address to the OpenStreetMap servers. Mention it in your privacy policy, or remove the map in the Contact page block. - No fonts or scripts are loaded from other servers. Avatars use Gravatar as in every WordPress site.
- Forms store what visitors send in the Inbox; reviews only with the visitor’s consent.
- The gallery viewer’s frame choice is kept in the visitor’s browser storage; the cart is WooCommerce’s own (its session cookie).
FAQ
A page shows “This part of the page needs the Darkroom Core plugin”. Install and activate the plugin (Appearance → Install Plugins). Visitors never see this note.
The gallery says “no works yet”. Add works under Portfolio (with a featured image) or import the demo.
The shop is empty. Activate WooCommerce and add products, or import the demo.
Links give “Page not found”. Settings → Permalinks → Save once.
Visitors see “… is coming soon” but I see the site. WooCommerce’s store visibility: WooCommerce → Settings → Site visibility → Live.
The footer shows my long site title / I want my own name there. The footer’s brand name and big word are their own texts: Appearance → Editor → Patterns → Footer, click and type, Save.
Prices show “.00”. WooCommerce → Settings → General → Number of decimals = 0 shows €140 instead of €140.00.
The plugin installation page stays blank. See the note in Installation: activate or upload Darkroom Core under Plugins.
Forms say “The page has expired”. Exclude the form pages from page caching.
Credits and licences
- Theme and plugin: GNU GPL v2 or later.
- Bootstrap 5.3.8 — MIT. Montserrat, Lora — SIL Open Font License 1.1.
- Material Symbols — Apache 2.0. Font Awesome Free 6.7.2 — CC BY 4.0 / OFL 1.1 / MIT.
- Leaflet 1.9.4 — BSD 2-Clause. Map data © OpenStreetMap contributors (ODbL).
- TGM Plugin Activation 2.6.1 — GPL v2 or later.
- Demo photographs: created by the author with Midjourney and ChatGPT on paid subscriptions that grant commercial use; no real persons are depicted. Not included in the download (placeholders).
Changelog and support
1.0.0 — initial release.
Questions? Write to us through the Mecovache profile page on ThemeForest. Please include your WordPress, WooCommerce and PHP versions and a link to the page.