Skip to main content

Build review

Everything implemented on the De Batterie build, for the agency’s review. Internal page: delete before go-live. Numbers in brackets are WordPress post or block IDs.

Approach and where the code lives

  • Built in Uncode and WPBakery on the Popeye child theme. No theme files or plugins were edited.
  • Only Uncode elements and attributes are used in the pages; everything Uncode cannot do natively is in Code Snippets, scoped to batterie- classes, each rule with a comment saying why.
  • Heading sizes come from one type scale (h1 to h6, all devices) in the page CSS.
  • Snippet 14, Batterie: page CSS (HTML snippet in the head, as the free Code Snippets does not output CSS snippets): all site styling Uncode cannot set natively.
  • Snippet 15, Batterie: Nieuws Lees meer (JS): the Lees meer / Lees minder toggle on news posts.
  • Snippet 16, Batterie: project fields (PHP): project fields, the four project lists, card and tag output, archive logic, Dutch filter labels.
  • Snippet 17, Batterie: Projecten filters (JS): puts the chosen filter in the URL, keeps one filter list open at a time, closes it on a click elsewhere.
  • Snippet 18, Batterie: Nieuws (PHP): news post fields, and 404s for single news posts and post archives.

Theme Options set

  • Footer: content block Footer Batterie (111838), site-wide.
  • Single project: header content block Project header (112090), content block Project body (112082), navigation content block Project navigation (112092).
  • Project navigation index (the Alle projecten link on single projects): the Projecten page (112135).
  • Portfolio archive: custom title Projecten; the archive itself redirects to /projecten/.
  • Uncode’s unused portfolio Details fields (Client, Services, Year, Link) cleared.

Pages and menu

  • Home (/): One Page setting on, dots hidden, for the Over ons anchor.
  • Experimenteren en innoveren (/experimenteren-en-innoveren/), Samenwerkingen en partners (/samenwerkingen-en-partners/) and Bouwen aan duurzame plekken (/bouwen-aan-duurzame-plekken/): theme landing pages, each showing its own theme’s projects. The intro copy on the last two is still placeholder.
  • Projecten (/projecten/): all projects in the three themes, with filters.
  • Archief projecten (/archief-projecten/): archived projects only, with filters.
  • Nieuws (/nieuws/) and Nieuws optie B (/nieuws-optie-b/): news rows, two intro options for the client to compare.
  • Contact (/contact/): intro, map, contact and newsletter forms.
  • Main menu: Projecten with the three theme pages, Alle projecten and Archief projecten underneath; Nieuws; Nieuws optie B; Over ons (/#wat-we-doen); Contact.
  • Desktop submenu and mobile menu styled to the Figma submenu, darker red on hover.

Single project

  • Built from the three content blocks above, so the template changes in one place for every project.
  • Content editor (and WPBakery) removed from projects; editors only fill fields. Popeye’s Long and Extra Description boxes hidden on projects (products keep them).
  • Fields on the edit screen, each with a description: Project intro, Project lead, Project question, Project description, In samenwerking met, Creatieperiode, Deelnemers, Project media.
  • An empty field hides its part of the page: the grey band needs lead, question or description; each detail column needs its field; the media block needs Project media.
  • Photo gallery: Uncode’s Media box, shown as a carousel with a white lightbox and red hover tint.
  • Project media replaces Uncode’s image-only secondary featured image box, so images, uploaded video and YouTube or Vimeo all work.
  • Labels under the intro link to Alle projecten filtered on that label, or to Archief projecten when the project is archived.
  • Previous and next project navigation, with arrows on tablet and mobile.

Project lists

  • Labels (portfolio_category), 16 options: film, grafiek, publieke ruimte, installatie, beeldende kunst, podiumkunsten, animatiefilm, architectuur, textiel, fotografie, multimedia, vormgeving, kinderen, jongeren, volwassenen, intergenerationeel. Used for the filter and card tags.
  • Partners (project_partner): sociale partners, cultuurpartners, onderwijspartners. Used for the filter and card tags.
  • Jaar (project_year): 2011 to 2026, ticked by hand; editors add new years. Used for the filter only.
  • Thema (project_theme): samenwerkingen en partners, experimenteren en innoveren, bouwen aan duurzame plekken, archief. Decides which pages a project shows on.
  • Old labels removed: sociale partner (moved to the Partners list), brugge, roeselare.
  • The lists have no pages of their own: their archive URLs return 404. They stay public because Uncode’s filter element only lists public taxonomies.
  • Card tags are plain text, not links; Jaar and Thema are kept off the cards. Partner types show before labels, as in Figma.
  • The Thema box has a note explaining Archief.

Project pages and archive

  • Alle projecten and Archief projecten each embed a grid content block: Projecten grid (112107) and Archief projecten grid (112149).
  • Each grid’s own Uncode query decides what it shows, editable in the builder: Alle projecten shows the three themes but not Archief; each theme page shows its theme but not Archief; Archief projecten shows Archief only.
  • Archiving is manual: tick Archief in the Thema box. There are no date-based rules.
  • Safety fix in snippet 16: Uncode’s query builder drops terms with no projects, which would make an empty theme or Archief show every project. Empty terms are kept, so an empty page shows nothing.
  • Cards: image, partner and label tags, title, Project intro (first 160 characters), Ontdek project. Hover: red image tint, title and link in red.
  • Red < mark behind the second row’s right-hand card on desktop.

Filters

  • Uncode Ajax filters (no extra plugin), set up in the content block Projecten filters (112145), shared by both grid pages.
  • Three filters: Jaar, Labels, Partners. Multiple selection on, combined as OR within a filter and narrowing between filters. Only options used by that page’s projects are listed.
  • Results load in place, without a page reload; the URL updates to a shareable query string, for example /projecten/?tax_portfolio_category=jongeren. Back and forward work.
  • Applied filters show as removable chips with Alles wissen, centred between the filters and the grid.
  • Desktop: each filter is a label on an underline that opens a list styled like the header submenu. One list is open at a time; clicking elsewhere closes it; the cards dim while results load.
  • Tablet and mobile: Uncode’s Toon filters button opens a side panel with all lists open, Sluiten, Alles wissen and Toepassen (the site’s red outline button).
  • Uncode’s fixed labels translated to Dutch: Clear all, Apply, Close.

Nieuws

  • News rows from Uncode’s posts module: Featured Media as a large and a small image, title, date, text, Lees meer.
  • Posts are written in three fields (content editor removed): Nieuws subkop, Nieuws intro, Nieuws meer tekst (revealed by Lees meer). Each field has a description.
  • Lees meer / Lees minder toggles the extra text in place (snippet 15).

URLs removed or redirected

  • Single news posts return 404.
  • Post category, tag, date and author archives return 404.
  • Archive URLs for Labels, Partners, Jaar and Thema return 404 (/project_cat/, /project_partner/, /project_jaar/, /project_thema/).
  • /project/ (Uncode’s portfolio archive) redirects 301 to /projecten/, set in SmartCrawl Redirects.
  • Single projects keep their URLs: /project/name/.

Home, contact and general

  • Over ons scrolls smoothly to the Wat we doen section on Home, from any page, and marks the menu item active.
  • Home feature rows: both columns are set up as links (URLs still to fill in), with the red hover across the row.
  • Contact: Google map (Uncode map element), contact form and newsletter strip (Forminator forms 112046 and 112047); footer newsletter form 111844.
  • Tablet and mobile: the first content on every page sits 36px under the logo; layouts reviewed per page.
  • WooCommerce deactivated (not used, no products or orders). It was about half of the plugins’ load time on every page.
  • SmartCrawl sitemap lists only pages and projects; the Partners, Jaar and Thema sitemaps are switched off.

Open before go-live

  • Google Maps API key returns an invalid key error; it needs a key restricted to the live domain. Map pin or Batterie logo marker still to agree.
  • Site title is CALYPSO (Settings > General); it should be De Batterie.
  • Search engine visibility is off on Local; switch it on for the live site.
  • Choose Nieuws or Nieuws optie B for Tablet and Mobile layout. Then remove the other from the menu.
  • Replace test content: projects’ years, themes, partners and placeholder images; intro copy on the two new theme pages.
  • Delete this page before go-live.

Privacy Preference Center