How to display the current and parent category in WordPress
Need to show the category hierarchy in your theme? Learn how to get the current category and its parent using get_the_category() and get_category_parents().
A PHP application for a Dutch municipality, a water board or an agency does not get judged on features alone. The buyer’s information security officer asks how the code was made, how dependencies are tracked and what the application logs. I am Mariusz Szatkowski, a solo PHP developer who works at a distance. I build custom PHP applications and keep the evidence a security officer asks for. Whether an application meets the BIO is for the organisation and its auditors to decide.

Image by Michielverbeek, licence CC BY-SA 4.0, via Wikimedia Commons.
The Baseline Informatiebeveiliging Overheid is the Dutch government’s information security baseline. The BIO2 product page calls it the baseline standards framework for information security within all government layers, which it lists as the Rijk, gemeenten, provincies and waterschappen. The home page says it contains the minimum requirements and security measures for government and rests on the standards NEN-EN-ISO/IEC 27001 and 27002.
The current text is BIO2 v1.3, dated 9 January 2026 and published in the Staatscourant on 5 March 2026. Version 2.0 is announced for autumn 2027, with change proposals open until 31 January 2027.
The Cyberbeveiligingswet (Cbw) entered into force on 15 August 2026, according to a news item on bio-overheid.nl. The same item states:
The page does not say how each type of body is classified, so I do not claim it here. A supplier should ask the contracting organisation which regime applies, because the contract clauses follow from the answer.
The BIO text is organised around ISO 27002 controls. For development work, the Centrum Informatiebeveiliging en Privacybescherming (CIP) publishes a BIO Thema-uitwerking Applicatieontwikkeling, version 3.0 of May 2026, which incorporates BIO2 1.3. Two points set its weight:
The document is built from numbered objects. Those I read and that matter to a PHP supplier:
| Object | What it asks of the application or the supplier |
|---|---|
| B.04 Secure architecture | Principles such as security by design and by default, defence in depth and default deny, set and documented for all development |
| B.06 Privacy | A privacy impact assessment before design for processing likely to be high risk, with a process description |
| U.03 Code guideline | Reproducible program code: tools, licences, version control and documentation of design, environment, dependencies and external sources; code that is demonstrably created in a secure way |
| U.08 Application build | Documented standards and procedures for building code, review, and safeguards against unauthorised change of base code or software packages |
| U.13 Logging and monitoring | Logging and monitoring facilities in the application, with defined events, authorisation data, protected log data and a defined storage location |
The theme document also lists objects for acceptance tests, protection of test data and separation of development, test and production environments. I read their titles, not their full text, so I do not quote requirements from them.
None of the following is a BIO requirement in the words of the baseline. It is how I would produce the evidence the commented practice describes.
Reproducible code and dependencies. The U.03 list names tools, licences, version control and dependencies. In PHP, Composer holds most of that. The Composer documentation says that when a composer.lock file exists, install uses the exact versions from there instead of resolving them. The same page describes composer audit as auditing installed packages against dependency policies such as security advisories, and install --no-dev as skipping the packages listed in require-dev.
composer validate
composer audit
composer install --no-devCommit the lock file, run the audit in the pipeline and keep the output with the release record.
Logging. The U.13 object asks that the events to log are defined, that authorisation information is recorded, that log data is protected and that the storage location is fixed. A short logging specification in the repository answers each of those four points. For production error output, the php.net manual says display_errors should never be used on production systems and advises logging in place of displaying, so errors go to a log and not to the visitor.
Documented design. B.04 asks for principles that are set, documented and applied. A decision record in the repository stating default deny for routes, validation of input on the server and least-privilege database accounts gives the reviewer something to read.
Privacy. B.06 refers to a privacy impact assessment before design. Whether one is required is the controller’s decision, usually with its data protection officer. I take its outcome as a requirement for the build.
I did not obtain the full BIO2 v1.3 PDF. bio-overheid.nl blocked automated downloads, so the statements about the measures come from the product page, the news item and the CIP theme document. The ICO purchasing requirements for cybersecurity (ICO-Wizard) that bio-overheid.nl also publishes are not covered here either.
I need repository access and the contract or tender text that names the security requirements.
If you build or commission a PHP application for a Dutch government body, send the repository access, the buyer, the regime that applies and your deadline through the contact form. The first estimate you receive in writing carries no fee. Which regime applies and whether the result meets the baseline stay with the buyer and its security officer.
Examples of my work.
Technical implementation for a sole practitioner law firm in Wroclaw: WordPress migration, SSL certificate, mail server configuration, and pre-launch QA.
Case study of integrating a WooCommerce store with an automotive wholesaler's REST API: catalog, stock and price synchronisation in real time plus automatic margin logic.
A method-led case study of the WPPoland rebuild: Astro, Markdown/MDX content, six locales, technical SEO, structured data, AEO/GEO and content quality gates.
Describe your project by e-mail. I reply within 24 hours.
Describe your projectNeed to show the category hierarchy in your theme? Learn how to get the current category and its parent using get_the_category() and get_category_parents().
Need to get the URL of the first image or link in an article? Prefer DOMDocument over regex. Ready-made WordPress PHP for developers.
On 1 December 2026 Taylor Otwell shipped the Laravel Rust beta, and Laravel Go followed a day later. What the framework contains, what the 18x benchmark really measures, what happens to Laravel PHP and WordPress, and when a rewrite makes sense.
Custom WordPress engineering and architecture.
Scalable headless, ERP, and AI architecture for enterprise.
Stores, checkout flow, and sales logic.
Stability, updates, and post-launch support.
What the monthly care fee covers and what changes it.
Business process automation around WordPress and company systems.
Headless WordPress, Sanity, Strapi, and Contentful with Astro or Next.js.
Astro, MDX, edge delivery, and Core Web Vitals measured on real traffic.

How to start as a WordPress developer in 2026. Local environment, theme and plugin development, REST API and headless paths, security and Core Web Vitals. A practitioner playbook that does not waste your first month.

WordPress 7.0 with AI Client against Astro 7 with the Rust compiler and Vite 8. Speed, cost, SEO and security compared, plus the real bill for my own Astro 6 to 7 migration.

A detailed comparison table of EmDash CMS and WordPress across architecture, security, plugins, AI features, content model, hosting, and ecosystem maturity.