Splash Page Help
-
I am trying to build a splash page for my blog. I can get everything working right. However, I would like to add sections that only show new posts from specific authors. In essence the splash page will describe the blog. Then it will briefly describe the authors with their 3 newest post topics in their bios. I know I will probably need the basic code:`<?
$news=$wpdb->get_results(“SELECTID
,post_title
FROM $wpdb->posts
WHEREpost_status
= \”publish\” ORDER BY ‘ID’ DESC LIMIT “.$how_many);
foreach($news as $np){
printf (”- %s
“, $np->ID,$np->post_title, $np->post_author);
}?>` repeated. However, where, and what code should I add to only include the post by that specific author?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Splash Page Help’ is closed to new replies.