<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Baurice Ley</title>
    <description>The latest articles on DEV Community by Baurice Ley (@leyscore).</description>
    <link>https://dev.to/leyscore</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4280926%2Fe30c8878-2469-40a7-a559-752acc60653d.png</url>
      <title>DEV Community: Baurice Ley</title>
      <link>https://dev.to/leyscore</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/leyscore"/>
    <language>en</language>
    <item>
      <title>I built a visual editor for headless WordPress (free and open source)</title>
      <dc:creator>Baurice Ley</dc:creator>
      <pubDate>Thu, 03 Dec 2026 16:41:18 +0000</pubDate>
      <link>https://dev.to/leyscore/i-built-a-visual-editor-for-headless-wordpress-free-and-open-source-1eim</link>
      <guid>https://dev.to/leyscore/i-built-a-visual-editor-for-headless-wordpress-free-and-open-source-1eim</guid>
      <description>&lt;p&gt;At Pixelers, the web studio I run in France, we build most client sites with Next.js or Astro and use WordPress as the back office. Developers like it: the front end is fast, the code is ours, and WordPress stays on a subdomain nobody visits.&lt;/p&gt;

&lt;p&gt;Editors like it a lot less.&lt;/p&gt;

&lt;p&gt;In a classic WordPress site, you change a heading and you see the page. In a headless site, you fill in a form in wp-admin, save, wait for a build, open the site in another tab and look for your change. For a team that used to edit pages directly, that feels like a step back. And it usually ends with the agency getting emails like "can you change the text on the home page?".&lt;/p&gt;

&lt;h2&gt;
  
  
  What I wanted
&lt;/h2&gt;

&lt;p&gt;I wanted editors to keep WordPress, and to edit the real site, not a preview built with a theme that looks a bit like it. And I didn't want to give up the front end we chose, or rebuild everything with a page builder.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Leiho&lt;/strong&gt;, a WordPress plugin.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;The editor opens the real front end (Next.js, Astro, Nuxt, SvelteKit, React or plain HTML) inside wp-admin. They click a heading, an image or a button, change it in a side panel, and the page updates as they type. When it reads right, they publish.&lt;/p&gt;

&lt;p&gt;On the developer side, you mark what is editable. A small bridge script, which only loads inside the editor, links each element on the page to its field in WordPress. The design stays in your code.&lt;/p&gt;

&lt;p&gt;It reads the fields a site already has: ACF, ACF PRO, Secure Custom Fields or JetEngine. If you start from scratch, Leiho has its own content types. Nothing to migrate.&lt;/p&gt;

&lt;h2&gt;
  
  
  What came along the way
&lt;/h2&gt;

&lt;p&gt;Once editing worked, the rest of the headless setup kept getting in the way, so the plugin grew:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a content API that serves the whole site in one request, with generated TypeScript types&lt;/li&gt;
&lt;li&gt;publishing from wp-admin, through a build hook (Vercel, Netlify, Cloudflare Pages), GitHub Actions or Coolify&lt;/li&gt;
&lt;li&gt;field-level translations&lt;/li&gt;
&lt;li&gt;roles, with a simplified mode for editors who should only change text&lt;/li&gt;
&lt;li&gt;an MCP server, so coding agents can read and write content&lt;/li&gt;
&lt;li&gt;SEO for headless sites: schema.org data, llms.txt and a Markdown version of every page&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Free, and staying free
&lt;/h2&gt;

&lt;p&gt;Leiho is GPL and has no paid version: no seats, no usage limits. Your content stays in your own WordPress.&lt;/p&gt;

&lt;p&gt;You can try it in your browser, on a real WordPress with a demo site, without installing anything: &lt;a href="https://leiho.dev/try" rel="noopener noreferrer"&gt;https://leiho.dev/try&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The code is on GitHub: &lt;a href="https://github.com/pixelersagency/leiho" rel="noopener noreferrer"&gt;https://github.com/pixelersagency/leiho&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd really like to hear from people running headless WordPress: what breaks for your editors today, and what's missing for your stack?&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>wordpress</category>
      <category>opensource</category>
      <category>nextjs</category>
    </item>
  </channel>
</rss>
