Forums

WordPress Home page question (3 posts)

  1. sebastian83
    Member
    Posted 3 years ago #

    Hello, I am starting a new website with wordpress and Im stuggling to modify it to show just one article on the front page but i dont know what I`m doing wrong: here is what I think I must modify
    <div id="wrapper">
    <div id="content">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post" id="hello-world.html">

    I tried like this but it still shows me the articles I post besides hello-world.html

    I guess i must modify the_post() too but I don`t know the syntax to use
    Some help please :)

  2. hotkee
    Member
    Posted 3 years ago #

    Just go to Settings->Reading in the Admin area and change "Blog pages show at most" to 1. That will do the trick.

  3. sebastian83
    Member
    Posted 3 years ago #

    thanx, I guess it was too easy to see!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.