wp theme enable
Overview
In a Multisite network, themes must be enabled for a specific site or "Network Enabled" globally before they can be activated. This command handles enabling themes for individual sites.
Basic Usage
Enable a theme for a site
wp theme enable twentytwentyfour --url=sub.example.com
Enable and activate in one go
wp theme enable astra --url=sub.example.com --activate
Multi-site Context
This command only has an effect if you are running a WordPress Multisite network.
Next Steps
wp theme disable— revoke theme access for a site.wp theme activate— activate after enabling.