Este plugin não foi testado com as 3 atualizações principais mais recentes do WordPress. Pode ser que não tenha mais manutenção ou suporte e talvez tenha problemas de compatibilidade quando usado com versões mais recentes do WordPress.

TailPress – Tailwind for WordPress


Tailwind CSS is a great companion to building block based sites in WordPress. Unfortunately, it’s been pretty complicated to add Tailwind CSS to WordPress since it needs to be compiled with Node.js in order to be production ready.

This plugin takes care of that by adding Tailwind CSS to WordPress in one easy step (activate the plugin) and at the same time takes care of performance and caching so your site remains fast and production ready!

Who It’s For

This is primarily for developers and users that are familiar with Tailwind CSS and comfortable styling their site using their utility class framework.

It’s also for those who have struggled to add Tailwind to their workflow without having to constantly compile their CSS every time the classes in their page content changes.

How it Works

  • Extracts classes from pages and compiles them server-side into Tailwind CSS
  • Caches the dynamically generated CSS to avoid performance issues on the frontend of your production site.

Are you affiliated with the theme?

No, we are not! Unfortunately the same name was used for both out of coincidence, but we are not affiliated and are two different solutions. is a great starting point for developing custom themes with deep integration of Tailwind. I would recommend it for any developer that wants to build a custom theme that depends heavily on Tailwind.

Tailpress, this plugin, adds Tailwind support to any project as an add-on. It can be used as much or as little as you need, added to custom themes or pre-existing ones.

Can this be used in production?

Yes! Although the styles in the backend get generated on the fly, the CSS on the frontend gets cached for every page. Changing any classes on the page will bust the cache automatically so it’ll still stay up to date with any changes.

Can this be used outside the block editor?

Yes! This will work anywhere on the backend or front end of your site that uses classes to style things.

Known Issues

Device Preview Mode in Block Editor

The non-desktop preview modes in the block editor utilize an iframe and don’t load assets properly. Therefore your Tailwind styles won’t be visible here.

Page Caching

If you have any page caching on your site, you’ll have to clear your cache for the best experience.


This section describes how to install the plugin and get it working.

  1. Upload tailpress to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Simply add classes anywhere you would like in your pages, for example under the “Additional CSS class(es)” of any of your blocks.
  4. That’s it! It should just work.

Optionally configure your version of Tailwind under Settings > TailPress.


17 janeiro, 2024
I tried several complicated ways to use tailwind with wp themes without node.js on the server. This plugin works and makes it incredibly easy. With the nice addition of also getting tw in the block editor. I have had some problems with classes not being recognized, but that seems to be solved by the cache cleaning button in the tailpress settings. This is also where you can edit the tailwind config, i found out, which was a bit confusing having to write json instead of js, and the invalid json just being erased on saving without any explanation. Would be nice to be told more explicitely that this is where the config is located, how to write it in json, maybe some example(s) of what/how you can write, and an informative error message of sorts when not writing valid json, instead of just having it erased. But i figured it out, and i’m very happy with the plugin.
13 outubro, 2023
HI! How can i add this example:@tailwind base; @tailwind components; @tailwind utilities; @layer base { h1 { @apply text-2xl; } h2 { @apply text-xl; }}
6 dezembro, 2022
Indispensable plugin if you want to easily integrate Tailwind css with your site’s development. THANK YOU!
Leia todas as 12 avaliações

Colaboradores e desenvolvedores

“TailPress – Tailwind for WordPress” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.


“TailPress – Tailwind for WordPress” foi traduzido para 2 localizações. Agradecemos aos tradutores por suas contribuições.

Traduzir “TailPress – Tailwind for WordPress” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações


  • Removed Hashing from Twind config
  • Better autoload with DIR


  • Compatibility with PHP 7.0


  • Fixed syntax error in Twind init
  • Upgraded Twind CDN library to 1.0.8


  • Added a cleanup plugin data option
  • Better JSON editor
  • Clear the cache when config is updated.


  • Updated Twind script not to include presets


  • Fixed trailing comma in function for better PHP support


  • Added a clear cache button.
  • Use a remote service for compiling CSS.
  • Added disclaimer about


  • Added a settings page to configure Tailwind.


  • Fixed interferance in admin panel


  • Fixed buffer notice


  • First version.