WordPress Blog Template Copy Portfolio

How to Copy Only the WordPress Blog Template and Add It to Your Portfolio

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... Also, when updating to a new web design, it's good to be able to back up the previous web design...

Shou Arisaka
1 min read
Oct 25, 2025

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

codex - How to copy an existing (custom themed) site to a new domain - WordPress Development Stack Exchange

Now you can easily show your portfolio.

Share this article

Shou Arisaka Oct 25, 2025

🔗 Copy Links