• I would like to show, only the_excerpt() – with a number of lets say four – on my front-page where I’ve set up my own customized template. I’ve start digging around the post template tags and such but I can’t seem to actually get the post there.

    I get a post with no content, just a heading saying my front-page name and the time and date for that.

    Anyone might know the issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • It sounds like you need multiple loops – one for the front-page, and another for the posts.

    See the section titled ‘Mullet Loop’ here.

    you can customize the appearance of your frontpage(usually the index.php of your theme), you can put the loop

    <?php if(have_posts());?>
    <?php while(have_posts()); the_post();?>
    // The Stuff... Custom HTML & PHP Code - title - time - date
    <?php the_excerpt() ?>
    <?php else;?>
    <?php endif;?>

    i implemented it on this site

    Thread Starter seiomon01

    (@seiomon01)

    Fixed it. Cheers

    OK. Please mark topic Resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Showing a list of posts on my static-front-page!’ is closed to new replies.