• Hi.

    My site is categorized well,and on each category site it lists the title of a post,and a few rows of it,and if i want the actually read it i click on the title of the post and it show me the content of it at full length.
    BUT,on my home page,where all of the categories listed together,it sadly displays it at full length,so i must scroll down a lot,to read all of the post titles.

    How can i make it,that on the home page WP would list only the post titles,and a few rows of it,and not the full content??

    thanks for the answer!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Edit your theme’s index.php template file and replace <?php the_content();?> with <?php the_excerpt();?>.

    Thread Starter never_stop

    (@never_stop)

    Thank you!But one more thing!
    It works as well,but how can i add a little link,that says”more” and it takes me to the full post page?

    </section>
        <section class="entry">
          <?php the_post_thumbnail('thumbnail');
    			the_excerpt('More');?>
        </section>

    i thought that’ll be working but it doesnt want to :/

    Try something like:

    <section class="entry">
    <?php the_post_thumbnail('thumbnail');
    the_excerpt();?>
    <p class="more-link"><a href="<?php the_permalink();?>">More</a></p>
    </section>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Postlist on the Home page’ is closed to new replies.