/ Published in: PHP
Create an own query to WordPress for your own templates (i.e. Smarty)
Expand |
Embed | Plain Text
function outputExcerpts() { $result_list = mysql_query("SELECT * FROM wp_posts WHERE post_type='post' AND post_status='publish' ORDER BY post_date DESC"); do { $listExcerpts[] = $myrow_list; } return $listExcerpts; }
You need to login to post a comment.
