Support » Themes and Templates » Blog feed on the homepage

  • HI I have a small blogfeed on the homepage but at the moment it is not linking to the blog stories. The website is

    And the code is `<h3>Our latest posts</h3>
    $args = array( ‘posts_per_page’ => 3, ‘order’=> ‘ASC’, ‘orderby’ => ‘modified’ );
    $postslist = get_posts( $args );
    foreach ( $postslist as $post ) :
    setup_postdata( $post ); ?>
    <h5><a href=” get_post()”><?php the_title(); ?></a></h5>

    <?php the_excerpt(); ?>

    Does anyone know what I need to change the link to so that it links to the blog story?

Viewing 1 replies (of 1 total)
  • Is there anyone out there that can help me with this? Cant seem to find it on google.

    Many thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Blog feed on the homepage’ is closed to new replies.