• I’m trying to put my latest post onto my main page. My main page is in a different folder than wordpress is setup in. It is also done in html, and not php.

    I’ve seen the get_content() method, but I am unsure of how to implement it correctly. I have tried a few different methods, but nothing seems to work.

    I’d like to use it to get the latest post from my blog to my main page.

    Any help/thoughts would be great appreciated! Thank you!

Viewing 1 replies (of 1 total)
  • get_content() works only on php pages. It’s enough to rename your html page to .php and it might work (I haven’t tried this method, though)

Viewing 1 replies (of 1 total)
  • The topic ‘Putting newest post on html page’ is closed to new replies.