A memo on how to copy only the WordPress blog template and add it to your portfolio.
Having a WordPress blog is good, but you want to show the web design of those blogs without revealing their content… isn’t this a common situation?
Also, when the current web design is not bad but you want to update to a new web design because you got a good idea or got bored, being able to back up the previous web design makes it easier to check, revert, or rollback quickly.
# Install WordPress in the current directory
. ~/lib/wp-install-here.sh
# Copy theme and plugin folders
cp -r ~/yuis-programming.com/public_html/wp-content/themes/* wp-content/themes/
cp -r ~/yuis-programming.com/public_html/wp-content/plugins/* wp-content/plugins/
# Activate the child theme
wp theme activate oceanwp-child-master
# Remove Google Analytics code, etc.
rmate wp-content/themes/oceanwp-child-master/header.php
Now you can easily show your portfolio.