Pulling posts into static site (wordpress as subdirectory)
There are several ways to do it: SQL query to the wp database Using a Restfull API plugin: https://wordpress.org/plugins/json-api/ you will get the json of the posts. Using the RSS Feed (check this tutorial http://code.tutsplus.com/articles/how-to-read-an-rss-feed-with-php-screencast–net-1272) To be very light you can cache the results will all options. You can grab the results and cache that … Read more