Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Joseph VanTine thebigtine

🏠
Working from home
View GitHub Profile
View gitignore-for-wordpress-theme
# ignore everything in the root except the "wp-content" directory.
/*
!wp-content/
# ignore everything in the "wp-content" directory, except:
# mu-plugins, plugins, and themes directories
wp-content/*
!wp-content/mu-plugins/
!wp-content/plugins/
!wp-content/themes/