Quantcast
Channel: How can I include Wordpress posts in a custom PHP file? - Stack Overflow
Browsing latest articles
Browse All 6 View Live

Answer by Nicolò Martini for How can I include Wordpress posts in a custom...

Take a look to Integrating WordPress with your WebsiteThis is an example from that page, that shows the first ten posts in alphabetical...

View Article


Answer by Omry Yadan for How can I include Wordpress posts in a custom PHP file?

you can include wp-config.php, which will pull in the rest of the API. then you will be able to use wp functions like function get_post($postID)

View Article


Answer by mamoo for How can I include Wordpress posts in a custom PHP file?

You can create a "clean" template, which you can apply to 'summary' page (this page must be a wordpress page too). You can find an example here:...

View Article

Answer by thecoshman for How can I include Wordpress posts in a custom PHP file?

I think you have answered your self their. The RSS feed will give you the content of your latest posts.With not much work you can just pull out the data you need

View Article

Answer by Yes - that Jake. for How can I include Wordpress posts in a custom...

Probably the easiest and most elegant way to do this is to create a custom theme to live on summary.php. The WP library exposes a number of functions for easy output of articles.

View Article


How can I include Wordpress posts in a custom PHP file?

This is what i want to do:I want /summary.php to include 5 latest posts (only the extract) from my blog, which lives in /wp.Is there any way to include Wordpress in /summary.php and only print the html...

View Article
Browsing latest articles
Browse All 6 View Live