Copying Styles from Dev to Production
-
I have a WordPress site on my local development machine that’s essentially the same as the version that’s live in production. But, I’ve made a bunch of changes in dev to Twenty Twenty-Four styles such as changing the font selection, header sizes, padding/margins, line spacing, etc.
What’s the easiest way to deploy just those changes from the development site to the live version (without manually re-applying them one at a time on the live site)? The plugins I’ve found for exporting don’t seem to do that.
It looks like this information is stored in the
wp_posts
table wherepost_type='CustomStyles'
. Could I copy the latest record’spost_content
field from my dev environment & paste it into the equivalent record on the live site (say, via phpMyAdmin), or add a newer record, or is that just asking for trouble?Thanks!
- The topic ‘Copying Styles from Dev to Production’ is closed to new replies.