Title: Creating Static Front Page Error
Last modified: August 18, 2016

---

# Creating Static Front Page Error

 *  [garionw](https://wordpress.org/support/users/garionw/)
 * (@garionw)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/creating-static-front-page-error/)
 * Hello, I hope this hasn’t been asked before, if it has please accept my apology’s
   and point me in the right direction.
 * I would like to have the last five blog posts displayed on my homepage (gwplus.
   net) I was using [ This Guide](http://codex.wordpress.org/Creating_a_Static_Front_Page#Adding_a_Mini-Loop)
   and when ever I open the page, I get this error:
 * >  1. get_results(“SELECT `ID`,`post_title` FROM $wpdb->posts WHERE `post_status`
   > = \”publish\” ORDER BY ‘ID’ DESC LIMIT “.$how_many); foreach($news as $np){
   > print (“ID); print (“\”>$np->post_title
   >  “); } ?>
 * Could anyone please tell me where the problem is and how I can fix it

Viewing 1 replies (of 1 total)

 *  [Nicki Faulk](https://wordpress.org/support/users/nitallica/)
 * (@nitallica)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/creating-static-front-page-error/#post-477208)
 * I had trouble getting that to work for me, but have had great success from Denis
   de Bernardy’s [Static Front Page plugin](http://www.semiologic.com/software/static-front/).

Viewing 1 replies (of 1 total)

The topic ‘Creating Static Front Page Error’ is closed to new replies.

## Tags

 * [front page](https://wordpress.org/support/topic-tag/front-page/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Nicki Faulk](https://wordpress.org/support/users/nitallica/)
 * Last activity: [19 years, 6 months ago](https://wordpress.org/support/topic/creating-static-front-page-error/#post-477208)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
