Hot answers tagged errors
It's just simple, same reply from Error in WP_update_post but in your case there is small change. Just use wp-load.php as include. No need to include post.php. Once the wp-load.php file is included, the entire wealth of WordPress functions is provided to you. For pull the recent post, you need to use wp_get_recent_posts() wordpress function which is from ...
Only top voted, non community-wiki answers of a minimum length are eligible