views:

40

answers:

2

I have a WordPress installation on my site, and I want to display WP posts on other parts of my site (that is outside the WP installation). How do I do that with PHP?

I tried to search this type of question on Stack Overflow, Google and WP official site but I didn't find anything.

+1  A: 

Include the wp-blog-header.php from your WP installation. Then you have access to all WordPress functions and the database.

toscho