Skip to content
Custom fields for WordPress that are quick to build and quick to load. Get Pro

Five things custom field plugins keep getting wrong

Custom field plugins are useful, and most are well made. But the same five problems come back on almost every project. Here they are, and what we did about each one.

By the UglyDev team18 November 20266 min read

Five common problems And how we approached each one

Illustration for: Five things custom field plugins keep getting wrong

In short

  • Most custom field plugins are useful; the same five problems of friction keep coming back.
  • Fields that live only in the database cannot be reviewed or deployed like code.
  • Long queries, block toolchains, manual escaping and hidden loop cursors are all fixable.
  • A good tool makes the right way the short way.

This is not a list of why other tools are bad. Most custom field plugins are useful and well made, and many sites run on them happily. Custom field plugins are also where the same five frictions appear again and again. It is a list of the five problems that come back on almost every project we look at, and the reason UglyFields exists is that we wanted to answer each of them.

1. The fields live only in the database

A field group saved only as database rows cannot be reviewed, diffed or deployed like code. Moving it means exporting, importing and hoping. Every team ends up with a ritual: “did you sync the fields?”

What we did: every group is a JSON file in your theme, and the screen and the file stay the same thing. A change becomes a diff in a pull request. The workflow.

2. Queries grow into walls of arrays

The first meta_query is fine. The tenth, with three nested relations and a comparison type you must remember, is where bugs hide. The code is correct and nobody wants to touch it.

What we did: ugly_find() takes the fields as they are and reads like a sentence, and returns a normal WP_Query. 26 lines became five.

3. Custom blocks need a toolchain

A block that prints a quote should not need Node, a bundler and React. The machinery is out of proportion to the job, and it puts the block out of reach of anyone who writes PHP templates.

What we did: a block is a folder with a block.json and a PHP file. Its fields open in a drawer. How it works.

4. The safe way is the long way

When printing a field needs a function for the value and another for the escaping, people skip the second one. Security that depends on remembering is security that sometimes fails.

What we did: ugly_show() escapes for the type of the field. The short way is also the safe way.

5. Rows are hidden cursors

Loops that depend on a hidden global cursor break when you pass a row to a template part, or put one loop inside another. They are hard to test and surprising to read.

What we did: a row is a variable. You pass it, return it, and loop inside a loop without thinking. The comparison with the ACF way shows the difference.

What these have in common

None of the five is a feature that is missing. They are all about friction: places where doing the right thing takes more steps than doing the quick thing. Good tools make the right way the short way. That is the standard we try to hold ourselves to, and it is also how you can judge any plugin, ours included: try it on a real project and count the steps.

What each problem costs in real time

It is easy to wave these off as small. Add them up across a year and a team. A fields ritual before every deploy costs a few minutes each time and a bad afternoon when it is skipped. A query nobody wants to touch becomes a feature nobody wants to change. A block toolchain means one person on the team owns blocks, and everyone else waits for them. Output that must be escaped by hand will, sooner or later, be shipped unescaped by someone in a hurry.

None of this is dramatic. It is the slow tax of tools whose defaults are one step longer than they need to be.

A quick audit you can do in ten minutes

Take the project you know best and answer these honestly:

  1. Where is the truth? If the field groups vanished from the database tonight, could you rebuild them from the repository?
  2. How long is your longest query? If you cannot read it aloud, someone will get it wrong.
  3. What does a new block cost? Count the tools and commands between an idea and a block on a page.
  4. How do you print a field? If the safe way takes extra work, count how many templates take the short way.
  5. Can you pass a row to a template part? If it needs a global cursor, it is a risk.

If the answers worry you, you do not need a new plugin to start improving: commit your field groups as files, wrap your longest query in a function with a clear name, and review your escaping in one pass. If you want a tool that does these for you by default, UglyFields is free to try.

How to choose a custom fields plugin

If you are comparing options, here is a short framework that works for any plugin, not only ours. Score each point from zero to two on a real project.

QuestionWhat a good answer looks like
Where do definitions live?In files you can commit, or at least export in a readable format.
Where do values live?In standard WordPress storage you can read without the plugin.
How long are your queries?Short enough to read aloud.
What does a new block cost?A folder and a template, not a build tool.
Is the safe way the short way?Printing a field is one call, and it is safe by default.
What does the editor see?A clear screen, with required fields and help text.
How do you leave?Your content stays; your definitions are readable.

Add up the scores. A tool that scores well on most is a good bet even if it lacks a feature you wanted. A tool that scores poorly will cost you time every week, whatever it can do.

Why these problems persist

It is worth asking why the same frictions are still there after years. The honest answer is that they are not bugs; they are the result of decisions that made sense when the tools began. Fields lived in the database because that was the easy way to build an admin screen. Queries used arrays because that is how WordPress asked for them. Blocks needed React because the editor was built with React. Each decision was reasonable. The result is a stack of small costs.

Changing them is possible, but it needs a willingness to break habits. The point of UglyFields is not to be cleverer; it is to start from a different set of defaults, and to keep each default honest.

What you can do today, whatever you use

  • Export your field groups and commit them, even if your plugin does not require it.
  • Move your longest query into a function with a name that says what it does.
  • Write a short checklist for adding a block, so it stops depending on one person.
  • Do one pass over your templates to check how each field is printed.

These steps cost an afternoon and make your next project easier, with or without a new plugin. If you want a tool built around them, try UglyFields.

Questions people ask

Are other custom field plugins bad?

No. Most are useful and well made. These are friction points we kept seeing, and we designed UglyFields to answer them.

Why do field groups need to be files?

Because files go into Git, show up in pull requests and deploy like the rest of your code.

Does ugly_show escape the output?

Yes, it escapes according to the type of the field, so the short way is also the safe way.

Can I judge the plugin myself?

Yes. The free plugin has no time limit and works on unlimited sites.

How can I check if my custom fields setup has these problems?

Answer five questions: where the truth lives (database or repository), how long your longest query is, what a new block costs, how you escape output, and whether a row can be passed to a template part.

How do I choose a custom fields plugin?

Score it on a real project: where definitions and values live, how long your queries are, what a new block costs, whether the safe way is the short way, what the editor sees and how you leave.

Why do these problems persist?

They come from reasonable early decisions (fields in the database, arrays for queries, React for blocks) that add up to many small costs.

Ready to try it?

Download the free plugin, build your first group in a few minutes and keep it in your theme. No time limit, no sign-up.

Download it freeSee Pro

Next article Stop writing meta_query: find posts by their fields in five lines

Free and Pro

Start free. Upgrade when you grow.

No sign-up, no time limit, and nothing locks you in.
Put it on a site and see how it feels.

The UglyFields mark: a U made of blocks, with the orange one about to fit