cancel
Showing results for 
Search instead for 
Did you mean: 

remove unused themes

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

remove unused themes

Hello,

 

how can I check, which themes are not used?

I have in Themes:

Magento Blank Magento/blank
Magento LumaMagento BlankMagento/luma
Smartwave PortoMagento BlankSmartwave/porto
Smartwave Porto RTLSmartwave PortoSmartwave/porto_rtl
bigone_defaultMagento Blankbigone/bigone_default
bigone2bigone_defaultbigone/bigone2
bigone3bigone_defaultbigone/bigone3
bigone4bigone_defaultbigone/bigone4

 

As far I see in Design Configuration, bigone4 is used:

Default Website Store Store View Theme Name Action
Global
 
 
 
Magento Luma
 
Global
Main Website
 
 
Magento Luma
 
Global
Main Website
Main Website Store
Default Store View
bigone4
 
 
Because when I generate the static content, it takes a long time, because he made it for all and I want to delete old not used datas.
 
Can I delete?:
Magento Luma
Smartwave Porto
Smartwave Porto RTL
bigone2
bigone3
 
Or could it be, that some pages, sites or what ever are referencing to this themes?
 
Thank you!
 
 
 
 
1 REPLY 1

Re: remove unused themes

It can be easily done by following steps

 

1. Remove the theme folder from app/design/frontend/<Vendor>/.
2. Clear the content of var/view_preprocessed/
3. Clear the content of pub/static/frontend/
4. Open the Magento’s database, go to the theme table then search and delete the theme row.
5. Clear the cache with php bin/magento cache:flush.