I want to display the “latest x posts”, like you see per default on the index-page, but on a completely different site. E.g. /blog/
Installing WP into the directory /blog/
is not an option, as the other pages will be managed with WP.
Currently I’m using the NuRelm Get Posts
plugin to get the content of the latest 10 posts, but the styling is really hard to recreate with it.
So, is there any simple solution to use the “Show latest posts” on other sites?
Edit: I’m using the twentyten
theme as basis
You could insert the plugin’s shortcode into another page, by following the directions here.
http://wordpress.org/extend/plugins/nurelm-get-posts/
Alternatively if you don’t necessarily need the plugin and simply want to create a page that displays posts, follow the example given here on the codex.
http://codex.wordpress.org/Pages#A_Page_of_Posts
Scribu, +1 .. as that’s essentially what you were suggesting to.
Unless you plan to display the recent posts in an iframe, you will have to deal with the styling no matter how you get them.
My question is why can’t you make /blog a page within the same WP install, but with a custom template? I.e., what kaiser said.
a) Create a template file
b) Copy the content of your index.php
c) Add the content from index.php to your new template
d) Load it up to your server
e) Create a new page and add your new template as template
f) on admin settings page choose your new page as static front page
Should work as expected.