Support » Fixing WordPress » Implement wordpress into a html page?

  • Resolved m.romaus

    (@mromaus)


    Hi everyone,
    I’m trying to implement latest news/blogs into a HTML page.
    I’m building a page for a friend and now they asked if I could get WordPress running on it.
    I have never used WordPress before and to be hones I have absolutely no idea where to start.
    As far as I can tell, I have installed it properly. I was able to post a text blog update.
    Now all I need to do is add the news feed to my index.html page. Is it possible?

Viewing 5 replies - 1 through 5 (of 5 total)
  • racer x

    (@racer-x-1)

    No that is not possible. HTML is not a dynamic language like PHP. The page needs to be PHP to perform these kinds of actions. There are lots of great tutorials on building themes for wordpress.

    I would suggest installing WordPress in a sub-folder, selecting a theme then linking to that from your html site.

    yoursite.com/blog/

    From that there are ways you can still get the latest posts into your “real” home page, but again, that would need to be php.

    Moderator kmessinger

    (@kmessinger)

    Actually years ago I used a wp feed into my html page with no problem. But not all browsers have built in readers (Chrome for example). I also opened wp with an iframe on my html site. Finally I realized that I could do anything I wanted with wp so I dumped html for php.

    The sub folder idea above is the way most do it. You can use css and have wp look like your html page.

    racer x

    (@racer-x-1)

    Oh, I forgot about iframes. Good point!

    m.romaus

    (@mromaus)

    Awesome thanks guys! I’ll consider setting up my wordpress blog to look like my home page but for now the iframe solution will do.

    m.romaus

    (@mromaus)

    sorry for the double post, just wanted to mark this as resolved 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Implement wordpress into a html page?’ is closed to new replies.