Support » Themes and Templates » how to convert an xhtml document into a theme?

  • Hello,
    I am a designer and i designed a psd layout for a website in photoshop. Then i coded it in xhtml and css. Now, i want to turn it into a php driven theme and i was wondering if there r any tutorials around to help me.

    Plz reply

Viewing 2 replies - 1 through 2 (of 2 total)
  • I don’t know if there is a tutorial, but having done this myself, I can say that it can be done, but it’s work.

    In essence, you’ll have to copy pieces of your template into the various “pieces” of the theme (for example, header, footer, sidebar), while ensuring that the WordPress codes are in the right places, since those are what pulls the data from the database.

    I’d do this:
    – set up a WordPress blog
    – copy one of the themes that comes with WP
    – edit the styles.css file to add your info at the top
    – upload it
    – log into WP and select that theme

    and work on that. It’s work, but it’s also kind of fun, and you’ll learn a lot from doing it.

    This might give you a starting point:

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to convert an xhtml document into a theme?’ is closed to new replies.