how to convert an xhtml document into a theme? (3 posts)

  1. hasnain721
    Posted 8 years ago #

    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

  2. DianeV
    Posted 8 years ago #

    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.

  3. moshu
    Posted 8 years ago #

    This might give you a starting point:

Topic Closed

This topic has been closed to new replies.

About this Topic