WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Implement wordpress into a html page? (6 posts)

  1. m.romaus
    Member
    Posted 1 year ago #

    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?

  2. racer x
    Member
    Posted 1 year ago #

    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.

  3. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

    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.

  4. racer x
    Member
    Posted 1 year ago #

    Oh, I forgot about iframes. Good point!

  5. m.romaus
    Member
    Posted 1 year ago #

    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.

  6. m.romaus
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic