000
Loading
GuideWordPress or custom code
Guide

WordPress or custom code

Choosing · 3 min read · Michał ·

WordPress powers a large share of the web and is a good choice for many businesses. A site written in code, with a separate panel for editing content, is faster and cheaper to run, but not always necessary. We build both kinds, so we'll tell you straight when to choose which.

How they differ

WordPress is a ready-made system: the look is built from a theme and plugins, and content is edited in the same panel. Every visit to the site runs code on the server and queries the database.

A site written in code, e.g. in Astro or Next.js, is built for a specific project. You edit content in a separate panel such as Sanity, and the finished pages are prepared in advance and sent straight away, without being built on every visit.

Comparison

Speed

A site in code usually loads faster, because it doesn't drag along theme and plugin code. WordPress can be fast too, but it needs good hosting and discipline with plugins.

Security

A static site has no login panel on the same server and no database to attack. WordPress is secure if it's updated regularly.

Editing content

With both, you change copy, photos and prices yourself. In WordPress it's easier to add a new section on your own; on a site in code, new layouts are added by a developer.

Upkeep

WordPress needs regular updates to the core, the theme and plugins. A site in code rarely needs them, and hosting is often free.

Extending

WordPress has a plugin for almost everything. A site in code does exactly what it was designed to do, and new features get written in.

Available developers

A great many developers know WordPress. Astro, Next.js and Sanity are popular tools too, so the next developer can take over the site without trouble.

When to choose WordPress

When the site has lots of content you add often yourself: a blog, news, an extensive knowledge base. When you need a plugin that does something specific, e.g. advanced bookings or memberships, and it doesn't pay to write it from scratch. Or when you already have a WordPress site and a team that knows it well.

The condition: someone has to update WordPress and its plugins regularly. We break down what that costs in What it costs to run a website.

When to choose a site in code

When speed and first impressions count, e.g. for a business website that has to win a client over in a few seconds. When you want as few fixed costs and chores after launch as possible. When the design is unusual and you don't want to squeeze it into a theme's limits.

Most of our business websites and one-page sites are built in code, with a Sanity panel for editing content. We choose WordPress when a client needs its plugins or publishes a lot of content.

FAQ

Can I change the content myself on a site written in code?

Yes. You change copy, photos, prices and projects in the CMS panel, and we show you how at launch. New layouts and sections are added by a developer.

Is a site in code more expensive?

Usually a little at the start, because the design and code are built from scratch. In the years after it often works out cheaper, because you don't pay for plugins, hosting is sometimes free and there are fewer updates.

Can I move my site from WordPress to code?

Yes. We move the content, set up redirects from the old addresses and connect a new editing panel. We explain how to do it without losing Google rankings in When is it worth rebuilding an old website?.

Read next

Let's priceyour project