Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJonathan Seligsohn
23,116 PointsConvert dynamic PHP site to WordPress Site
Any suggestions as to how I would go about converting a dynamic PHP site (not WP, obviously) into a WordPress site? Does it make sense to start with the PHP files from the source code and add in WordPress functionality, or maybe it's just easier to pull the outputted HTML, treat it like a static html site, and then convert it over to WordPress?
Has anyone done something like this?
2 Answers
Brandon Kidd
18,141 PointsGenerally you will want to start with the Wordpress core templates and Codex. Adding in PHP from another site will generally act independently otherwise.
Depending on what the original site does, you could probably start with copying over most of the styling and then sourcing components that work with WordPress and that have the same desired functionality as the original site.
Overall migrating platforms is generally a rebuild process rather than an integration process.
Zac Gordon
Treehouse Guest TeacherAgreed that you may want to start with a base template, get the basic functionality first then look to implement your custom PHP into it at the end.
Jonathan Seligsohn
23,116 PointsThanks. I'll do just that!
Jonathan Seligsohn
23,116 PointsJonathan Seligsohn
23,116 PointsThanks for the advice.