@@ -12,21 +12,21 @@ echo ""
1212
1313echo " Checking for hello-elementor theme specifically:"
1414if [ -d " /var/www/html/wp-content/themes/hello-elementor" ]; then
15- echo " ✅ hello-elementor directory found"
15+ echo " hello-elementor directory found"
1616 echo " Contents:"
17- ls -la /var/www/html/wp-content/themes/hello-elementor/ | head -10
17+ ls -la /var/www/html/wp-content/themes/hello-elementor/
1818 echo " "
1919
2020 echo " Checking for style.css:"
2121 if [ -f " /var/www/html/wp-content/themes/hello-elementor/style.css" ]; then
22- echo " ✅ style.css found"
22+ echo " style.css found"
2323 echo " Theme header:"
24- head -10 /var/www/html/wp-content/themes/hello-elementor/style.css
24+ head -10 /var/www/html/wp-content/themes/hello-elementor/style.css || true
2525 else
26- echo " ❌ style.css missing"
26+ echo " style.css missing"
2727 fi
2828else
29- echo " ❌ hello-elementor directory not found"
29+ echo " hello-elementor directory not found"
3030 echo " Available theme directories:"
3131 ls -la /var/www/html/wp-content/themes/
3232fi
@@ -39,13 +39,13 @@ echo ""
3939
4040echo " Attempting to activate hello-theme theme..."
4141wp theme activate hello-theme || {
42- echo " ❌ Failed to activate hello-theme, trying hello-elementor..."
42+ echo " Failed to activate hello-theme, trying hello-elementor..."
4343 wp theme activate hello-elementor || {
44- echo " ❌ Both activation attempts failed. Final theme list:"
44+ echo " Both activation attempts failed. Final theme list:"
4545 wp theme list
46- echo " ❌ Available theme directories in WordPress:"
46+ echo " Available theme directories in WordPress:"
4747 ls -la /var/www/html/wp-content/themes/
48- echo " ❌ Theme activation completely failed"
48+ echo " Theme activation completely failed"
4949 exit 1
5050 }
5151}
0 commit comments