wp theme path
Overview
Quickly find where a theme is stored on the server. Useful for navigating the terminal, setting up file watchers, or debugging path-related issues.
Basic Usage
Get the general themes directory
wp theme path
# /var/www/html/wp-content/themes
Get path for a specific theme
wp theme path twentytwentyfour
# /var/www/html/wp-content/themes/twentytwentyfour
Navigate to the active theme (Bash shortcut)
cd $(wp theme path $(wp theme list --status=active --field=name))
Next Steps
wp theme get— includes path + metadata.