Im trying to add the 3 recent blog articles on my HTML/CSS front page from the /blog directory of my site. So far it works, but Im running into a problem; Whenever the excerpt limit is low on an article it wont show "continue reading". I was wondering if I can somehow change the excerpt limit through PHP on the front page.
Here is the current code PHP:
<div class="ro-section ro-padding-top">
<h3 class="ro-hr-heading">Our Latest Blog Articles</h3>
<div class="container">
<?php
include('blog/wp-load.php');
$args = array('showposts' => 6);
$the_query = new WP_Query( $args );
echo '<div class="row">';
if( $the_query->have_posts() ):
while ( $the_query->have_posts()) : $the_query->the_post();
echo '<div class="col-md-4">
<h4 class="ro-service-item-4">'.get_the_title().'</h4>
<a href="'.get_the_permalink().'">'.get_the_post_thumbnail().'</a>
'.get_the_excerpt($limit).'</p></div>';
endwhile;
endif;
echo '</div>';
wp_reset_query();
?>
</div>
</div>