Wordpress Themes and PHP

Discussion in 'WordPress' started by traderjphx, Jun 12, 2008.

  1. #1
    Hello all,

    I want to add a blog to my existing website. I noticed that most themes are in PHP. Is that necessary? I would like for the blog to have the same look and feel of my main website which is written in HTML and CSS.

    I guess my other questions is, can I create a theme with only HTML and CSS?

    Thanks.
     
    traderjphx, Jun 12, 2008 IP
  2. ahmadfarhan

    ahmadfarhan Peon

    Messages:
    211
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ahmadfarhan, Jun 12, 2008 IP
  3. susan8051

    susan8051 Peon

    Messages:
    1,358
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i don't think that is easy(it is possible but not so easy.. you will have to generate a new WP theme) .. but the reverse is possible for sure..If your html site has pages like page-1.html,page-2.html etc,then you can install wordpress on your rootdirectory and generate wordpress pages with permalinks page-1.html and page-2.html etc... You will have to copy the content of the original html pages into the wordpress editor and simply choose publish after using the appropriate permalink...Now if you delete the original html file the earlier link that is http://www.yoursite.com/page-1.html will show the contents of your earlier html page with the wordpress theme..hope this helps...
     
    susan8051, Jun 12, 2008 IP