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.

About the images. The demo photographs are not part of the download. Every photo is a striped placeholder that shows its size in pixels and its file name. Choose your own pictures in each block (Media Library) — see Images and sizes.

Requirements

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

  1. In your WordPress admin open Appearance → Themes → Add New Theme → Upload Theme.
  2. Choose Theme/darkroom.zip, click Install Now, then Activate.
  3. 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.
  4. Optional: import the demo — see the next section.
Appearance, Install Plugins screen listing Darkroom Core and WooCommerce
Appearance → Install Plugins.
Upload too large? If the server refuses the zip, raise upload_max_filesize to 16 MB or upload the unzipped darkroom folder to wp-content/themes/ by FTP.
The plugin installation seems to hang? Bundled plugins are unpacked on your server; with the demo photographs this can take a minute or two, and the page stays blank meanwhile. If nothing happens after three minutes the server stopped the request: open Plugins — if Darkroom Core is listed, click Activate; if not, use Plugins → Add New → Upload Plugin with Plugin/darkroom-core.zip from the package. WooCommerce installs from Plugins → Add New (search “WooCommerce”).

Before importing the demo (with WooCommerce)

  1. You may skip WooCommerce’s setup wizard and its “Things to do” list: the demo import adds products, delivery and payment methods.
  2. 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:

Darkroom demo screen with the Import demo content button
Appearance → Darkroom demo.
Your own pages, posts and menus are not changed (only the two options above change settings and WooCommerce pages, and only when ticked): when a page with the same address exists, the demo page is added under a new address. Running the import again updates the demo entries instead of adding copies. The import only ever updates products it made itself: a product of your shop with the same address as a demo product stays as it is, and the demo product is added beside it under a new address. Developers can run wp darkroom-core import-demo [--skip-settings] [--skip-shop].

After installation

  1. 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.
  2. Settings → Permalinks: “Post name”, then Save Changes (also when it is already selected).
  3. 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).
  4. 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).
  5. Payments: WooCommerce → Settings → Payments — your bank details for bank transfer, or a card / PayPal gateway.
  6. 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:

  1. Open Pages and edit a page, e.g. Home.
  2. Click a heading or a paragraph and type. Click a picture and choose Replace to take one from the Media Library.
  3. 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.
  4. Click Save.
Block editor with the Hero slider block and its sidebar settings
The Hero slider: words on the canvas, slides and pictures in the sidebar.

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)

  1. Portfolio → Add work.
  2. Title = the name of the photograph; Featured image = the photograph; Excerpt = the short story shown in the viewer.
  3. Choose a Category (Portraits, Editorial…): the categories become the filter buttons.
  4. In Details: the year and the camera settings (e.g. 85mm · ƒ/1.8 · 1/200 · ISO 200).
  5. 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.

Portfolio list in the admin with categories
Portfolio → All works.

Testimonials

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.

Page cache. Exclude the pages with forms, the Shop and Checkout from full-page caching, so their security tokens stay fresh.

Blog

Shop (WooCommerce)

  1. 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).
  2. 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.
  3. 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

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.

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.

BlockWhere in the demoContent from
Hero slider (with Hero slides)HomeIts 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 gridGalleryPortfolio → All works (pictures, categories, excerpts).
Testimonials carouselTestimonialsTestimonials (approved entries).
Before / afterTestimonialsTwo pictures from the Media Library.
Leave a reviewTestimonialsSends a review to Testimonials as pending; you approve it.
Site form — Booking request, Message, Launch sign-up, Newsletter sign-upContact, About me, Coming soon, journal side columnRequests arrive in Inbox and by e-mail.
Tabs (with Tab)Services, PricingAny 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 calculatorPricingDirections, packages, locations, add-ons and rules in the sidebar.
Prints & albums price listPricingWooCommerce products whose address starts with “print-” (hidden from the catalog).
FAQ searchFAQThe page’s groups in the style FAQ topic and their Details blocks.
Shop catalogShopWooCommerce products and categories.
Featured editionShopA WooCommerce product with an Edition size (Product data → Darkroom).
Studio mapContactLatitude, longitude and zoom in the sidebar (OpenStreetMap).
Launch countdownComing soonThe launch date in the sidebar.
Studio hours (open now)Journal side columnOpening hours per weekday in the sidebar, in the site’s time zone.
Most read storiesJournal side columnRead counts of your posts (counted on the site).
Share buttonsJournal postsThe 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).

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

For developers

Privacy and external services

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

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.