Classic PHP Themes

Scanning classes inside files

For classic themes, we use a slightly different approach. We combine this with the file scanner, so every class written inside PHP class attributes will be detected, scanned, and compiled.

Image

Learn more about File Scanner

TailwindCSS Autocomplete in Visual Studio

The main improvement is the hook used to save the input.css. Once you save input.css inside the root of your theme folder, you can use Tailwind IntelliSense to get autocomplete directly inside your visual builder.

You can add snippet inside functions.php

<?php

// Save Winden files to theme root
add_filter('winden_input_file_path', 'winden_theme_path');


function winden_theme_path($path) {
    return get_stylesheet_directory() . '/' . basename($path);
}

Learn more about Winden Hooks

And input.css will be saved inside theme root

Image

TailwindCSS IntelliSense Visual Studio extension

You can download it from official visual studio marketplace

https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss

Final Result

We will get autocomplete from our Style tab and Wizard @theme values.

Screenshot 2025 12 04 at 20.16.50
Screenshot 2025 12 04 at 20.17.08