How To Use The Duplicator WordPress Plugin With MAMP

So you’ve created an awesome looking WordPress website on the server with your hosting account and your wondering how the heck you can backup and restore your website on a different domain name or on your computer itself. The problem with backing up WordPress websites or moving them to a different location is that they use MySQL databases (interacting with the PHP code that WordPress runs on) so simply dragging and dropping files in an FTP program such as FileZilla won’t cut it. Backing up the database separately, on top of FTP, can be a daunting task so why not cut to the chase and show how it’s done with ease. MAMP is the number one WordPress Plugin for “cloning” and backing up then subsequently restoring a WordPress website. MAMP is for Mac user, WAMP is for Windows users. Check out the video Below or scroll down a bit to get the play by play on how to clone your website.

Step 1. Search for, download and install the “Duplicator” plugin in the backend of your WordPress website that you want to backup, clone or transfer.

2. Go into the Duplicator plugin and select “Package” then on the packages page select the ‘create new package’ icon in the center of the screen.

3. After selecting the new package icon, select “Create Package Set” in the pop-up window.

4. Once the package set has been create, click on the “Installer” and “Package Icons” to the right of the screen. This will download the two zip files we’ll need so make sure your computer doesn’t automatically unzip the files upon downloading them.

5. Now we can close our web browser with the WordPress website in need of backing up and open MAMP (also WAMP or your hosts server if it applies). Make sure the MySQL server is running, open up the “htdocs” folder in MAMP and create a fold with your website name then drop the two zip files into the folder.

6. Next we’ll go into our MAMP start page, PHPMyAdmin, then Databases and create a database (I’ll name it “database”). Go to “localhost:8888/database/installer.php and fill in the following information.

Duplicator MAMP server connection in installer

7. After selecting “Run Deployment”, on the following page select “Run Update”. At last, we can go to our local website at “localhost:8888/site”!

 

 

How to make a WordPress Child Theme



At some point, in the initial stages of getting to know how WordPress operates, most everyone must ponder how to create their very own theme to accomodate a website or blog.  Instead of learning how to write the complicated code that goes into the making of a theme, we can create our own customized WordPress themes, in a “Child Theme”, by simply using CSS or cascading style sheets.
CSS is used to format and alter the appearance of HTML, which every web page is based on.  With CSS, you can alter your websites color, style, text, dimensions, borders, spacing and the overall layout of a webpage.


To create your child theme you will need to do the following:

  • Download a free text editor, preferably Text Wrangler for Mac, Notepad++ for Windows and Geany for Linux users.
  • Create a new text document and save it as style.css.
  • Insert the following code into your document…

/* Theme Name: Twenty Twelve Child

ThemeURI: http://example.com/

Description: Child theme for the Twenty Twelve theme

Author: Your name here Author URI: http://example.com/about/

Template: twentytwelve Version: 0.1.0 */

@import url(“../twentytwelve/style.css”);

When using a WordPress theme other than the Twenty Twelve theme, you’ll need to change the “import url” folder to fi which ever theme it is your using accordingly. The information after the colons, describing your child theme, do not need to specify anything about the theme for it to work properly and as a matter of fact, you only need the “Theme Name” and “Template” filled out for it to function.

Now you can make your CSS changes and upload the child theme, or style.css file, to the “theme’s” folder in your WordPress directory using an FTP Client. To Find out how to use an FTP (file transfer protocol), such as FileZilla, check out this article.

To activate your child theme look to the backend of your WordPress website or blog, after uploading the style.css file to the appropriate fold, and it will show up along side other themes in appearance > themes.