Hi
How do I read all my post data into an array?
Here is my code:
<?php
define ("WP_USE_THEMES", false);
require ("wp-load.php");
require ("kath-functions.php");
$count_posts = wp_count_posts();
$total_published_posts = $count_posts->publish;
if ($total_published_posts > 0)
{
read title,post date, content into an array
}
else
{
print ("NO POSTS FOUND");
exit();
}
?>