2 ms·
Not really. If you're not running a test site, put the theme and custom plugins inside another folder and commit that to Git or SVN. If you are running a test
by CM30 11y ago
Not really. If you're not running a test site, put the theme and custom plugins inside another folder and commit that to Git or SVN. If you are running a test site, oommit the wp-content folder, with the uploads directory and any third party code set as ignored.
And the way I suggest is also what a lot of WordPress experts suggest, as seen here:
http://justintadlock.com/archives/2013/09/14/why-custom-post-types-belong-in-plugins http://justintadlock.com/archives/2013/09/14/why-custom-post...
http://www.wpbeginner.com/opinion/wordpress-custom-post-types-debate-functions-php-or-plugins/ http://www.wpbeginner.com/opinion/wordpress-custom-post-type...
https://www.smashingmagazine.com/2012/11/complete-guide-custom-post-types/ https://www.smashingmagazine.com/2012/11/complete-guide-cust...