Embedding last WP posts into HTML
# February 12, 2010 at 2:50 pm
It´s already late here so maybe I am just being stupid. Would be cool if you could help me with my problem.
I read this great tutorial: http://css-tricks.com/build-your-own-social-home/ and it worked out perfectly well with Twitter, however, I want to do the same with my latest WP posts. I know that WP does not have native JSON support, so I guess there has to be a way around. I bothered google for quite some time but couldn´t find anything that suits my needs.
To specify what exactly I want:
1) I want the last three blog post titles to appear in a div specifically created for that matter in my footer.
2) I want just the title, name of the poster, and date.
3) I want to be able to style title, poster and date seperately.
My site structure is similar to that page: http://nettuts.s3.amazonaws.com/472_appSite/index.html unfortunately this tutorial doesn´t show how to embed WP ;)
Would be cool if you could lend me hand with the code, or how you guys worked your way through it. Maybe it´s just damn simple, but you know how things are sometimes…you just don´t see it.
Thanks a lot
You must be logged in to reply to this topic.