# Beginner WP export/import problem

**URL:** <https://forum.pinegrow.com/t/beginner-wp-export-import-problem/3629>\
**Category:** Pinegrow WP\
**Created:** [December 19, 2019, 2:58pm UTC](https://forum.pinegrow.com/t/beginner-wp-export-import-problem/3629 "2019-12-19T14:58:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BeyondBeta](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@BeyondBeta](https://forum.pinegrow.com/u/BeyondBeta)\
**Post date:** [December 19, 2019, 2:58pm UTC](https://forum.pinegrow.com/t/beginner-wp-export-import-problem/3629/1 "2019-12-19T14:58:34Z")

</div>

Hi,

I’m trying to convert my static html website into a WP theme. This is my first venture into WP theme development and I’m falling at the first hurdle… exporting.

So far I have the following pages in my static site that i’ve renamed as per the [this example - Part 1](https://pinegrow.com/docs/wordpress/courses-tutorials/html-to-wordpress-theme-with-pinegrow-wp/):

home.html (my front page, no posts to be displayed, but would like a widget with links to my blog posts in my footer) --\> home.php  
blog.html (my blog main page which has my posts, the most recent first and then a extract subsequent post with an image and link) --\> index.php  
about.html --\> page.php  
single.html --\> single.php

I’ve got the following settings for each page:

 ![single-php](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/c/c6d49e2d9ad101fc47a165811edd86ba72b73425.png)  
 ![page-php](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/9/9fe15fc0d5fb0407db1bfd748531ef4cb47fa2de.png)  
 ![index-php](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/0/08780d947e9fb85bb1fa61627aa36869df949921.png)  
 ![home-php](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/5/5c5199aab07bc25e73b3c57f1c9be0faeaf06993.png)

I have set up a local build of WP on my mac and have it running using MAMP. I’ve activated the theme at wp-content/themes/my-theme-name

 ![Active Theme](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/2/2864fff994ac551b88cc238005604d0422b1edf0.jpeg)

and have uploaded a copy of my files into a ./dev/ folder like in the video above.

When i export from PG i get no warnings, however, when I try and import my posts from my WP instance, (there are three)

 ![Posts](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/6/6dacae094723cf615a5fdaef0826dfee64e346cf.png)

I get this:

 ![Import Error Help](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/5/5f067ba4d9106885b5ab396e213e3816fb439fa2.png)

When I export the theme and try to view it in my browser by pressing ‘Visit Site’ in wordpress I get this:

 ![page-php-preview](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/8/88c5719ee835573aa25edae4cd83b51eb7c4c34c.png)  
 ![page-php-in-PG](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/6/65f084a3c41d4c490efae2076a5e06d3b13246c2.jpeg)

So in summary, I have exported the theme and WP seems to identify this, along with my screenshot for the theme icon in Appearances/Themes, my page structure seems to be visible to some extent (blue background and nav bar showing etc, but my dynamic content is not being inserted into the theme and I cannot import any of my pages back into PG.

Can anyone suggest something which might be going wrong please?

Thanks

Al

---

<div class="post-metadata">

**Author:** ![BeyondBeta](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@BeyondBeta](https://forum.pinegrow.com/u/BeyondBeta)\
**Post date:** [December 19, 2019, 3:46pm UTC](https://forum.pinegrow.com/t/beginner-wp-export-import-problem/3629/2 "2019-12-19T15:46:56Z")

</div>

EDIT:

Having watched part 2 of the video I’ve updated my preview urls to be http//:localhost:8888/ removing the page name as in the original post.
