Converting a static HTML template into a WP theme – How do I specify page content?

So, this is how it works:

  1. Create HTML template.
  2. Add sample content to your template(from page backend) while converting HTML to WP theme.
  3. Ater finalising your WP theme, export all the WordPress backend content (sample data from WP backend) into the XML file and provide that XML files to your client if they want to get the same look and feel as you have shown it into your sample site.
  4. Write a documentation on how to change content/style/look of a part of your WP theme.
  5. Handle the cases explicitly where there is no data coming from WP backend (i.e. user hasn’t imported your XML file into their site).

Note: Get a template from some site and try installing it. Raed their documentation, you will get a fair idea of the process.