Wordpress Plugin Creation won't create correctly

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

I create a prompt to build a wordpress plugin, it builds it, but when I go to load the file in Wordpress, it doesn’t work. Nothing works. I built the same thing with Gemini 3 and Claude. I came here thinking it would be even better, but Cursor couldn’t even make it off the ground. What gives?

Steps to Reproduce

Files created, but the loadable version of the files doesn’t work. It just can’t do it.

Expected Behavior

It doesn’t work.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Desktop version

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. I can see the screenshot. The No valid plugins were found message isn’t a Cursor issue, it’s a standard WordPress error for two reasons:

  1. The ZIP structure is wrong. WordPress expects this structure:
avada-ai-pro.zip
└── avada-ai-pro/         <- this folder is required
    ├── avada-ai-pro.php  <- main file
    └── ...

If your files are in the ZIP root with no folder, WordPress won’t detect them. Unzip it, put everything into an avada-ai-pro/ folder, then zip it again.

  1. The main .php file is missing a Plugin Header. At the very top of the file you need a comment like:
<?php
/**
 * Plugin Name: Avada AI Pro
 * Description: ...
 * Version: 1.0.0
 * Author: ...
 */

Without that block, WordPress won’t treat the file as a plugin.

Open the main PHP file and check both. If the header is there, it’s the ZIP structure. You can also tell the agent in CLI: fix the plugin structure, main php file needs a valid WordPress Plugin Header, and the zip must contain a folder with the plugin slug.