First, Welcome!
I guess you use the file front-page.php
for displaying your homepage.
What you have to do, is add the following code into your front-page.php
:
<h2>Recent Posts</h2>
<ul>
<?php
$args = array( 'numberposts' => '5' );
$recent_posts = wp_get_recent_posts( $args );
foreach( $recent_posts as $recent ){
echo '<li><a href="' . get_permalink($recent["ID"]) . '" title="Look '.esc_attr($recent["post_title"]).'" >' . $recent["post_title"].'</a> </li> ';
}
?>
</ul>
More information about wp_get_recent_posts()
can be found here.
Your template file will look something like the following:
<div id="main">
<div class="new_post">
...
</div>
</div>
You could try putting this code into <div id="main">
right before the closing tag </div>
:
<div id="main">
<div class="new_post">
...
</div>
<h2>Recent Posts</h2>
<ul>
<?php
$args = array( 'numberposts' => '5' );
$recent_posts = wp_get_recent_posts( $args );
foreach( $recent_posts as $recent ){
echo '<li><a href="' . get_permalink($recent["ID"]) . '" title="Look '.esc_attr($recent["post_title"]).'" >' . $recent["post_title"].'</a> </li> ';
}
?>
</ul>
</div>