SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2009
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    html template to wordpress theme/template

    i have a few html templates i want to convert so i can use them on wordpress. how do you do this?

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Take the common elements that appear at the top of the page, save them as header.php.

    Take the common elements that appear at the bottom of the page, save them as footer.php.

    Take the rest of the template, save it as index.php.

    Then look at another WordPress theme and copy/paste the bit of code that outputs the posts, and the little bits that output the page title and such, replacing the static text in your template.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •